Could you please let me know if There is a way to convert the date which is coming as date time field (dd/MM/yyyy HH:MM:SS) to date field with 'dd/mm/yyyy' format.
Thank you very much A_B and Badger,
really appreciate the help.
i was able to extract the numbers but , could not find the option in date filter to set the format for target field. if i scan the field from date filter it again converts date in datetime format.
one more query
can we convert date from one timestamp to another for example UTC to GMT.
Ok..but while comparing dates in logstash , I will need to convert dates to some common timezone. and dates coming from source are on different timezones.
So two requirements
I you have a pattern in the events that allows you to check whether a particular format should apply then check for that pattern in the event. Otherwise use the same pattern.
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.