Welcome! Log In Create A New Profile

Advanced

Log to Script or Database

Posted by sui 
sui
Log to Script or Database
January 24, 2011 07:52AM
I'd like to do some real time log evaluation. On apache I just piped the access log to a script like this:

[code]
CustomLog |/opt/script format
[/code]

Is there a way to do this on nginx ("access_log |/opt/script format" doesn't work) or alternatively to write the logs directly to MySQL?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 169
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready