Skip to content

Search indexes

The indexes command group manages adaptive partial PostgreSQL / TimescaleDB indexes calculated from real query telemetry.


ActionDescription
statusDisplay current partial index coverage and storage budget utilization.
analyzeInspect recent query telemetry and display candidate index recommendations.
applyBuild recommended partial indexes during a maintenance window.
pruneRemove obsolete or unused custom partial indexes to reclaim storage.

Terminal window
suricatavel indexes status

Shows active custom indexes, disk consumption, and how much storage budget remains.

Terminal window
suricatavel indexes analyze

Analyzes recent query telemetry from the Event Correlation interface and displays proposed partial indexes that would accelerate common searches.

Terminal window
suricatavel indexes apply

Constructs the recommended partial indexes in the database concurrently.

Terminal window
suricatavel indexes prune

Cleans up partial indexes that have not been queried within their retention threshold.