Technical Tip: FortiSIEM ClickHouse disk usage growth analysis
Description | This article describes how to identify the primary contributors to ClickHouse disk utilization and validate whether the growth is expected based on event volume and retention settings. |
Scope | FortiSIEM. |
Solution | In FortiSIEM environments utilizing ClickHouse as the event database, administrators may observe continuous disk utilization growth on Supervisor or Worker nodes hosting ClickHouse services. If not monitored properly, increasing disk consumption can lead to reduced query performance, ingestion delays, event retention issues, or disk exhaustion.
Check filesystem utilization:
Depending on the deployment architecture.
Connect to ClickHouse: Display database size information: This identifies which database is consuming the most storage.
Run: Sample output:
Review event ingestion statistics from the FortiSIEM GUI: ADMIN -> Health -> Event Rate, or Analytics -> Event Query.
Step 5: Validate event retention settings. Navigate to ADMIN -> Settings -> Storage.
Long retention periods combined with high EPS rates are the most common reason for expected database growth.
Step 6: Check for Old ClickHouse Partitions Connect to ClickHouse and review partition usage: A large number of active partitions may indicate retention cleanup is not occurring as expected.
From the operating system: This helps identify:
Verify FortiSIEM services: Confirm ClickHouse processes are healthy: Potential issues include:
Summary: ClickHouse disk utilization growth is most commonly caused by increased event ingestion volume, retention configuration changes, or retention cleanup issues. Administrators should regularly monitor EPS trends, retention settings, database table growth, and ClickHouse partition cleanup activity to prevent unexpected storage exhaustion and maintain optimal FortiSIEM performance. |
