Skip to content
Docs GitHub

event

View Sentry events

Commands

sentry event view <org/project/event-id...>

View details of a specific event

Arguments:

ArgumentDescription
<org/project/event-id...>[<org>/<project>] <event-id> - Target (optional) and event ID (required)

Options:

OptionDescription
-w, --webOpen in browser
--spans <spans>Span tree depth limit (number, "all" for unlimited, "no" to disable) (default: "3")
-f, --freshBypass cache, re-detect projects, and fetch fresh data

All commands support --json for machine-readable output and --fields to select specific JSON fields.

Examples

Terminal window
sentry event view abc123def456abc123def456abc12345
Event: abc123def456abc123def456abc12345
Issue: FRONT-ABC
Timestamp: 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
Terminal window
# Open in browser
sentry event view abc123def456abc123def456abc12345 -w

Finding Event IDs

Event IDs can be found:

  1. In the Sentry UI when viewing an issue's events
  2. In the output of sentry issue view commands
  3. In error reports sent to Sentry (as event_id)