Add
--json for agent workflows. A failed check returns a stable next
field.Start with the fast checks
Recover missing first telemetry
Run these read-only commands before you change SDK configuration:logbrew doctor checks API access, authentication, the project, the ingest
key, setup, telemetry, and log visibility. It does not change the project.
Read the overall status and each check in the
doctor report. Exit code 0
does not mean that every check passed.
The report can also have the status
auth_invalid, project_missing,
api_unreachable, or check_failed. The
doctor report gives the next
step for each one.
A ready project can still have no logs, because each signal type is separate.
The logs check can be empty or unavailable. A failed log read is not an
empty result.
Send one safe test event
Send one test log with a unique message from the installed SDK. Do not include a token, user data, or a request body. Record the project ID, service, environment, release, UTC start time, and SDK version. Wait for delivery, then read a short time range in the same project. Do not send more test events while delivery is pending.Find missing logs
Read a small, exact scope first:- The project ID belongs to the app that sent the event.
- Service, release, and environment match exactly, including case and whitespace.
- The time range includes the event time. LogBrew returns event times in
UTC.
--untilis an exclusive upper bound. - No search or severity filter hides the event.
- The app sent the signal type that you read. A log does not create an issue or a trace.
- Keep the project and widen the time range.
- Remove the release filter.
- Remove the environment filter.
- Remove the service filter.
- Remove search and severity filters.
A result page is not a total. With
--pagination cursor, continue with the
returned next_cursor and keep the same filters. See
Cursor pagination.
Check the dashboard view
The dashboard shows a snapshot of each list. On the logs view, turn on Live to add new logs as they arrive. Other views do not update live. Reload the page to get a new snapshot. A stale snapshot is different from an empty result. LogBrew stores only the telemetry that the app sends. Remove credentials, request bodies, query values, and personal data before delivery. Use Safe capture to check your field selection.Check issues and traces
Use an issue ID or trace ID that LogBrew returned. Never invent one.--status accepts unresolved, resolved, and archived. ignored selects
the same issues as archived.
Issue status and trace status are different. The trace status values
not_linked, not_found, and unavailable have different meanings. See
Investigate an issue for each value. Read the
issue and its logs before you resolve, archive, or reopen it.
Handle CLI and API errors
In JSON mode, a CLI error containsok, error, message, and next:
error is api_error. The error also has
status (the HTTP status), api_code (the API code), api_error, and
api_next. For a rate_limited error, it also has retry_after_seconds. The
CLI does not retry automatically.
See API errors for each error code.
Secure a compromised account
If someone else might have an account access token, refresh token, or session cookie, sign out all LogBrew clients. Follow the account-wide sign-out procedure. A person must approve this action.logbrew logout and a browser
sign-out end only one client, so they are not enough.
The account-wide sign-out also stops every MCP connection that was approved
before it. After success, clear local LogBrew credentials on each client and
sign in again from a trusted client. Approve MCP clients again only after you
trust them. If the response is lost, do not report that all clients are signed
out, and do not repeat the request automatically.
Account-wide sign-out does not rotate project ingest keys. If an ingest key was
exposed, rotate the ingest key.
Keep troubleshooting safe
Use an account access credential for CLI reads. Use a project-scoped ingest credential only for SDK writes. Do not put tokens, authorization headers, raw logs, customer data, request bodies, local paths, or source code in a command, chat, or support ticket. Before you report a problem, repeat one read with the smallest scope that still fails. Record the command without credential values, the error code, the project ID, and the filter values. If the checks do not solve the problem, report a problem.Related pages
Quickstart
Send and read the first safe event.
CLI guide
Use exact filters and JSON output.
Investigate an issue
Read issue evidence before you change status.
API errors
Recover from each error code.
