I have date and time as separate fields in my input file. Date as 2019-08-28 ("yyyy-MM-dd"). Time as 09:33:05.579476547 (HH:mm:ss.SSSSSSSSZ). I want to merge the date and time for every record and create a timestamp field which will be the @timestamp for the ES index to be indexed upon.
I use below mutate but getting a dateparsefailure.
How can I format the ts to "yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ" format?
Also, I would like to keep both ts, that is @timestamp & new_timestamp which is created from file. But when I use below mutate, I can see both the fields having value from file.
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.