@cryptotaxi247 / netdata-1 / commits / 81a899750

information at web_log.conf

Costa Tsaousis (ktsaou) committed Feb 12, 2017 at 11:38 UTC 81a899750a42d7f97783623090ad831ae029c8ec
1 file changed +8 -5
conf.d/python.d/web_log.conf
+8 -5
@@ -70,9 +70,11 @@
70 # ----------------------------------------------------------------------
71 # WEB SERVER CONFIGURATION
72 #
73 -# Make sure the log directory and file can be read by user 'netdata'.
73 +# Make sure the web server log directory and the web server log files
74 +# can be read by user 'netdata'.
75 #
75 -# Preferable Log Format. You need to change to this to collect all metrics.
76 +# To enable the timings chart and the requests size dimension, the
77 +# web server needs to log them. This is how to add them:
78 #
79 # nginx:
80 # log_format netdata '$remote_addr - $remote_user [$time_local] '
@@ -81,9 +83,10 @@
83 # '"$http_referer" "$http_user_agent"';
84 # access_log /var/log/nginx/access.log netdata;
85 #
84 -# apache:
85 -# LogFormat "%h %l %u %t \"%r\" %>s %O %I %D \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
86 -# LogFormat "%h %l %u %t \"%r\" %>s %O %I %D \"%{Referer}i\" \"%{User-Agent}i\"" combined
86 +# apache (you need mod_logio enabled):
87 +# LogFormat "%h %l %u %t \"%r\" %>s %O %I %D \"%{Referer}i\" \"%{User-Agent}i\"" vhost_netdata
88 +# LogFormat "%h %l %u %t \"%r\" %>s %O %I %D \"%{Referer}i\" \"%{User-Agent}i\"" netdata
89 +# CustomLog "/var/log/apache2/access.log" netdata
90
91 # ----------------------------------------------------------------------
92 # AUTO-DETECTION JOBS