I'm new to Elasticsearch, so please be patient.
I didn't find a solution for my issue, so i thought I might try here.
I use a Logstash pipeline to parse my logs to Elasticsearch. My date format looks like this:
28/Mar/2017:07:21:08 +0200
It's parsable using the grok %{HTTPDATE:timestamp} pattern but it's then saved as a string in Elasticsearch, meaning it is not aggregatable and thus useless in my case.
How can i make Elasticsearch save it as a date?
I tried using a mapping, but i didn't find any method of parsing it with the written month (e.g "Jan", "Feb", "Mar"...)
I hope somebody can help me, thanks in advance.
Kindest regards
Matthias
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.