Configuration
Availability
Open core · self-host + all Splyntra Cloud plans
Splyntra services are configured through environment variables. This page lists the common ones for the collector and the dashboard.
Collector
| Variable | Purpose |
|---|---|
PORT | OTLP/HTTP listen port (default 4318). |
ENV | Environment name; development enables the splyntra_dev_key fallback, otherwise it is rejected. |
POSTGRES_DSN | Postgres connection string (metadata). |
CLICKHOUSE_DSN | ClickHouse connection string (traces, logs, metrics). |
NATS_URL | NATS / JetStream URL (messaging). |
VALKEY_ADDR | Valkey address (cache / queue). |
RATE_LIMIT_RPS | Ingest rate limit in requests per second (default 1000). |
CORS_ORIGINS | Allowed CORS origins for the query API. |
COLLECTOR_SERVICE_TOKEN | Trusted service token for the dashboard-to-collector channel. See tenancy below. |
Alerts and export
| Variable | Purpose |
|---|---|
ALERT_WEBHOOK_URL | Generic webhook for alert notifications. |
ALERT_SLACK_WEBHOOK_URL | Slack webhook for alert notifications. |
SMTP_* | SMTP settings for email alerts. |
SPLYNTRA_EXPORT_URL | Destination URL for SIEM export. |
SPLYNTRA_EXPORT_TOKEN | Bearer token for SIEM export. |
Dashboard
| Variable | Purpose |
|---|---|
NEXT_PUBLIC_API_URL | Base URL the browser uses for the API. |
COLLECTOR_URL | Collector URL the dashboard calls server-side (for example http://collector:4318). |
EVAL_URL | Evaluation service URL. |
NEXTAUTH_SECRET | Secret for dashboard session/auth. |
SPLYNTRA_API_KEY | API key the dashboard uses to ingest / query. |
Single-tenant vs. multi-tenant
COLLECTOR_SERVICE_TOKEN controls tenancy at the collector boundary:
- Blank — single-tenant. The collector serves one implicit tenant.
- Set — the dashboard's backend presents this trusted token on the
dashboard-to-collector channel, and requests are scoped per organization via the
X-Splyntra-Org-Idheader. Use the same value on both the dashboard and the collector.
warning
Tenant isolation lives at the collector boundary. In a multi-tenant deployment,
COLLECTOR_SERVICE_TOKEN must match on both sides and must be kept secret.
Related
- Self-hosting — the service list and first run.
- Kubernetes & Helm — configuring these values via the Helm chart.