I have a dataset with multiple date formats. if I use this filter:
grok {
match => [
"message",
"(?%{YEAR:year}-%{MONTHNUM:month}-%{MONTHDAY:day}T%{TIME:time})%{SPACE}%{GREEDYDATA:text}"
]
}
I get my own variable created for one set of date formats. Now I need to add in a second date format. I don't understand enough about the above syntax to know how to (or if I can) modify that syntax to have it create the p3timestamp variable for me.
And in case you are wondering, I found an example of the above syntax someplace on the web and modified it for my use. It works nicely.
Help/advice is greatly appreciated.