Geopoint type fields cannot be created correctly

Hi all,
my goal is to create a table and then load it by logstash, the geopoint field is the only one that doesn't want to be created correctly, do you have any idea?

The error says that there is an unexpected double quote somewhere in hour mapping.

Please share the entire mapping that you are trying to apply.

1 Like

You can try this if you don't care about mailformed data.

PUT index_name
  "mappings": {
    "properties": {
      "location": {
        "type": "geo_point",
        "ignore_malformed": true,
        "null_value": null
1 Like

I don't think this is related to the issue, the issue happens while applying the mapping, not while indexing any data.

you are right I added all the fields outside properties which improved this problem

when I wanted to load my data in this index I had this issue in logstash
[2022-08-12T15:32:46,494][WARN ][logstash.outputs.elasticsearch][main][0e560fd24a554024b309b56e2ff7b28899ea9009a5593689ff3e6a089eec150c] Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>"1673", :_index=>"es", :routing=>nil},

This is another issue, you should open another question and share the entire log, not just part of it.

Obviously i wanted to share but i cannot open a new topic
Capture d’écran 2022-08-12 155739

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