Other commands
In addition to resource groups, suricatavel provides dedicated system administration commands.
update
Section titled “update”Updates Suricatavel to the latest package release, applying migrations and restarting workers:
suricatavel updateOptions
Section titled “Options”--backup: Create a full PostgreSQL database backup before upgrading (backups are skipped by default).--skip-cleanup: Keep all previous database backups after upgrade.--no-rollback: Disable automatic database rollback if an upgrade step fails.--no-tui: Run in plain text mode without interactive terminal formatting.--force: Run without interactive confirmation prompts.
deploy
Section titled “deploy”Executes post-deployment routines (migrations, cache warmup, supervisor worker restarts):
suricatavel deploy --migrateOptions
Section titled “Options”--migrate: Run pending database migrations automatically.
consume
Section titled “consume”Starts high-throughput event consumption from Apache Kafka brokers:
suricatavel consume --topics=events,heartbeats --timeout=0 --debugOptions
Section titled “Options”--topics: Comma-separated list of Kafka topics to consume (default: configured events topic).--timeout: Consumer poll timeout in seconds (0for continuous daemon mode).--debug: Enable verbose diagnostic logging for broker connections.
read-eve
Section titled “read-eve”Processes events directly from a local eve.json file for batch or offline ingestion:
suricatavel read-eve /var/log/suricata/eve.json --memory-limit=90Options
Section titled “Options”file: Path to the inputeve.jsonfile.--memory-limit: Maximum memory percentage threshold allowed for batch processing (default:90).
Imports and correlates MITRE ATT&CK techniques:
# Import enterprise ATT&CK matrix from default or custom STIX 2.1 sourcesuricatavel mitre import
# Import from a custom STIX 2.1 file or URLsuricatavel mitre import --source=/opt/enterprise-attack.jsonstatus
Section titled “status”Displays a status dashboard covering Supervisor workers, queue backlogs, database connections, and system health:
suricatavel statusInitializes application schemas and provisions the default administrator account during initial deployment:
suricatavel bootversion
Section titled “version”Displays the current installed version of Suricatavel:
suricatavel version