Hi,
I want to know how can I change the format of @timestamp while exporting from elasticsearch to csv via logstash. In Kibana I have kept the format as "Feb-03-2021 20:03:04.603" using advance settings. I want same format in csv as well. I have kept following filter in logstash which is unfortunately not working.
filter {
date {
match => [ "@timestamp", "MMM-dd-yyyy HH:mm:ss.SSS" ]
}
}
Currently I am getting date as "2021-02-03T12:30:00.315Z" in csv.
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.