mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 12:01:58 +00:00
Fix wrong query in log messages check
This commit is contained in:
parent
6fadb8e883
commit
fb903727c2
@ -2152,7 +2152,7 @@ def reportLogStats(args):
|
|||||||
print("\n")
|
print("\n")
|
||||||
|
|
||||||
query = """
|
query = """
|
||||||
SELECT message_format_string, count(), substr(any(message), 1, 120) AS any_message
|
SELECT message_format_string, count(), any(message) AS any_message
|
||||||
FROM system.text_log
|
FROM system.text_log
|
||||||
WHERE (now() - toIntervalMinute(240)) < event_time
|
WHERE (now() - toIntervalMinute(240)) < event_time
|
||||||
AND (message NOT LIKE (replaceRegexpAll(message_format_string, '{[:.0-9dfx]*}', '%') AS s))
|
AND (message NOT LIKE (replaceRegexpAll(message_format_string, '{[:.0-9dfx]*}', '%') AS s))
|
||||||
|
Loading…
Reference in New Issue
Block a user