<div dir="ltr">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. <div>Analyzing access log on the fly just doesn't make much sense. <br><br><div class="gmail_quote"><div dir="ltr">On Sun, Jun 7, 2015 at 10:41 AM nginxsantos <<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can anyone please help me with a lua configuration which I can embedded into<br>
nginx.conf to send the following sepaately in access log.<br>
<br>
user_agent_os<br>
user_agent_browser<br>
user_agent_version<br>
<br>
At present all these fields are embedded in http_user_agent and I am writing<br>
parser to parse at the receiver end. I am looking for some input where I can<br>
send them separately as different fields from Nginx itself.<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,259422,259422#msg-259422" rel="noreferrer" target="_blank">http://forum.nginx.org/read.php?2,259422,259422#msg-259422</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div></div></div>