Geo Point configuration

Hi, I want to upload a CSV file into Elasticsearch which has been attached.

dataset

The config file is:

However, nothing is uploaded with no error.

Would you please guide me?

Please don't post pictures of text, they are difficult to read and some people may not be even able to see them.

I found the solution. In fact, I had to add the following template to the Elasticsearch via Kibana's Dev Tools section.

PUT _template/geo_template
{
"template": "XXXX",
"mappings": {
"logs" : {
"properties" : {
"location" : {
"type" : "geo_point"
}
}
}
}
}
where "XXXX" is the name of index in the config file.

There is also no need to the line No. 17 and it should be deleted.

Yeah, Elasticsearch doesn't automap geo stuff natively unfortunately.

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