Change default date format via Logstash to store in ES

I have some data being ingested via Logstash where a specific date field is stored as below in ES:
"MyDate": "2018-01-17T10:11:59.982Z

I would like to store this date in ES , as a date field in format as follows:
"MyDate": "2018/01/17 10:11:59.982"

Is it possible to do this, in a away that it will be recognized as a date field?

You can format that field accordingly in Logstash and define a custom date format for that field in ElasticSearch.

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