Welcome! Log In Create A New Profile

Advanced

Supporting access_log to a pipe?

June 17, 2009 11:53AM
I need to monitor access log in a separated application, to identify frequent visits like DoS attack.

Now I'm using apache httpd. CustomLog directive of httpd (equivalent to access_log directive in Ngnix) supports write log lines to the stdin of a piped application.

Quote from http://httpd.apache.org/docs/2.2/mod/mod_log_config.html
[quote]
Syntax: CustomLog file|pipe format|nickname [env=[!]environment-variable]
pipe
The pipe character "|", followed by the path to a program to receive the log information on its standard input.
[/quote]

Will Ngnix support this feature? Or is there any solution to monitor every log line of access_log?

regards

-Wesley
Subject Author Posted

Supporting access_log to a pipe?

wesleywu June 17, 2009 11:53AM

Re: Supporting access_log to a pipe?

Igor Sysoev June 17, 2009 01:27PM

Re: Supporting access_log to a pipe?

wesleywu June 17, 2009 03:40PM

Re: Supporting access_log to a pipe?

Cliff Wells June 17, 2009 04:09PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 297
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