]> git.ipfire.org Git - thirdparty/snort3.git/commit
Pull request #3843: profiler: add json formatter
authorOleksii Shumeiko -X (oshumeik - SOFTSERVE INC at Cisco) <oshumeik@cisco.com>
Wed, 17 May 2023 09:04:50 +0000 (09:04 +0000)
committerOleksii Shumeiko -X (oshumeik - SOFTSERVE INC at Cisco) <oshumeik@cisco.com>
Wed, 17 May 2023 09:04:50 +0000 (09:04 +0000)
commite36570339b5ccade7eaa37362bde076baa810c1b
treedd61a3f9e6ff8f349e6bf4d84e8a92ccf48db2e7
parent3731bff580ebadde22bf682acf83ce02367f9e89
Pull request #3843: profiler: add json formatter

Merge in SNORT/snort3 from ~ANOROKH/snort3:add_json_formatter to master

Squashed commit of the following:

commit 94832c6e4e72b9a95e644288b349eacf0560f056
Author: Anna Norokh <anorokh@cisco.com>
Date:   Wed May 3 16:55:55 2023 +0300

    profiler: add json formatter
    * separated table output;
    * added json formatter;
    * added output argument to rule_dump() command;
    * added function to put termination to json output in json_stream class;
12 files changed:
src/helpers/json_stream.cc
src/helpers/json_stream.h
src/profiler/CMakeLists.txt
src/profiler/json_view.cc [new file with mode: 0644]
src/profiler/json_view.h [new file with mode: 0644]
src/profiler/profiler_module.cc
src/profiler/profiler_module.h
src/profiler/rule_profiler.cc
src/profiler/rule_profiler.h
src/profiler/rule_profiler_defs.h
src/profiler/table_view.cc [new file with mode: 0644]
src/profiler/table_view.h [new file with mode: 0644]