Date Format - Elastic index mapping - Please help

Hi, In my log, i have date value for a date field as : "dateOfTravel":"2020-07-14 11:49"

What should be the date format for the "dateofTravel" DataType when I set the mappings in the index. I have used below

"dateOfTravel" : {
                            "type" : "date",
			     "format": "yyyy-MM-dd HH:mm"

Is this correct ?

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