Rename log file based on its content

2017-05-02 Thread SARA QUISPE MEJIA
I want to know How can I do for to rename a log file in function to the date of my log file ? I known that in a log file I could find differents dates but I want to save just the first date. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/

Re: nginx access logs to mysql

2017-04-20 Thread SARA QUISPE MEJIA
gt; On Thu, Apr 20, 2017 at 9:29 AM, SARA QUISPE MEJIA > wrote: > >> yes, I tried to do that and then I did the analysis with goaccess, >> but now I need to do an interface(page.php) for the user can choose >> the function that want to filter and then generate a report. >&

Re: nginx access logs to mysql

2017-04-20 Thread SARA QUISPE MEJIA
. : > Sara, why don't you process the log file just with grep / pcregrep to get > just the lines that containt that function name? > > > On Thu, Apr 20, 2017 at 9:05 AM, SARA QUISPE MEJIA > wrote: > >> I want to parse the log file respect to a client that means to make

nginx access logs to mysql

2017-04-20 Thread SARA QUISPE MEJIA
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. 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 li