Re: GeoIP data in access_log Nginx

2015-07-28 Thread Jugurtha
Hello Maxim, Thanks for the reply, you are the best ;) I would like to add the GeoIP data into my log access to facilitate processing in Kibana (ELK stack) Maybe is not the good way because i know it possible to do this with LogStash (GeoIP Filter), and this would reduce pressure Nginx (what do y

Re: GeoIP data in access_log Nginx

2015-07-27 Thread Maxim Dounin
Hello! On Mon, Jul 27, 2015 at 05:10:22AM -0400, Jugurtha wrote: > Hello World, > > I would like to know if is possible to put GeoIP data (country for exemple) > in my log access (nginx) > I enabled the GeoIP module in my nginx (configure) and i would like to use > the "$geoip_country_name" and

GeoIP data in access_log Nginx

2015-07-27 Thread Jugurtha
Hello World, I would like to know if is possible to put GeoIP data (country for exemple) in my log access (nginx) I enabled the GeoIP module in my nginx (configure) and i would like to use the "$geoip_country_name" and "$geoip_city" in my accesslog I tried to add the two variables in my log format