# Segments

Segments are saved filters on [Log](https://docs.dbnl.com/v0.27.x/workflow/logs) data corresponding to a specific behavioral signal discovered manually or from an [Insight](https://docs.dbnl.com/v0.27.x/workflow/insights).

All Segments are computed and published to the [Segments Dashboard](https://docs.dbnl.com/v0.27.x/dashboards#segments-dashboard) as part of the [DBNL Data Pipeline](https://docs.dbnl.com/v0.27.x/configuration/data-pipeline) and adapt future analytics by informing DBNL that the saved Segment is a meaningful bifurcation of the [Logs](https://docs.dbnl.com/v0.27.x/workflow/logs) data.

## When to Create Segments

Create a segment when you've identified a meaningful behavioral pattern you want to track over time, such as:

* **Error conditions**: Logs containing specific error types or failure patterns
* **High-value interactions**: User sessions with purchases, conversions, or key actions
* **Quality issues**: Low-scoring responses that need monitoring
* **User cohorts**: Specific user groups (power users, new users, etc.)
* **Performance bottlenecks**: Requests exceeding latency thresholds

Once saved, segments are automatically analyzed in future pipeline runs, generating dedicated metrics and appearing on dashboards.

## Creating Segments

Segments can be created in three ways:

1. From an [Insight](https://docs.dbnl.com/v0.27.x/workflow/insights) that specifies a Segment corresponding to the behavioral signal observed
2. Anywhere a filter is constructed on the [Explorer](https://docs.dbnl.com/v0.27.x/workflow/explorer) or [Logs](https://docs.dbnl.com/v0.27.x/workflow/logs) pages
3. Manually from the Segments page on the sidebar

Segments can be modified or deleted from the Segments page on the sidebar.

<figure><img src="https://content.gitbook.com/content/8N8zzLtIch6ZiTSwWtXD/blobs/PH6L0iw6p36wpWRJn6MH/image.png" alt=""><figcaption></figcaption></figure>
