<div dir="ltr">yes, I could do it but I want just store for example the customer, the function name, the date after with those information I could filter my report through a page.php<div>But  with json I don't know how can I do that?</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-20 9:57 GMT+02:00 oscaretu . <span dir="ltr"><<a href="mailto:oscaretu@gmail.com" target="_blank">oscaretu@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If you extract the lines containing all the function names, and filter them with a script that counts the number of times that the function appears, you only have to store (for example in a JSON) the number of times that each function was used. And you can avoid storing all the logs in a database.<br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 20, 2017 at 9:29 AM, SARA QUISPE MEJIA <span dir="ltr"><<a href="mailto:a20132950@pucp.pe" target="_blank">a20132950@pucp.pe</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">yes, I tried to do that and then I did the analysis with goaccess, <div>but now I need to do an interface(page.php) for the user can choose</div><div>the function that want to filter and then generate a report.</div><div>So, I thought put all my information on a database like mysql</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-20 9:11 GMT+02:00 oscaretu . <span dir="ltr"><<a href="mailto:oscaretu@gmail.com" target="_blank">oscaretu@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sara, why don't you process the log file just with grep / pcregrep to get just the lines that containt that function name?<br><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_7052148230448802987m_3215214696764331549h5">On Thu, Apr 20, 2017 at 9:05 AM, SARA QUISPE MEJIA <span dir="ltr"><<a href="mailto:a20132950@pucp.pe" target="_blank">a20132950@pucp.pe</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_7052148230448802987m_3215214696764331549h5"><div dir="ltr"><p style="margin-bottom:0cm;line-height:100%">
<font color="#222222"><font face="arial, sans-serif"><font style="font-size:9pt">I
want to parse the log file respect to a client that means to make a
report of how the client is using my application through the
information provided by a log file.</font></font></font></p>
<p style="margin-bottom:0cm;line-height:100%">
<font color="#222222"><font face="arial, sans-serif"><font style="font-size:9pt">So
I need to filter some url where I find an especific  name of a
function. For that I thought in insert my log file to database like
mysql. Could I do that with my log file ?  (I use nginx )</font></font></font></p>
<p style="margin-bottom:0cm;line-height:100%">
<font color="#222222"><font face="arial, sans-serif"><font style="font-size:9pt">I
tried to do that with syslog-ng but it doesn't work</font></font></font></p>
<p style="margin-bottom:0cm;line-height:100%">Do you have any ideas?</p><p style="margin-bottom:0cm;line-height:100%">Thanks</p><span class="m_7052148230448802987m_3215214696764331549m_3743148772563476664HOEnZb"><font color="#888888"><p style="margin-bottom:0cm;line-height:100%">Sara</p></font></span></div>
<br></div></div>______________________________<wbr>_________________<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/mailm<wbr>an/listinfo/nginx</a><span class="m_7052148230448802987m_3215214696764331549HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="m_7052148230448802987m_3215214696764331549HOEnZb"><font color="#888888"><br><br clear="all"><span class="m_7052148230448802987HOEnZb"><font color="#888888"><br>-- <br><div class="m_7052148230448802987m_3215214696764331549m_3743148772563476664gmail_signature" data-smartmail="gmail_signature">Oscar Fernandez Sierra<br><a href="mailto:oscaretu@gmail.com" target="_blank">oscaretu@gmail.com</a></div>
</font></span></font></span></div><span class="m_7052148230448802987HOEnZb"><font color="#888888">
<br>______________________________<wbr>_________________<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/mailm<wbr>an/listinfo/nginx</a><br></font></span></blockquote></div><br></div>
<br>______________________________<wbr>_________________<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/mailm<wbr>an/listinfo/nginx</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="m_7052148230448802987gmail_signature" data-smartmail="gmail_signature">Oscar Fernandez Sierra<br><a href="mailto:oscaretu@gmail.com" target="_blank">oscaretu@gmail.com</a></div>
</div>
</div></div><br>______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br></blockquote></div><br></div>