]> arthur.barton.de Git - netdata.git/commitdiff
information at web_log.conf
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 12 Feb 2017 09:38:56 +0000 (11:38 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 12 Feb 2017 09:38:56 +0000 (11:38 +0200)
conf.d/python.d/web_log.conf

index ff993dc991176fdeafe2231032680eaf6375cad8..3b67a8cb435313e6885a1a006db4b42b4b4d72fd 100644 (file)
 # ----------------------------------------------------------------------
 # WEB SERVER CONFIGURATION
 #
-# Make sure the log directory and file can be read by user 'netdata'.
+# Make sure the web server log directory and the web server log files
+# can be read by user 'netdata'.
 #
-# Preferable Log Format. You need to change to this to collect all metrics.
+# To enable the timings chart and the requests size dimension, the
+# web server needs to log them. This is how to add them:
 #
 # nginx:
 #   log_format netdata '$remote_addr - $remote_user [$time_local] '
 #                      '"$http_referer" "$http_user_agent"';
 #   access_log /var/log/nginx/access.log netdata;
 #
-# apache:
-#   LogFormat "%h %l %u %t \"%r\" %>s %O %I %D \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
-#   LogFormat "%h %l %u %t \"%r\" %>s %O %I %D \"%{Referer}i\" \"%{User-Agent}i\"" combined
+# apache (you need mod_logio enabled):
+#   LogFormat "%h %l %u %t \"%r\" %>s %O %I %D \"%{Referer}i\" \"%{User-Agent}i\"" vhost_netdata
+#   LogFormat "%h %l %u %t \"%r\" %>s %O %I %D \"%{Referer}i\" \"%{User-Agent}i\"" netdata
+#   CustomLog "/var/log/apache2/access.log" netdata
 
 # ----------------------------------------------------------------------
 # AUTO-DETECTION JOBS