-
Notifications
You must be signed in to change notification settings - Fork 1
Centralized httpd (Apache) access logs system
License
laurb9/httpd-log
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Install httpd-log-client on each httpd machine and httpd-log-server on the log machine (they can be the same). Configuration: Note: you don't need to configure anything if both are on the same machine. - On log server: 1) If accepting logs from other machines, edit /etc/sysconfig/httpd-log to have --listen 0.0.0.0 or the machine's IP address. 2) chkconfig httpd-log-server on service httpd-log-server start 3) Make sure your firewall allows incoming UDP traffic on port 8181. The port can be changed in /etc/sysconfig/httpd-log but make sure to change it on the clients as well. - On log client: 1) If you don't want Apache to write its standard logs in addition to sending them to httpd-log-server then comment out the CustomLog line in /etc/httpd/conf/httpd.conf 2) If sending to another server, edit /etc/httpd/conf.d/httpd-log.conf Add "--to x.x.x.x" parameter where x.x.x.x is the log server IP. 3) service httpd restart Make some http requests and check /var/log/httpd-log for the automatically created log file hierarchy.
About
Centralized httpd (Apache) access logs system
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published