Filter upstream timed out events from log2zulip.
(imported from commit 7a18d7f7ea6cc1be90d436c651eb4bb85598cec9)
This commit is contained in:
parent
cc6e16b2d1
commit
2aef11b064
|
@ -39,6 +39,8 @@ def process_lines(raw_lines, file_name):
|
|||
lines = []
|
||||
for line in raw_lines:
|
||||
# Add any filtering or modification code here
|
||||
if re.match(".*upstream timed out.*while reading upstream.*", line):
|
||||
continue
|
||||
lines.append(line)
|
||||
|
||||
if len(lines) > 10:
|
||||
|
|
Loading…
Reference in a new issue