v.23.1New Feature
Added message_format_string column to system.text_log for enhanced log analytics
Added amessage_format_stringcolumn tosystem.text_log. The column contains a pattern that was used to format the message. #44543 (Alexander Tokmakov). This allows various analytics over the ClickHouse logs.
Why it matters
This feature enables more advanced and flexible analytics on ClickHouse logs by providing access to the original message format patterns, allowing users to perform pattern-based log analysis rather than working only with fully rendered log messages.How to use it
Query thesystem.text_log table and include the new message_format_string column in your SELECT statements to retrieve the log message pattern string alongside other log details.