具有geoip变量的自定义NginX访问日志

时间:2018-07-27 03:46:21

标签: python nginx goaccess

我想使用nginx-access分析我的自定义goaccess日志。这是我正在使用的日志格式:

timed'$remote_addr,$time_local,$status,$body_bytes_sent,"$http_x_forwarded_for",$geoip_city,$geoip_city_continent_code,$geoip_city_country_code3,$geoip_latitude,$geoip_longitude,$geoip_region,'; (there's an extra , at the end!!)

如何更改goaccess.conf文件以解析此数据。 另外,是否有任何开放源代码日志分析器可以更好地与nginx自定义日志一起使用?

0 个答案:

没有答案