Adjusting the module outputs to proper work again and
to provide the required information for the Event module.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
my $action = $logfile_parsers{$file}->(@message);
# Return which action should be performed.
- return $action;
+ return "count $action";
}
#
# XXX
# Currently this parser just returns a simple message.
- return "snort_parser_return\n";
+ return "$message[0] SNORT A simple Snort Message";
}
1;
if ($optarg) {
# The message is valid, return the event and
# the optional argument.
- return "$supported_commands{$command} $optarg";
+ return "$supported_commands{$command} $optarg Socket User-requested action.";
} else {
# Only return the event for the recieved command.
return "$supported_commands{$command}";