Error when DATESTAMP pattern is used to parse the log_timestamp

The timestamp looks like "2017-02-06 04:01:12,757" and the pattern I chose is %{DATESTAMP:timestamp}.

But when the parsing occurs , the timestamp is converted as 0017-02-06T10:42:24.923Z and it is causing issues while creating timestamp based indexing "logstash-0017.02.06"

Can anyone assist me in identifying the correct pattern or am I using it wrong?


I solved it . I tried TIMESTAMP_ISO8601 and worked well.


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