djfab
(Donald Fabozzi)
July 12, 2018, 5:40pm
1
I'm trying to parse 180711T221704.507399z into @timestamp with
date {
match => ["log_time","yyMMddHHmmss.SSSSSS"]
}
but keep getting "dateparsefailure".
I've tried "ISO8601", adding the T, z, and a everything short of breaking it up. Appreciate suggestions.
Have you tried yyMMddHHmmss.SSSSSS'z'
(yes, with single quotes around the "z")?
Badger
July 12, 2018, 5:57pm
4
djfab:
180711T221704.507399z
date { match => [ "message", "yyMMdd'T'HHmmss.SSSSSS'z'" ] }
works for me.
1 Like
djfab
(Donald Fabozzi)
July 12, 2018, 6:03pm
5
giddeeup! yes this works.
system
(system)
Closed
August 9, 2018, 6:03pm
6
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.