v.19.14New Feature
Allow to Write Clickhouse Text Logs to System.text_log Table
Allow to write ClickHouse text logs to system.text_log table. #6037 #6103 (Nikita Mikhaylov) #6164 (alexey-milovidov)Why it matters
This feature enables users to persist ClickHouse text log entries within a system table, making it easier to query, analyze, and manage logs using SQL. It addresses the challenge of accessing and processing logs by leveraging ClickHouse's native table infrastructure instead of external log files.How to use it
Users can enable logging to thesystem.text_log table by configuring the ClickHouse server to write text logs into this system table instead of or in addition to traditional log files. After enabling, logs can be accessed and queried with standard SQL commands, for example:SELECT * FROM system.text_log WHERE ...