From logstash i want to populate this field with custom timestamp obtained from input document. The custom time stamp is in millis and i have used the filter
date{
match => ["time_mills","UNIX_MS"]
target =>"@timestamp"
}
however during indexing it fails complaining the time format issue. Can you please help
The date filter always produces an ISO8601 timestamp that can't be stored in your @timestamp field.
If you already have the time in milliseconds in the time_millis field, why would you need a date filter? Just copy the field value to the @timestamp field.
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.