I would suggest using some log parser. You can find some by searching.
Those "for Apache" ones would also work. If you know some python or shell
script, writing one yourself won't take more than a few minutes.
Analyzing access log on the fly just doesn't make much sense.
On Sun, Jun 7, 2015 at 10:41 AM nginxsantos <nginx-forum@nginx.us> wrote:
> Can anyone please help me with a lua configuration which I can embedded
> into
> nginx.conf to send the following sepaately in access log.
>
> user_agent_os
> user_agent_browser
> user_agent_version
>
> At present all these fields are embedded in http_user_agent and I am
> writing
> parser to parse at the receiver end. I am looking for some input where I
> can
> send them separately as different fields from Nginx itself.
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,259422,259422#msg-259422
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx