Is there a grok pattern to extract the timestamp and date out of this string.
21:11:51:569/UTC(11/5/2015)
?
I am able to use the grok patterns DATE_US and TIME separately. But not together (ie)
The below patterns work.
%{TIME:time} -- 21:11:51:569/UTC
%{DATE_US:date} -- (11/5/2015)
However the complete string 21:11:51:569/UTC(11/5/2015) is not evaluating with %{TIME:time}|%{DATE_US:date}
I think you asked about 6 questions; we'll see if I get them all...
So, with all that, try:
%{TIME:time}/%{TZ:tz}\(%{DATE_US:date}\)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With