Commands
event
View Sentry events
Commands
sentry event view <org/project/event-id...>
View details of a specific event
Arguments:
| Argument | Description |
|---|---|
<org/project/event-id...> | [<org>/<project>] <event-id> - Target (optional) and event ID (required) |
Options:
| Option | Description |
|---|---|
-w, --web | Open in browser |
--spans <spans> | Span tree depth limit (number, "all" for unlimited, "no" to disable) (default: "3") |
-f, --fresh | Bypass cache, re-detect projects, and fetch fresh data |
All commands support --json for machine-readable output and --fields to select specific JSON fields.
Examples
sentry event view abc123def456abc123def456abc12345Event: abc123def456abc123def456abc12345Issue: FRONT-ABCTimestamp: 2024-01-20 14:22:00
Exception: TypeError: Cannot read property 'foo' of undefined at processData (app.js:123:45) at handleClick (app.js:89:12) at HTMLButtonElement.onclick (app.js:45:8)
Tags: browser: Chrome 120 os: Windows 10 environment: production release: 1.2.3
Context: url: https://example.com/app user_id: 12345# Open in browsersentry event view abc123def456abc123def456abc12345 -wFinding Event IDs
Event IDs can be found:
- In the Sentry UI when viewing an issue's events
- In the output of
sentry issue viewcommands - In error reports sent to Sentry (as
event_id)