How to convert timestamp in logstash

Hi,

I'm new for logstash. I have a "time" field which has a value "2017-06-13 08:08:18,647" . I need convert "time" field value as "2017-06-13 08:08:18"

Thanks in Advance

You can use a mutate filter's gsub option to remove the last three digits from the string.

Thanks..!

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