# Logs

The Logs page allows the user to inspect specific logs with certain properties defined by

* A specific time window (default: last 7 full days of data)
* Specific filters on [Columns](https://docs.dbnl.com/v0.27.x/configuration/data-pipeline#columns) or [Metrics](https://docs.dbnl.com/v0.27.x/workflow/metrics) (default: no filters)

{% hint style="info" %}
Typically, the Logs page is visited as part of investigating a specific [Insight](https://docs.dbnl.com/v0.27.x/workflow/insights) or by clicking on part of a chart from a [Dashboard](https://docs.dbnl.com/v0.27.x/workflow/dashboards), in which case the filters and time window will already be applied.
{% endhint %}

Individual Logs can be viewed in a variety of ways:

* [**Detailed View**](#log-detail-view): All [Columns](https://docs.dbnl.com/v0.27.x/configuration/data-pipeline#columns) and [Metrics](https://docs.dbnl.com/v0.27.x/workflow/metrics) of the log viewed together and optionally expanded.
* [**Trace View**](#log-trace-view) (if `spans` provided): The waterfall trace view of latency and timing for each individual span.
* [**Session View**](#log-session-view) (if `session_id` provided): All associated logs for the given session, along with [Metrics](https://docs.dbnl.com/v0.27.x/workflow/metrics).

As part of inspecting the logs the user can

* View the filtered logs as charts and tables in the [Explorer](https://docs.dbnl.com/v0.27.x/workflow/explorer)
* Save the specific filters as a [Segment](https://docs.dbnl.com/v0.27.x/workflow/segments) to publish it on the [Segments Dashboard](https://docs.dbnl.com/v0.27.x/dashboards#segments-dashboard)

<figure><img src="https://content.gitbook.com/content/8N8zzLtIch6ZiTSwWtXD/blobs/zXNro0hPBBGwVJK6UtV1/DBNL-logs.png" alt=""><figcaption></figcaption></figure>

### Log Detail View

All [Columns](https://docs.dbnl.com/v0.27.x/configuration/data-pipeline#columns) and [Metrics](https://docs.dbnl.com/v0.27.x/workflow/metrics) of the log viewed together and optionally expanded.

<figure><img src="https://content.gitbook.com/content/8N8zzLtIch6ZiTSwWtXD/blobs/tosekdR33Ekc1i8kEtsb/DBNL-logs-details.png" alt=""><figcaption></figcaption></figure>

### Log Trace View

The waterfall trace view of latency and timing for each individual span. Only available if `spans` was provided as part of the [DBNL Semantic Convention](https://docs.dbnl.com/v0.27.x/configuration/dbnl-semantic-convention).

<figure><img src="https://content.gitbook.com/content/8N8zzLtIch6ZiTSwWtXD/blobs/UJmuy0IhJCNiYMbAZoll/DBNL-logs-traces.png" alt=""><figcaption></figcaption></figure>

### Log Session View

All associated logs for the given session, along with [Metrics](https://docs.dbnl.com/v0.27.x/workflow/metrics). Only available if `session_id` was provided as part of the [DBNL Semantic Convention](https://docs.dbnl.com/v0.27.x/configuration/dbnl-semantic-convention).

<figure><img src="https://content.gitbook.com/content/8N8zzLtIch6ZiTSwWtXD/blobs/OBitjHyejAtPIktLGWmz/DBNL-logs-session.png" alt=""><figcaption></figcaption></figure>
