Skip to content

Maintenance

The maintenance command group groups routine cleanup, database pruning, and performance optimization operations.


Action Description
cache Clear the compiled views and the application cache (configuration and routes are never cached).
metrics Prune historical metrics data past the retention threshold.
exports Remove expired data export files.
jobs Prune stale or orphaned queue jobs.
rules Prune superseded Suricata rule revisions to reduce database size.
stats Refresh statistics aggregates and dashboard counters.
indexes Manage adaptive partial search indexes (status, apply, prune).

Terminal window
# Clear the application caches
suricatavel maintenance cache
# Prune old sensor and firewall metrics
suricatavel maintenance metrics
# Prune superseded rule revisions
suricatavel maintenance rules
# Manage search indexes
suricatavel maintenance indexes
# Refresh statistics aggregates
suricatavel maintenance stats