I am not able to get the geo_point indexed in the records
The field gets converted with correct latitude and longitude fields
storing it to location field also gets added successfully
Also create a mapping template as below:
Still facing the issue.
Now i am getting the location field as "string".
The problem is there are documents which are not parsed if the field do not have the latitude or longitude
Event though mentioning the "location" field as float in the filter config applied.
Also tried placing the ignore_malformed in places in the mapping.
Still no luck.
I believe i tried that already , well that might be the issue, i have to check when i am back to work.
Also will that index the geo_point location field? Since i did get the geo_point field but couldn't get that indexed.
During this struggle i removed the template above and tried to use the default logstash template named "elasticsearch-template_es5x.json"
Will that also not bring the correct mapping because of the reason you mentioned about "directive not matching" have an effect on the data we index?
I believe i tried that already , well that might be the issue, i have to check that again
Also will that index the geo_point location field? Since i did get the geo_point field but couldn't get that indexed.
And what needs to be added in the configuration to make sure the records with no Lat/lon details are not dropped from the index?
After trying multiple mappings and configuration changes The location field gets to geo_point but remains unindexed.(missing events which do not have latitude or longitude)
Please help, I believe this is the last hurdle
Ok Now i am able to see the location field working!!!
WOW!!
Thanks for all the help Mark @warkolm
Also last thing, since this is an unindexed field, will i be able to apply filters to it?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.