Converting date to TIMESTAMP_ISO8601 format


I'm actually receiving logs with timestamp to this format :
Mon Feb 1 13:29:48 2021

From Telegraf who's parsing the log with this Grok pattern :


I want logstash to change the format to the TIMESTAMP_ISO8601 format known as:


I know the timezone info is missing but i want to add a constant value of it.

So my questions are how could I change this format and how could I add this fixed timezone ?

Thanks for your answers

You can try with date filter plugin. I think your problem can be resolved.

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