From d153ef011b77d6840e9c94645deea3556daa067e Mon Sep 17 00:00:00 2001 From: Ilya Date: Mon, 6 Mar 2017 22:14:39 +0900 Subject: [PATCH] web_log_plugin: update regex to match nginx request_time > 10sec --- python.d/web_log.chart.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python.d/web_log.chart.py b/python.d/web_log.chart.py index cfa60e2f..cbc8cd23 100644 --- a/python.d/web_log.chart.py +++ b/python.d/web_log.chart.py @@ -315,7 +315,7 @@ class Service(LogService): r' (?P[1-9]\d{2})' r' (?P\d+)' r' (?P\d+)' - r' (?P\d\.\d+) ') + r' (?P\d+\.\d+) ') acs_nginx_ext_append = re.compile(r'(?P
[\da-f.:]+)' r' -.*?"(?P[A-Z]+)' @@ -325,7 +325,7 @@ class Service(LogService): r' (?P\d+)' r' .*?' r' (?P\d+)' - r' (?P\d\.\d+)') + r' (?P\d+\.\d+)') def func_usec(time): return time -- 2.39.2