Hello,
i try to parse my log and get these values looks like
interfaces => PP/0/P1/CPU0
timestamp => 2016-05-03 19:37:08.879
message => mp[1051]: %ROUTING-MP-5-INIT_PEER_UP_DOWN : MP peer down: 1.2.3.4 : received socket disconnect notification
syslog input, as follows:
"message" => "<189>26739314: PP/0/P1/CPU0:May 3 19:37:08.879 : mp[1051]: %ROUTING-MP-5-INIT_PEER_UP_DOWN : MP peer down: 1.2.3.4 : received socket disconnect notification \n",
with this config file:
filter
{
grok {
match => {"message" => "{<%{POSINT:syslog_pri}>%{NUMBER:id}:%{SYSLOGBASE:interface}:%
{SYSLOGTIMESTAMP:syslog_timestamp}:%{GREEDYDATA:syslog_message}"} }
}
However, I am getting a grok prase failure, I am not sure what the problem is. cant seem to pin point the pattern that is causing the problem. Any thoughts/comments would be appreciated.