Maintenance
The maintenance command group groups routine cleanup, database pruning, and performance optimization operations.
Available actions
Section titled “Available actions”| Action | Description |
|---|---|
cache | Clear and rebuild application, route, and configuration caches. |
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”# Rebuild application caches after configuration changessuricatavel 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