Skip to main content
A project is the access boundary for telemetry. Every accepted signal belongs to one project, and every read command can filter by project. Use a separate project when telemetry needs a separate ownership or access boundary. For most teams, that is one app, service, or product area. A repository does not have to match one project. A monorepo can send several services to one project. Use service names to tell them apart.

Project, service, environment

Set up a project

Install the CLI. Run logbrew status --json to read your account access. If access is not valid, a human runs logbrew login. A project ingest key cannot sign you in.
1

Create or select a project

List your projects first. Create a project only if it does not exist.
The CLI writes the ingest key to a new owner-only file. It never prints the key or the file path. If the result is not clear, run the exact command again. Do not change the project name or the key file. The CLI reuses its pending request identity. The Quickstart shows how to read the project ID from the result.For an existing project, record the setup state:
To create another ingest key for an existing project, use logbrew projects keys create. The ingest-key rotation guide shows the command.logbrew setup --create-project only shows help. It does not create a project.
2

Set service names in the SDK

Use names from your repository and deployment, such as api, worker, web, ios, or checkout-api. A service name is a label, not a project selector. The ingest key selects the project. Renaming a service does not move stored events. If you cannot find an event, check the project and ingest key that the application uses before you create another project.
3

Use standard environments

Use production, staging, preview, and local. If your deployment uses other names, use them consistently. An environment name cannot contain spaces, /, or a backslash.
4

Send a test event and read it

Configure the SDK with the project ingest key, as the SDK ingestion guide describes. Creating a project does not install an SDK in your application. Keep the key out of source control. Set the service, environment, and release in the application. Send one safe event, then read it:
Each signal has its own list. An empty log list does not mean that the project has no issues or traces. To read one project without account sign-in, use a read key. See Verify your setup.In the dashboard, select the same project and a time range that includes the test event. Make sure that the service, environment, and release filters match the event.

Diagnose project setup

Read setup state with the project doctor. Do not infer setup state from local files or an empty log query.
The CLI returns a report with status, checks, and next. Exit code 0 does not show that all checks passed. Read each item in checks. See Read a project doctor report.

Direct API response

API clients call GET /api/projects/{project_id}/doctor with account authentication. The endpoint has no query parameters or request body. Never use a project ingest key for this read. A 200 response has these keys: project_id, state, setup_status, setup_acknowledged, has_active_ingest_key, first_telemetry_seen_at, last_seen_at, last_signal, next, and next_action. Timestamps are RFC3339 or null. last_signal is a display-safe summary, not a raw signal. The doctor checks the ingest key first. A project without an active ingest key is needs_ingest_key, whatever its setup status. setup_status is created, setup_started, sdk_seen, first_telemetry_seen, or active. setup_acknowledged is true only for the last three values. created gives needs_setup. setup_started and sdk_seen give needs_telemetry. first_telemetry_seen and active give ready. If the read still fails, report a problem. Do not include credentials, headers, signal bodies, customer data, local paths, or source code.

Drop unwanted events

Inbound filters drop events before LogBrew stores them. LogBrew does not store a dropped event. It does not count toward the plan, the account usage, or spike protection limits. Each project has its own filters: A pattern is a glob. * matches any text, and ? matches one character. Uppercase and lowercase letters match. Each list holds up to 50 patterns. The filters apply to SDK events, browser events, native envelopes, and OpenTelemetry data. Read the filters of a project with CLI 0.1.94 or newer:
Change them:
Each list flag replaces that list. To clear a list, use --no-messages, --no-releases, or --no-environments. The response also has dropped_events: the events that the filters dropped in this billing period, with reason, meter, events, and last_dropped_at. The API routes are GET /api/projects/{project_id}/inbound-filters and PUT /api/projects/{project_id}/inbound-filters. A PUT changes only the fields that it sends.

Archive or delete a project

Archive a project to remove it from the active project list:
The command needs --yes. After archival, the project’s ingest keys stop accepting new telemetry. The API route is DELETE /api/projects/{project_id}. It returns 204 with no body. List archived projects with GET /api/projects/archived. Restore one with POST /api/projects/{project_id}/restore, which also returns 204. Delete a project permanently only when you are sure:
Repeat the exact project ID after --confirm. An accepted request makes the project inactive at once and schedules permanent deletion. You cannot restore the project after that.

Rotate an ingest key

The ingest-key rotation guide gives the replacement, deployment, test, and revocation procedure.