Skip to the content.

VictoriaMetrics Stack (Default)

VictoriaLogs and VictoriaMetrics are the default storage backends for SIB.

← Back to Home


Why VictoriaMetrics?

VictoriaLogs (logs storage):

VictoriaMetrics (metrics storage):


Quick Start

The VictoriaMetrics stack is the default. Just run:

cp .env.example .env
make install

This automatically:

Using the Grafana Stack Instead

If you prefer Loki + Prometheus:

# Edit .env
STACK=grafana

make install

Architecture

When using STACK=vm (default):

┌─────────────────────────────────────────────────────────┐
│                      SIB Server                          │
│                                                          │
│  ┌─────────┐     ┌──────────────┐     ┌──────────────┐  │
│  │  Falco  │────▶│ Falcosidekick│────▶│ VictoriaLogs │  │
│  └─────────┘     └──────────────┘     │   (:9428)    │  │
│                                        └──────────────┘  │
│  ┌──────────────┐                      ┌──────────────┐  │
│  │node_exporter │─────────────────────▶│VictoriaMetrics│ │
│  │              │                      │   (:8428)    │  │
│  └──────────────┘                      └──────────────┘  │
│                                                          │
│  ┌──────────────┐                                        │
│  │   Grafana    │◀───── queries both ─────────────────   │
│  │   (:3000)    │                                        │
│  └──────────────┘                                        │
└─────────────────────────────────────────────────────────┘

Access Points

Service URL Description
Grafana http://localhost:3000 Dashboards and visualization
VictoriaLogs http://localhost:9428 Log storage and querying
VictoriaMetrics http://localhost:8428 Metrics storage and querying
Sidekick API http://localhost:2801 Alert routing UI

VictoriaLogs Dashboards

Dashboards are available under SIEM in a Box:


LogsQL Query Examples

VictoriaLogs uses LogsQL for queries. Here are some examples:

# All events
*

# Events by priority
priority:Critical

# Events from a specific host
hostname:web-server-01

# Events with a specific rule
rule:"Read sensitive file trusted after startup"

# Aggregate by rule
* | stats by (rule) count() as Count

# Time-based filtering
_time:1h AND priority:Error

AI Analysis

AI Analysis works with VictoriaLogs out of the box:

make install-analysis

The Events Explorer dashboard includes AI analysis links that send events to the analysis API for contextual security insights.

If Grafana shows “Plugin not registered” (offline or restricted networks), install manually:

docker exec sib-grafana grafana cli plugins install victoriametrics-logs-datasource
docker restart sib-grafana

Switching to Grafana Stack

To switch from VictoriaMetrics to the Grafana stack (Loki + Prometheus):

# Edit .env
STACK=grafana

# Reinstall
make uninstall
make install

Environment Variables

Variable Default Description
STACK vm Storage stack: vm (VictoriaMetrics) or grafana (Loki + Prometheus)
VICTORIALOGS_RETENTION_PERIOD 168h Log retention (7 days)
VICTORIAMETRICS_RETENTION_PERIOD 15d Metrics retention

← Back to Home