Hello,
If i have a custom field & value like country.name: Italy
how do I go about using this field to make a geo map?
I have read there's a geoIP processor but thats for public ips only, I am looking for using the current value.
Thanks,
Erik
Hello,
If i have a custom field & value like country.name: Italy
how do I go about using this field to make a geo map?
I have read there's a geoIP processor but thats for public ips only, I am looking for using the current value.
Thanks,
Erik
If you have the iso code, you can join easily that code with maps.
Have a look at step3:
I see, is there another way? perhaps a lookup index?
The best thing to do is to have that as a value within the JSON document.
May be you can do that as well? Map custom regions with reverse geocoding | Elastic Docs
© 2020. All Rights Reserved - Elasticsearch
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.