Skip to content

Commit

Permalink
Add KV and JSON detection to the benchmark script for flame graphs on…
Browse files Browse the repository at this point in the history
… those parts
  • Loading branch information
reyjrar committed Apr 22, 2023
1 parent c722707 commit e41c588
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions profile/01-minimal.pl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
use warnings;
use Parse::Syslog::Line;
use Time::HiRes qw(gettimeofday tv_interval);
$Parse::Sylsog::Line::AutoDetectKV = 1;
$Parse::Sylsog::Line::AutoDetectJSON = 1;

my @msgs = (
q|<11>Jan 1 00:00:00 mainfw snort[32640]: [1:1893:4] SNMP missing community string attempt [Classification: Misc Attack] [Priority: 2]: {UDP} 1.2.3.4:23210 -> 5.6.7.8:161|,
Expand Down

0 comments on commit e41c588

Please sign in to comment.