Technical Tip: How to retrieve active Clickhouse data in FortiSIEM
| Description | This article describes how to retrieve active data of Clickhouse in FortiSIEM. |
| Scope | FortiSIEM. |
| Solution | The following commands below can be used to query Clickhouse data on any FortiSIEM nodes, primarily for monitoring query execution, replication, and partition health.
clickhouse-client
$ SELECT * FROM system.processes; <-- Retrieves all currently running queries/processes in ClickHouse.
$ SELECT * from system.replicas format Vertical; <-- Shows the status of all replicas in the system.
If the entries show is_readonly = 1 or is_session_expired = 1, the replica may be unhealthy or disconnected.
|