# Logs and Errors

> Browse grouped logs and errors in Uptrace, filter by service or severity, search by text or attribute, and inspect individual records with aggregated stats and per-entry details.

Uptrace collects [logs](/opentelemetry/logs) and exceptions alongside traces, correlating them with spans automatically. The Logs & Errors section provides grouped and raw views of log records with filtering, search, and per-entry detail.

<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
<iframe style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" src="https://www.youtube.com/embed/qhNU9Ztd21w?si=P_VFqpjjBoGce6du" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerPolicy="strict-origin-when-cross-origin" allowFullScreen="true">



</iframe>
</div>

## Groups view

By default, similar logs are [grouped](/features/logs/grouping) automatically by their `_group_id`. The Groups view shows each unique log pattern as a row with its frequency and last occurrence.

<video autoPlay="true" loop="true" muted="true" playsInline="true">
<source src="/video/product/logs/log-groups.mp4" type="video/mp4" />
</video>

Default aggregations are `perMin(count())` and `max(_time)`. Sparklines on the right show how group frequency changes over time.

## Logs tab

The **Logs** tab shows individual log records in chronological order with a volume histogram at the top.

<video autoPlay="true" loop="true" muted="true" playsInline="true">
<source src="/video/product/logs/log-search.mp4" type="video/mp4" />
</video>

### Filters

Logs are filterable by any indexed attribute — `service_name`, `log_severity`, `host_name`, `deployment_environment`, and any custom attributes recorded on the log entry. Filters support equality, exclusion, regex, and range expressions. The **Show Filters** panel lists all available attributes with their values for quick selection.

### Search

The search field supports full-text search across group-by columns with AND/OR logic, exclusion prefixes, and attribute-scoped queries (`_kind:client`, `-key:value`). Matching terms are highlighted inline.

![Search field with highlighted matches](/features/logs/search.webp)

See [Searching](/features/searching) for the full syntax reference.

## Log entry detail panel

The detail panel has six tabs: **ATTRS**, **GROUP**, **JSON**, **TRACES**, **CONTEXT**, **TAGS**.

<video autoPlay="true" loop="true" muted="true" playsInline="true">
<source src="/video/product/logs/log-structured.mp4" type="video/mp4" />
</video>

**ATTRS** — all key-value attributes recorded on the log entry, with type annotations (`::str`, `::int`, `::bool`). Attributes are grouped by category: `code`, `service`, `telemetry`, `other`. A filter field narrows the list by key name.

**GROUP** — group ID, rate per minute, key attribute values (`log_severity`, `telemetry_sdk_language`), and a bar chart showing event frequency over time.

**JSON** — full internal record including span metadata (`id`, `parentId`, `traceId`, `groupId`, `type`, `system`) and the complete `attrs` object.

**TRACES** — span groups that co-occurred in the same [traces](/features/traces/querying-traces) as this log entry, with configurable metric columns and an **Explore Traces** button.

**CONTEXT** — neighboring log entries from the same trace context.

**TAGS** — tags associated with the log entry.

## Timeseries view

The **Timeseries** tab shows log group frequency over time as a line chart. Individual groups can be toggled to isolate patterns.

<video autoPlay="true" loop="true" muted="true" playsInline="true">
<source src="/features/logs/log-timeseries.mp4" type="video/mp4" />
</video>

[Error monitors](/features/alerting/error-monitors) automatically fire alerts when logs reach `ERROR` or `FATAL` severity, or match a specific message pattern or exception type.
