From: Costa Tsaousis (ktsaou) Date: Sun, 12 Feb 2017 09:38:56 +0000 (+0200) Subject: information at web_log.conf X-Git-Tag: ab-debian_0.20170213.01-0ab1~1^2~3^2~4 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netdata.git;a=commitdiff_plain;h=81a899750a42d7f97783623090ad831ae029c8ec information at web_log.conf --- diff --git a/conf.d/python.d/web_log.conf b/conf.d/python.d/web_log.conf index ff993dc9..3b67a8cb 100644 --- a/conf.d/python.d/web_log.conf +++ b/conf.d/python.d/web_log.conf @@ -70,9 +70,11 @@ # ---------------------------------------------------------------------- # 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] ' @@ -81,9 +83,10 @@ # '"$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