Modify date format

Hi ,

Is there any way to modify date format on logstash filter file.

I am using the current once

date {
match => [ "submit_time_unix", "UNIX" ]
target => "submit_time_unix"

and the o/p is "June 22nd 2016, 01:54:30.000" and but I want it should be "2016-06-22"

"June 22nd 2016, 01:54:30.000" is how Kibana formats it, and I believe that format is configurable. If you look at the actual document contents you'll see that it's ISO8601.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.