Maintenance
The maintenance command group groups routine cleanup, database pruning, and performance optimization operations.
Available actions
Section titled “Available actions”| 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). |
Examples
Section titled “Examples”# Clear the application cachessuricatavel maintenance cache
# Prune old sensor and firewall metricssuricatavel maintenance metrics
# Prune superseded rule revisionssuricatavel maintenance rules
# Manage search indexessuricatavel maintenance indexes
# Refresh statistics aggregatessuricatavel maintenance stats
