logbrew login before you start.
Issues and occurrences
An issue list returns a group summary, not a full event. Read these fields before you open the detail:
The occurrence count is not an affected-user count. Counts and times apply to
the returned scope, not to the full error history. A
--since or --until
filter limits the occurrences that LogBrew counts. When you report a count,
also report the filters that produced it.
Status values
archived was previously named ignored. The two names select the same
issues, and both are accepted as input. logbrew read, logbrew issues, and
API versions 2 and later show archived. API version 1 (the default), the live
watch stream, and issue investigation versions 14 and earlier show ignored. The
dashboard shows the statuses as Unsolved, Solved, and Archived.
Status applies to the whole issue, not to one occurrence. Severity shows
urgency, and status records the decision. Keep the two separate. A critical
issue can be resolved after a verified fix. An archived issue keeps its
captured severity.
LogBrew does not reopen a resolved issue automatically. When a new occurrence
arrives after resolution, the investigation reports
lifecycle.effective_status as regressed. The status stays resolved
until a person reopens the issue.
Priority
Priority sets the order in which the team triages issues:
Each issue has a priority. If nobody sets it, it follows the issue severity:
error and critical are high, warning is medium, and info is low.
When an issue rule changes the severity, priority follows
triage.effective_severity. Then priority_source is derived. When a person
sets the priority, it stays fixed and priority_source is manual.
To list the issues to examine first:
Assign issues
Assign an issue to show who owns the next step. An issue has 0 or 1 assignee: one account or one team.1
Find who can be assigned
assignees has every account that can read the project, with user_id,
name, and email. teams has every team of the project’s organization,
with team_id, slug, and name. You cannot assign an account that
cannot read the project, or a team of another organization.2
Assign the issue
me instead of a user ID to assign the issue to yourself. Use
logbrew issues unassign "<issue_id>" --json to remove the assignee.
Add --project to change up to 100 issues of one project.3
Read your issues
--assignee my_teams for the issues of your teams,
--assignee "team:<team_id>" for one team, and --assignee none for
issues that nobody owns.--assignee none reads. If the member gets
access again, the issues show that member again, unless someone changed or
removed the assignee in the meantime.
Find who owns an issue
suggested_assignee. Each owner has a source:
inputs counts the stack frame paths, modules, route template, tags, and rules
that LogBrew checked. If the list is empty and inputs shows no paths, the
issue has no evidence to match, not no owner.
Write ownership rules in a text file, one rule per line:
path pattern matches the end of a stack frame path, so src/payments/**
matches frames under any deployment directory. * matches any text. Owners
are account emails or #team-slug. The last matching rule comes first.
Then send the rules, a GitHub CODEOWNERS file, or both:
@org/team-slug names the team
with that slug. Rules that name an account without project access or an
unknown team fail with 422. CODEOWNERS owners that name nobody appear in
unresolved_owners. An empty file clears its text.
Read the issue history
first_seen. An
account that lost project access keeps only its ID. Use --limit and the
next_cursor values to read more.
Read your inbox
unread counts the assignments after your read mark.
logbrew inbox read moves the read mark to now. LogBrew does not send email
for these assignments. The inbox shows only projects that you can read now.
Recommended workflow
1
List unresolved issues in one scope
2
Read the issue detail
3
Investigate one occurrence
subject.project_id, event.occurred_at, release, and environment with
your scope. The recommended occurrence can be older than the latest one.
Follow Investigate an issue for the full
evidence review.4
Follow trace evidence only when available
Read the trace only when The trace read has no time filter. If the status is
correlations.trace.status is available. Use
the trace ID from the response. Never invent one.not_linked,
continue with the issue evidence.5
Verify the candidate deployment
Use the investigated occurrence as the baseline. Get the deployment ID from
deployment evidence or your release process.No recurrence in the observation window does not prove a permanent fix.
If
status is insufficient_traffic or unavailable, keep the issue
unresolved. Follow the returned next action.6
Change status, priority, or assignee
Run one command. These commands do not ask for confirmation, so check the
issue ID first.Without
--project, each command takes 1 issue ID. Check the exit code
and the returned status, priority, and assignee. If the result is
missing, read the issue again before the next change.Older scripts can use logbrew set issue "<issue_id>" resolved and the
resolve, ignore, and reopen shortcuts. ignore sets archived.Change many issues at once
Add--project to change up to 100 issues of one project in one command:
Each entry has
issue_id, outcome, and issue. issue is the current
issue, or null for not_found. You can run the same command again after a
network failure. Issues that changed already show unchanged. For more than
100 issues, run more commands. For a not_found result, copy the ID again from
an issue list of that project. See
Update issues in bulk for
the API request.
Choose the next status
- Keep it
unresolvedwhen the failure is active or the fix is not verified. A missing trace is not a reason to archive an issue. - Set
resolvedafter the team accepts the fix evidence. A proposed fix is not evidence. - Set
archivedfor an accepted condition or a test-only signal. The decision applies to every occurrence of the issue. The command has no reason field, so record the reason in your team’s work record. - Reopen with
unresolvedwhen a new occurrence arrives after resolution.lifecycle.regression.first_reappeared_occurrenceidentifies it. Compare it with the occurrence used for resolution. Do not create a different issue.
Hand off the investigation
Give the next person references, not a raw event dump:- Issue ID, status, priority, assignee, and severity.
- Project, service, environment, and release.
- First-seen time, last-seen time, and occurrence count.
- Selected occurrence ID and
occurrence_selection.reason. fix.status,cause.status, and theirprovenance.- Trace status and trace ID, if available.
- Reproduction status and missing evidence.
- Candidate deployment verification result.
- The next action that the response returned.
Recover from CLI errors
Check the process exit code before you parse output. On success, JSON goes to standard output. A parse error exits with code2. A runtime error exits with
code 1. JSON errors go to standard error and contain ok: false, error,
message, and next. Show next as guidance. Do not run it automatically.
For example, logbrew issues archive "<issue_id_1>" "<issue_id_2>" --json
has no --project. It exits with code 2 before a request, with the error
invalid_issue_command.
When the API rejects a request, error is api_error. Read status for the
HTTP status and api_code for the API error code.
A failed response does not prove that a status, priority, or assignee change
had no effect. Read the
issue before you try again.
What makes a useful issue
- A clear title and a readable message.
- A stable fingerprint.
- Stack frames, when available.
- Release, environment, and service context.
- Trace context, when captured with the occurrence.
- Small, relevant attributes, not full payload dumps.
