Clies
Clies

Reputation: 23

Is there a Grok pattern at logstash for following Dateformat? Wed Apr 01 23:29:47.834 2020

Hy, I have following time-format: Wed Apr 01 23:29:47.834 2020 I don´t get it, how to handle this with grok in logstash. I really hope, someone could help me.

Upvotes: 0

Views: 98

Answers (1)

Saurabh Vajpayee
Saurabh Vajpayee

Reputation: 121

According to logstash patterns documentation here you can use HTTPDERROR_DATE. The other option could be %{DAY} %{MONTH} %{MONTHDAY} %{TIME} %{YEAR}

I tried with online grok pattern matcher and both works for me.

Pattern supplied for test: Wed Apr 01 23:29:47.834 2020

Upvotes: 3

Related Questions