Hi, I have a challenge, in the log-file of mine, I have three dates and would like to define the 3rd one as the @timestamp that is reflected in the ES and Kibana searches. What filter can I apply for this as the date one does not work?
Here is a example of the log-file: Feb 29 03:15:26 172.29.58.134 804 <14>1 2016-02-29T03:15:30+02:00 10.10.10.12 1 - - - 2016-02-29T03:15:30.330+02:00 .........
Currently the imported date is the @timestamp for all the logs, I would like to get "2016-02-29T03:15:30.330+02:00 " as my timestamp
Thank you wiibaa and Christian_Dahlqvist for the feedback. I used both suggestions and it works now, thank you: date { locale => "en" match => ["Date3", "yyyy-MM-dd HH:mm:ss.SSSZZ", "ISO8601"] timezone => "Africa/Windhoek" target => "@timestamp" add_field => { "debug" => "timestampMatched"} }
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.