From 81a899750a42d7f97783623090ad831ae029c8ec Mon Sep 17 00:00:00 2001 From: "Costa Tsaousis (ktsaou)" Date: Sun, 12 Feb 2017 11:38:56 +0200 Subject: [PATCH] information at web_log.conf --- conf.d/python.d/web_log.conf | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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 -- 2.39.2