Proper timestamp parsing

Hi Guys,

I have a message with timestamp 2019-10-25T10:39:44.079331-04:00. I want to use grok filter and match that time, so later on can transfer to other format.
What will be the best filter for match such timestamp.

Thanks,

You can use Logstash Date filter to parse the timestamp. Check the match format options. By default target will be @timestamp, you can configure "target" to store the parsed timestamp into a different field.

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