Can anyone recommend a good log analysis tool that is a good match for
nginx? I’d like something that is flexible, where I can tell it which
fields in the format are for which parts of the data (i.e. user agent is
field 6) etc. Thanks! Note that I am looking for a SERVER SIDE tool to
process the nginx logs (JavaScript based analytics tools will not work
for this particular application).
Rt,
If you are using Nginx with a standard Apache log format then
Webalizer might do. This is what the report looks like from the
author’s site: http://www.mrunix.net/webalizer/sample/index.html
Webalizer - Web Server Stats
Webalizer - Web Server Statistics @ Calomel.org
–
Calomel @ https://calomel.org
Open Source Research and Reference
On May 16, 2008, at 12:25 PM, Rt Ibmer wrote:
Can anyone recommend a good log analysis tool that is a good match
for nginx? I’d like something that is flexible, where I can tell it
which fields in the format are for which parts of the data (i.e.
user agent is field 6) etc. Thanks! Note that I am looking for a
SERVER SIDE tool to process the nginx logs (JavaScript based
analytics tools will not work for this particular application).
I’ve really liked AW Stats in the past
http://awstats.sourceforge.net/
You could also look into w3perl
http://www.w3perl.com/softs/
Please check Nginx
Error Log Reader (
http://gadelkareem.com/2012/07/01/nginx-error-log-reader/ ); a php
reader/parser/analyzer for Nginx error log
file. the script is able to read error logs recursively and display them
in a user friendly table. Script configuration includes the number of
bytes to read per page and allow pagination through the error log.
I know this is an old post, but you may try GoAccess; works great - free
and open source console based. It may output an HTML,JSON,CSV report
too.