@cryptotaxi247 / netdata-1 / commits / 7b2963bce

squid log: match only IP as client address

Alexey Vekshin committed May 27, 2018 at 11:38 UTC 7b2963bce911346e3b6798d5f2770d4aaba1185a
1 file changed +1 -1
python.d/web_log.chart.py
+1 -1
@@ -809,7 +809,7 @@ class Squid:
809 return False
810 self.storage['unique_all_time'] = list()
811 self.storage['regex'] = re.compile(r'[0-9.]+\s+(?P<duration>[0-9]+)'
812 - r' (?P<client_address>[\dA-Za-z.:_-]+)'
812 + r' (?P<client_address>[\da-f.:]+)'
813 r' (?P<squid_code>[A-Z_]+)/'
814 r'(?P<http_code>[0-9]+)'
815 r' (?P<bytes>[0-9]+)'