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.
Since logs are fully customizable you could use the “usual suspects”:
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 :
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.