FortiSIEM
FortiSIEM provides Security Information and Event Management (SIEM) and User and Entity Behavior Analytics (UEBA)
aebadi
Staff
Staff
Article Id 243281
Description

This article provides the steps to free up space consumed by clickhouse service on the root partition of the FortiSIEM collector.

Scope FortiSIEM Collector 6.5.0, 7.1.3 and 7.1.4.
Solution
  1. Run the following command first to know if the disk usage is due to clickhouse directories (/var/lib/clickhouse and /var/log/clickhouse-server).

    du --max-depth=4 -xh / | sort -hr | head -n 20

  2. Stop and disable clickhouse-server service:

    systemctl stop clickhouse-server.service
    systemctl disable clickhouse-server.service

  3. Remove clickhouse data:

    rm -rf /var/log/clickhouse-server/
    rm -rf /var/lib/clickhouse/