logstash won't parse date field; date field parsed as string...
I'm trying to parse my date field using logstash date filter
but with no success...
looks like it is not override the @timestamp field and also when using other target field it is written as a string field and not a date field.
date {
match => [ "time" , "ISO8601"] #target => "parsed_date" # when using this the "parsed_date" field creates as type of string
}
}
and my log line (fired by filebeat) looks something like this:
{ "time":"2017-06-20T16:22:24.4233978Z","id":"025c4c1c65","type":"Error","message":"some message" }
when looking in logstash logs there is no errors at all relating to this plugin.
also there is nothing in the tag of the indexed document telling there was a parsing error or something like that.
am I missing something ?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.