Hello!
I would like to know how could I chage the timestamp in my logs, I'm receiving logs with a previous timestamp included and I would like to put this value as the timestamp.
For example>
"2014/09/22 14:20:08.799 [old_tags_app] [ANT]"
Inside the log message appears the timestamp I want to use in my database. In this case last year 22-09.
The problem is that I have been changing the configuration in the filter with "date{...} " but I always obtain a dateparsefailure. and the "@timestamp" in Kibana with the value of time of the arrival instead of the value inside the message.
"date" is the Tag where it's stored the information of the date I want to use for the timestamp with the format I have specified in the pattern file.
I have noticed that the poblem is in Kibana, it appears at January 22nd 2014, 14:20:08.799 when I send 2014/09/22 14:20:08.799 [old_logs_app].... How could it be?
"date" is the Tag where it's stored the information of the date I want to use for the timestamp with the format I have specified in the pattern file.
Yes, but what's the contents of the field for an example line of input? Before debugging the date filter's configuration, let's make sure the input is correct.
I have noticed that the poblem is in Kibana, it appears at January 22nd 2014, 14:20:08.799 when I send 2014/09/22 14:20:08.799 [old_logs_app].... How could it be?
Oh. Your date pattern is YYYY/MM/DD but is should be YYYY/MM/dd.
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.