Change type character varying to date elasticsearch

hi ,
anyone know how to changed data from char to date,
i have inserted this code but she doesnt work .
"datecons" : {
"type" : "date"
"format": "yyyy-MM-dd HH:mm:ss.SSSSSS"

and my data like this:
Capture d’écran 2022-08-10 234004

The date format you specified doesn't match with the data date format.

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