Environments
Environments are HeliosLogs's top-level tenancy boundary — each index and saved search belongs to exactly one. Admins manage them under Admin → Environments.

Reserved environments
| Environment | Notes |
|---|---|
default | The initial user data; every install starts here. Cannot be deleted. |
_system | Backend self-logs. Admin-only. |
Names starting with _ are reserved for the system — you can't create or ingest into them.
Creating and deleting
Create an environment by giving it an alphanumeric name (e.g. dev, staging, prod, or one per team). New (env, index, day) partitions materialize on first write — there's nothing else to provision.
Deleting an environment is only allowed when it's empty — no on-disk partitions and no control-plane references (saved searches, etc.). HeliosLogs refuses to delete a non-empty environment, so you don't lose data by accident.
Per-environment retention
Each environment can override the global retention default — set a number of days, or leave it blank to inherit the global default. This lets you keep, say, prod for 90 days and dev for 7.
Switching environments
Users select the active environment with the top-nav picker; every read and write defaults to it. You can also override it per request with &env=<name> on a URL. A user only sees environments their access allowlist permits.
Designing your layout
Common patterns: one env per deployment stage (dev/staging/prod), or one per team/tenant. Combine with RBAC so each group sees only its own environment.