Question
Custom Parser Order Issue
Hello,
I have tested the below event and the related parser and it's working fine but after applying the changes the log event still parsed by the SyslogNGParser.
<!-- <187>Feb 10 15:00:21 CCServer failed login attempt for Dan from 192.168.0.1 --> <eventFormatRecognizer><![CDATA[CCServer]]></eventFormatRecognizer> <parsingInstructions> <collectFieldsByRegex src="$_rawmsg"> <regex> <![CDATA[<:gPatSyslogPRI><:gPatMon>\s+<:gPatDay>\s+<:gPatTime>\s+<:gPatStr>\s+<_body:gPatMesgBody>]]> </regex> </collectFieldsByRegex> <collectFieldsByRegex src="$_body"> <regex> <![CDATA[failed login attempt for <user:gPatStr> from <srcIpAddr:gPatIpV4Dot>]]> </regex> </collectFieldsByRegex> <setEventAttribute attr="eventType"> Login-Failure </setEventAttribute> <setEventAttribute attr="eventSeverity"> 5 </setEventAttribute> <!-- This is the End --> </parsingInstructions>d
