Specify the type when making the config for the file

Hi,

For now, my json file has one attribute called "time" and I did not set the json filter in config file. I directly imported the data into elasticsearch. After that, I checked the mapping of the index I made for those data, it shows the type of "time" is "text" not "date" as I expected. I am wondering how to change the type of "time" from "text" to "date" when I am in the step of making the config?

{"time" : "2018-02-15 04:47:16.288 +0000"}

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