Skip to content

Maintenance

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


ActionDescription
cacheClear and rebuild application, route, and configuration caches.
metricsPrune historical metrics data past the retention threshold.
exportsRemove expired data export files.
jobsPrune stale or orphaned queue jobs.
rulesPrune superseded Suricata rule revisions to reduce database size.
statsRefresh statistics aggregates and dashboard counters.
indexesManage adaptive partial search indexes (status, apply, prune).

Terminal window
# Rebuild application caches after configuration changes
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