Nginx LUA

ryd994 ryd994 at 163.com
Mon Jun 15 03:55:43 UTC 2015


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 at 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150615/aa3339e4/attachment.html>


More information about the nginx mailing list