Log Properties

Learn more about searchable log properties.

Search logs in Explore → Logs. The keys below are common properties set by Sentry or the SDKs. Any custom attribute you attach on the log is searchable too, using the same attribute name you set in the SDK.

Raw text search matches message only. It does not search the rest of the log. Search is case sensitive by default. Use the Ignore case toggle in the search bar to match regardless of case. A regular expression uses message://pattern//. See regular expressions.

These keys can be used in a log search:

The log message body.

  • Type: string

The parameterized template, when the SDK recorded one. For example, Adding item {item} for user {user}.

  • Type: string

One parameter from a parameterized message. <name> is the parameter name or the positional index, such as message.parameter.item or message.parameter.0.

  • Type: string or number, depending on the value the SDK sent

The severity text. One of trace, debug, info, warn, error, or fatal.

  • Type: string

The numeric severity. Higher numbers are more severe. SDKs set the low end of each range: trace is 1, debug is 5, info is 9, warn is 13, error is 17, and fatal is 21.

  • Type: number

When the log was recorded.

  • Type: datetime

The trace ID for the active trace when the log was recorded.

  • Type: string

The span the log was emitted from. Empty when no span was active. Older SDKs send the same value as trace.parent_span_id.

  • Type: string

The log's unique ID.

  • Type: string

The project the log belongs to. You can also scope projects with the page filter.

  • Type: string

The environment set in the SDK, such as development, staging, or production. Learn more.

  • Type: string

The release set in the SDK. release:latest selects the most recent release. Learn more.

  • Type: string

The name of the logger that emitted the log, when the SDK or logging integration set one.

  • Type: string

Set when an SDK integration captured the log. For example, auto.log.serilog or auto.db.prisma. Direct calls to the Sentry logger API do not set this.

  • Type: string

Name of the Sentry SDK that sent the log.

  • Type: string

Version of the Sentry SDK that sent the log.

  • Type: string

Size of the log payload, in bytes.

  • Type: number

The ID of the active replay when the log was recorded.

  • Type: string

Display name of the browser. Relay parses this from the user agent when the SDK does not set it.

  • Type: string

Version of the browser.

  • Type: string

Application-specific identifier for the user. Sent when send default PII is enabled, or when you set it yourself.

  • Type: string

Email address of the user.

  • Type: string

Username of the user.

  • Type: string

Server address. Backend SDKs attach this.

  • Type: string

Operating system name. Mobile, desktop, and native SDKs attach this.

  • Type: string

Operating system version.

  • Type: string

Device brand.

  • Type: string

Device model.

  • Type: string

Device family.

  • Type: string

File path captured with the log, when the SDK recorded a code location.

  • Type: string

Function name captured with the log.

  • Type: string

Line number captured with the log.

  • Type: number
Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").