# Enabling geographic data for my apache logs

**URL:** <https://discuss.elastic.co/t/enabling-geographic-data-for-my-apache-logs/21443>\
**Category:** Elasticsearch\
**Created:** [December 31, 2014, 6:48pm UTC](https://discuss.elastic.co/t/enabling-geographic-data-for-my-apache-logs/21443 "2014-12-31T18:48:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vic\_Sawhney](https://avatars.discourse-cdn.com/v4/letter/v/b5a626/32.png) [@Vic\_Sawhney](https://discuss.elastic.co/u/Vic_Sawhney)\
**Post date:** [December 31, 2014, 6:48pm UTC](https://discuss.elastic.co/t/enabling-geographic-data-for-my-apache-logs/21443/1 "2014-12-31T18:48:26Z")

</div>

Hi, i need some help in getting geographically  
information(country,city,state) from the apache logs which I am sending  
from my server to elasticsearch via fluentd. I am alsousing kibana for  
visualization of the data.

My apache logs provide me the ip address but I want to translate that to a  
location (country, state,city) for that I have found the following database  
[https://db-ip.com/db/](https://db-ip.com/db/) the data needs to be loaded to mysql and I want to  
make a call to join this data. So my question is how can i make joins to a  
mysql lookup table to pull more detail about the apache ip address details  
and translate those into geographical markers. Ideally I want visualize  
this in some way in kibana on a map as well. Any help would be much  
appreciated.  
Cheers,  
Vic

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/ee3bcc72-3b73-4c03-8183-4a54d228985f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ee3bcc72-3b73-4c03-8183-4a54d228985f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:41am UTC](https://discuss.elastic.co/t/enabling-geographic-data-for-my-apache-logs/21443/2 "2017-07-06T00:41:21Z")

</div>

Closed on July 6, 2017, 12:41am UTC


