Search indexes
The indexes command group manages adaptive partial PostgreSQL / TimescaleDB indexes calculated from real query telemetry.
Available actions
Section titled “Available actions”| Action | Description |
|---|---|
status | Display current partial index coverage and storage budget utilization. |
analyze | Inspect recent query telemetry and display candidate index recommendations. |
apply | Build recommended partial indexes during a maintenance window. |
prune | Remove obsolete or unused custom partial indexes to reclaim storage. |
Inspect index status
Section titled “Inspect index status”suricatavel indexes statusShows active custom indexes, disk consumption, and how much storage budget remains.
Analyze query patterns
Section titled “Analyze query patterns”suricatavel indexes analyzeAnalyzes recent query telemetry from the Event Correlation interface and displays proposed partial indexes that would accelerate common searches.
Apply recommendations
Section titled “Apply recommendations”suricatavel indexes applyConstructs the recommended partial indexes in the database concurrently.
Prune unused indexes
Section titled “Prune unused indexes”suricatavel indexes pruneCleans up partial indexes that have not been queried within their retention threshold.