web_log plugin: module configuration update
Ilya committed
May 18, 2017 at 15:10 UTC
6dcc5594959f89369b7d190422bc934f90a94404
1 file changed
+4
conf.d/python.d/web_log.conf
+4
@@ -67,6 +67,10 @@
67
# cacti: 'cacti.*' # name(dimension): REGEX to match
68
# observium: 'observium.*' # name(dimension): REGEX to match
69
# stub_status: 'stub_status' # name(dimension): REGEX to match
70
+# user_defined: # requests per pattern in <user_defined> field (custom_log_format)
71
+# cacti: 'cacti.*' # name(dimension): REGEX to match
72
+# observium: 'observium.*' # name(dimension): REGEX to match
73
+# stub_status: 'stub_status' # name(dimension): REGEX to match
74
# custom_log_format: # define a custom log format
75
# 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+) '
76
# time_multiplier: 1000000 # type <int> - convert time to microseconds