summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/config/go.d/web_log.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/go/collectors/go.d.plugin/config/go.d/web_log.conf44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/go/collectors/go.d.plugin/config/go.d/web_log.conf b/src/go/collectors/go.d.plugin/config/go.d/web_log.conf
new file mode 100644
index 000000000..496878851
--- /dev/null
+++ b/src/go/collectors/go.d.plugin/config/go.d/web_log.conf
@@ -0,0 +1,44 @@
+## All available configuration options, their descriptions and default values:
+## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/web_log#readme
+
+jobs:
+ # NGINX
+ # debian, arch
+ - name: nginx
+ path: /var/log/nginx/access.log
+
+ # gentoo
+ - name: nginx
+ path: /var/log/nginx/localhost.access_log
+
+ # APACHE
+ # debian
+ - name: apache
+ path: /var/log/apache2/access.log
+
+ # gentoo
+ - name: apache
+ path: /var/log/apache2/access_log
+
+ # arch
+ - name: apache
+ path: /var/log/httpd/access_log
+
+ # debian
+ - name: apache_vhosts
+ path: /var/log/apache2/other_vhosts_access.log
+
+ # GUNICORN
+ - name: gunicorn
+ path: /var/log/gunicorn/access.log
+
+ - name: gunicorn
+ path: /var/log/gunicorn/gunicorn-access.log
+
+ # IIS
+ # This configuration assumes you are running netdata on WSL
+ - name: iis
+ path: /mnt/c/inetpub/logs/LogFiles/W3SVC1/u_ex*.log
+ log_type: csv
+ csv_config:
+ format: '- - $host $request_method $request_uri - $server_port - $remote_addr - - $status - - $request_time'