So my grok is working great, but my index is not creating new fields as I would expect (new field as in 'entryDateTime', 'user', and 'event').
First off, here is the data in my log file:
2016-03-09T16:22:39-06:00|dpich|Logged In 2016-03-09T16:22:42-06:00|dpich|Logged Out 2016-03-09T16:22:45-06:00|dpich|Logged In 2016-03-09T16:25:14-06:00|snorheim|Logged In 2016-03-09T16:25:59-06:00|lguck|Logged In 2016-03-09T16:26:29-06:00|wjensen|Logged In 2016-03-09T16:29:27-06:00|jbarnard|Logged In
It is getting into ELK/ES just fine. However it is not creating a new field.
Here is my filter:
' else if [logFormat] == "masterauthlog" { # Master Authentication Logs
grok {
match => ["message","%{TIMESTAMP_ISO8601:entryDateTime}\|%{WORD:user}\|%{GREEDYDATA:event}"]
}
}'
I for the life of me can't figure out why it's not creating new fields for this delimited data.