Geo location based on API request

I am trying to monitor traffic in Kong by plotting the API request count with respective status code. Now I am looking for a way where I can find out the location (city/country) from where the request was made. I read about the ngx_http_geoip_module provided by nginx and am wondering if Kong provides anything similar.
Please let me know if finding the geo location (city/country) is possible through Kong logs or enabling any plugin.

Any updates will help.

Kong doesn’t provide anything like this AFAIK.
You can probably log the IP address to your logging system and then use geo lookup feature of your logging/metrics system.

Thanks for the confirmation.

Hi @nehaShar, this looks like a good use case for an API analytics platform like Moesif. Were you able to solve this already?


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ