Hi Guys, i am trying to sort my Suricata logs on pfsense, got it working but one issue i cant seperate Priority from the number and proto from the {}.. below is the sample log need your help.
The best i could come up with .. Grok Debugger
%{SYSLOG5424SD:evenID} %{CISCO_REASON:Suricata_Trigger} %{SYSLOG5424SD:Classification} %{SYSLOG5424SD}: %{NOTSPACE:service} %{NOTSPACE:proto} %{NOTSPACE:Destination_ip}:%{INT:destination_port} %{NOTSPACE} %{NOTSPACE:Source_ip}:%{INT:Source_port}
The issue is below, i cant seperate Priority and number.
%{SYSLOG5424SD}:
"[Priority: 3]"
how to separate Protocol from {}
"proto":
"{TCP}"
You mean you want proto to contain "TCP" instead of "{TCP}" and service to contain "3" instead of "[Priority: 3]"? To avoid misunderstandings an example of what you have and what you want to get would help.
Yes sir you are right, i want TCP without curly brasses {} and 3 instead of Priority : 3 ....
this is my suricata Log example from PFSense Firewall. i sorted out everything via grok filter but dont know how to remove brasses from protocol and Priority from the numeric number for example 3.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.