LogDuck Documentation

EnvironmentsPro

Markdown: this page · all of the docs · index

Environments provide full data isolation within a project, similar to Stripe's test/live modes. Every project starts with a Production environment. Additional environments (Staging, Dev, etc.) can be created on the Pro plan.

Data Isolation

Each environment has its own events, API keys, event types, categories, webhooks, and summaries. Data in one environment is completely separate from data in another. This means you can test your integration against a Staging environment without affecting Production data.

Environment Prefix

Each environment has a unique 2-4 character prefix (e.g., prod, stg, dev). This prefix is used in API keys to scope requests to the correct environment. It also serves as the Firestore document ID for the environment.

Dashboard Selector

The dashboard includes an environment selector that lets you switch between environments. The selected environment is persisted in the URL via a ?env= query parameter, so you can bookmark or share links to a specific environment view.