v.22.8New Feature

Option for JSON Formatted Log Output for Enhanced Analysis

An option to provide JSON formatted log output. The purpose is to allow easier ingestion and query in log analysis tools. #39277 (Mallik Hassan).
Added an option to produce logs in JSON format for ClickHouse.

Why it matters

This feature enables easier ingestion and analysis of ClickHouse logs by log management and analysis tools that support JSON, improving log querying and filtering capabilities.

How to use it

Enable JSON formatted logging by configuring the appropriate logging option in ClickHouse settings (e.g., setting the log format to JSON in the server configuration file).