Logs analyzer

Matthieu Tourne matthieu.tourne at gmail.com
Thu May 17 18:47:20 UTC 2012


On Thu, May 17, 2012 at 10:37 AM, Daniel Carrillo <daniel.carrillo at gmail.com
> wrote:

> 2012/5/17 Tio Oscar <tioscar at gmail.com>:
> > 2012/5/17 Daniel Carrillo <daniel.carrillo at gmail.com>
> >>
> >> 2012/5/17 Tio Oscar <tioscar at gmail.com>:
> >> > Hi, other question he he.
> >> >
> >> > Need to analyze the nginx logs, wath tool (open and for Linux)
> >> > recommend?
> >> > (if is web based and make graphics better)
> >>
> >> Since logs are fully customizable you could use the "usual suspects":
> >> awstats, webalizer or others.
> >>
> >> Probably in these days the best option is real time analyzers, like
> >> google analytics, xiti, etc.
> >>
> >
> > Now is too late form change the log format (need parse recents logs. And
> i
> > need it for a webservice app. I can't integrate a web based service as
> > Google Analytics, etc.
> >
> > The only thing I really need is to calculate the requests according to
> the
> > time of day.
> >
> > Now I think that makes my own script.
>
> Sure, you could. But first check awstat it's also customizable in
> order to match your logs.
>
>
You could use the log_by_lua I just implemented :

https://github.com/mtourne/lua-nginx-module#log_by_lua

It basically lets you aggregate data in the lua exposed shared memory
segments, and query them from another Nginx location.
Check the example in the documentation.

Regards,
Matthieu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120517/ca960e65/attachment-0001.html>


More information about the nginx mailing list