updated awstats config in configuration/ for central reverse proxy

This commit is contained in:
Axel Uhl committed 2024-07-23 11:37:28 +02:00
1 parent a6f57bc48d
commit 0eaaa27fc7
1 file changed
+5 -1
@@ -48,8 +48,12 @@
# If there are several log files from load balancing servers :
# Example: "/pathtotools/logresolvemerge.pl *.log |"
#
# TODO the following line is for testing only; comment again when done testing and uncomment the next LogFile line
#LogFile="/var/log/httpd/access_log"
LogFile="/usr/share/awstats/tools/logresolvemerge.pl /var/log/httpd/access_log /var/log/old/access_log-???????? /var/log/old/access_log-????????.gz /var/log/old/*/elb-origin-access_log* /var/log/old/*/*/elb-origin-access_log* /var/log/old/*/access_log* /var/log/old/*/*/access_log* | /bin/grep -v HealthChecker |"
# TODO the following line is the "production" version; commented for debugging with a single file only
#LogFile="/usr/share/awstats/tools/logresolvemerge.pl /var/log/httpd/access_log /var/log/old/access_log-???????? /var/log/old/access_log-????????.gz /var/log/old/*/elb-origin-access_log* /var/log/old/*/*/elb-origin-access_log* /var/log/old/*/access_log* /var/log/old/*/*/access_log* | /bin/grep -v HealthChecker |"
# The following ocllectes only access logs for years 202X:
LogFile="/usr/share/awstats/tools/logresolvemerge.pl /var/log/httpd/access_log /var/log/old/access_log-202????? /var/log/old/access_log-202?????.gz /var/log/old/*/*/access_log-202?????.gz /var/log/old/*/*/access_log-202????? | /bin/grep --text -v HealthChecker |"
# Enter the log file type you want to analyze.