summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorIlya <ilyamaschenko@gmail.com>2017-05-18 15:10:34 +0900
committerIlya <ilyamaschenko@gmail.com>2017-05-18 15:10:34 +0900
commit6dcc5594959f89369b7d190422bc934f90a94404 (patch)
treee25f2f216624e713a7311dcb6a3697a3fa9ac525 /conf.d
parent62bac35ddc15b51f781d1836214086922e1e8641 (diff)
web_log plugin: module configuration update
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/python.d/web_log.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf.d/python.d/web_log.conf b/conf.d/python.d/web_log.conf
index 06656285fd..d6a2c80ac0 100644
--- a/conf.d/python.d/web_log.conf
+++ b/conf.d/python.d/web_log.conf
@@ -67,6 +67,10 @@
# cacti: 'cacti.*' # name(dimension): REGEX to match
# observium: 'observium.*' # name(dimension): REGEX to match
# stub_status: 'stub_status' # name(dimension): REGEX to match
+# user_defined: # requests per pattern in <user_defined> field (custom_log_format)
+# cacti: 'cacti.*' # name(dimension): REGEX to match
+# observium: 'observium.*' # name(dimension): REGEX to match
+# stub_status: 'stub_status' # name(dimension): REGEX to match
# custom_log_format: # define a custom log format
# pattern: '(?P<address>[\da-f.:]+) -.*?"(?P<method>[A-Z]+) (?P<url>.*?)" (?P<code>[1-9]\d{2}) (?P<bytes_sent>\d+) (?P<resp_length>\d+) (?P<resp_time>\d\.\d+) '
# time_multiplier: 1000000 # type <int> - convert time to microseconds