Code: Select all
user : TTY=pts/0 ; PWD=/home/cxxx ; USER=root ; COMMAND=/usr/bin/crontab -lCan you tell me why this would be producing a grokparsefailure? I have tripled checked the field name. I tested the grok filter on the grok debugger website and it works there fine. Could the syslog pattern that is processing this event be causing this to happen?
Filter:
Code: Select all
if [program] == 'sudo' {
grok {
match => [ 'message', '{%WORD:netid} %{GREEDYDATA:message}' ]
}
}Here is the AssetCore filter that I created the above off of.
Code: Select all
if [program] == 'AssetCore' {
grok {
match => [ 'message', '%{DATESTAMP:timestamp} %{WORD:sub_process} *%{WORD:error_code} %{GREEDYDATA:message}' ]
overwrite => [ "message" ]
}
}