Create segments for teams

As organizations grow, you can use segmentation to manage Adaptive Logs per team, service, department, or system.

To create a segment, complete the following steps.

Create, update, and manage segments through the Grafana user interface.

To create a new segment, complete the following steps.

  1. Navigate to Adaptive Logs > Configuration.

  2. Click Add new segment.

  3. Enter a name.

    Give your segment a descriptive name that clearly identifies the team it applies to.

  4. Enter a label.

    Specify the log stream label that distinguishes the metrics belonging to a particular team. In the context of Kubernetes, this is often namespace.

    Note

    Once you choose a label for segmentation, that label is used for all segments. Only one label can be used across all segments.

  5. Enter a value.

    Define the criteria for matching the label you specified. This is where you tell Grafana which values of that label correspond to the current team’s log streams. In the UI, you can select values using a dropdown. Enter the exact name of the Kubernetes namespaces or label values for the team (for example, web-frontend, web-backend). If a team owns multiple namespaces, you can enter multiple values.

    Note

    Each value can only be used once. Therefore, once a value is added to a segment, it cannot be used in another.

  6. Click Add.

In the next milestone, you’ll learn how to automatically apply recommendations.

More to explore (optional)

At this point in your journey, you can explore the following paths:

Configure segments


page 6 of 8