diff options
author | Costa Tsaousis <costa@tsaousis.gr> | 2017-05-19 10:39:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-19 10:39:26 +0300 |
commit | 190bd1a520de34c5f59fec821c20689fe71f8fdf (patch) | |
tree | 2eb59825bc9d18073a2d89e9c136fbbf4efd2573 /conf.d | |
parent | 921150c01d1449ae0ead330974b85ea6c548b7f3 (diff) | |
parent | c3c0834dc15a60f1bdd1edadf44d42d23b8436e3 (diff) |
Merge pull request #2200 from l2isbad/web_log_improvements
Web log improvements
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/python.d/web_log.conf | 4 |
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 |