---
updatedAt: 2026-10-01T20:17:06.000Z
agentTools:
  projectIndex: https://docs.observeinc.com/llms.txt
---

# Correlation tags

Learn how to use correlation tags to link data together in Observe by Snowflake.

Correlation tags are a flexible way to link data in Observe by Snowflake to support pivoting, or correlating, data. You can connect logs, metrics, traces and other data in Observe by Snowflake regardless of the underlying data format. It’s a way to say, “This column in this Dataset describes the same stuff as that column in that Dataset.” When multiple Datasets have columns (or nested fields within JSON objects) tagged with the same correlation tag, you can pivot between them by filtering them by the same common concept.

# Benefits of correlation tags

Correlation tags offer an easier and more flexible way to link data in Observe by Snowflake compared to [Resources](https://docs.observeinc.com/docs/resources).

Correlation tags have the following benefits:

* Can be added via the UI without writing OPAL.
* Can be added to app-installed content.
* Can be added to nested fields within JSON, such as `attributes.name`.
* Can be added and removed without triggering re-materialization or an increase in transform costs.
* Can help Observe by Snowflake's AI features work better. For example, it's necessary for AI SRE to be able to map an input such as **apiserver** to the correct Dataset and field in order to provide accurate answers.

# Add correlation tags to a Dataset

A correlation tag is a piece of metadata added to a Dataset, either automatically by the Observe by Snowflake system or manually by a user. Each correlation tag consists of a name and a path within a Dataset, which can either be a column or a nested path within JSON.

<Callout icon="📘" theme="info">
  ### Note

  Only Observe by Snowflake admins have permissions to add correlation tags to Datasets.
</Callout>

Correlation tags can be added to Datasets via the Dataset edit page. Below is an example of how to add a correlation tag:

1. Click **Datasets** in the left navigation.

2. Find the Dataset you want to edit, hover on the Dataset name and click the **Open Dataset page** icon (<i class="fa-regular fa-table-cells"></i>).

   <Image src="https://files.readme.io/efe80f85fb8d747c2f118e05afca19154f0ce3a86e8647629a11a48d9c368392-Screenshot_2026-01-22_at_10.55.55_AM.png" align="center" border={true} />

3. Click the **Properties** tab.

4. Click **Correlation tags**.

5. Click **New tag.**

6. Select the column and tag you want to use to create the correlation tag. In this example, we add the correlation tag **k8s.cluster.name** and attach it to the **cluster** column in the Kubernetes Logs:

   <Image src="https://files.readme.io/9b8fbf6d6b28fba87aac93e488779ccdb4ce2558c96d326af03023aa0f148d82-Screenshot_2026-01-22_at_11.41.19_AM.png" align="center" width="450em" border={true} />

7. Click **Add to list**.

You are taken back to the list of tags, where you can see your new tag in the table.

## Tag inheritance

After you create a new tag, you are taken back to the list of tags, where you can see your new tag in the table. Here, we see the tag **k8s.cluster.name** appears in the table:

<Image src="https://files.readme.io/3be824ee7d569234cc536622a62a7b7946d0df9f1d7ab254a5550e30a15e9e87-Screenshot_2026-02-02_at_2.14.14_PM.png" align="center" border={true} />

The **Origin** column tells you about the origination of each tag. Tags created manually from the Dataset, as described on this page, have the **Local** label in the Origin column. A tag such as **resource\_attributes."deployment.environment"** in this example comes from a parent Dataset and was inherited to this Dataset.

When a child Dataset is derived from a parent Dataset, if any columns remain unchanged between the parent and child Datasets, any correlation tags defined on such columns get inherited to the child Dataset. For example, suppose you have a parent Dataset with the following columns:

<Table align={["left","left","left","left"]}>
  <thead>
    <tr>
      <th>
        timestamp
      </th>

      <th>
        log (string)
      </th>

      <th>
        attributes (object)
      </th>

      <th>
        cluster (string)
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        2026-01-31 00:00
      </td>

      <td>
        Poller initialized
      </td>

      <td>
        `{”pod”: “poller”,   
                                                                                                                                                “namespace”: “eng-pollers”}`
      </td>

      <td>
        eng
      </td>
    </tr>

    <tr>
      <td>
        2026-01-31 00:01
      </td>

      <td>
        Poller initialized
      </td>

      <td>
        `{”pod”: “poller”,   
                                                                                                                                                “namespace”: “prod-pollers”}`
      </td>

      <td>
        prod
      </td>
    </tr>
  </tbody>
</Table>

And you have the following tags:

* **k8s.cluster.name** on cluster
* **k8s.namespace.name** on path attributes.namespace

Below is a mapping from child Dataset definitions and tags that would be inherited:

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Child definition
      </th>

      <th>
        Inherited tags
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `pick_col timestamp, cluster`
      </td>

      <td>
        **k8s.cluster.name** because the cluster column remained unchanged from parent to child Dataset.
      </td>
    </tr>

    <tr>
      <td>
        `timechart 1h, count:count(), group_by(cluster)`
      </td>

      <td>
        **k8s.cluster.name**
      </td>
    </tr>

    <tr>
      <td>
        `rename_col clusterName: cluster`
      </td>

      <td>
        **k8s.cluster.name** is defined on the clusterName column.
      </td>
    </tr>

    <tr>
      <td>
        `pick_col timestamp, namespace:attributes.namespace`
      </td>

      <td>
        Although entire attributes column is not retained, the **attributes.namespace** is extracted out to a new column.

        Because the new namespace column contains the same values as the parent, the **k8s.namespace.name** tag is retained.
      </td>
    </tr>
  </tbody>
</Table>

## Delete a tag

You can hover and click the delete icon (<i class="fa-regular fa-trash-can"></i>) to delete any local tag. Inherited tags can only be deleted from the origin Dataset.

<Image src="https://files.readme.io/ab45e343b8c2a9710058cf9871f7814dfb348965b642634e89d05ad9ab31efd4-Screenshot_2026-02-02_at_2.29.20_PM.png" align="center" border={true} />

## Create correlation tag parameters in dashboards

After adding a correlation tag, you can pivot via the pivot context menu. Using the pivot menu, users can pivot to related logs, metrics, and traces.

In this example, when we return to the Log Explorer and view the Kubernetes Logs, we can pivot on the cluster column. Adding the **k8s.cluster.name** tag and attaching it to the **cluster** column enables the pivots highlighted below:

<Image src="https://files.readme.io/731cd7978b6678a97395070510c52e1e2a66ae8667b675fca8a1e903f2844db4-Screenshot_2026-01-22_at_11.44.00_AM.png" align="center" border={true} />

See [Create a correlation tag dashboard parameter](https://docs.observeinc.com/docs/add-dashboard-parameters#create-a-correlation-tag-dashboard-parameter) for an example of how to add a correlation tag parameter to a dashboard, so that the dashboard can be destination for pivots from the Log Explorer.

## Log correlation using correlation tags

Correlation tags provide the ability to query across multiple log sources that shared common attributes, such as IDs. In other observability systems, this capability is known as log subqueries.

For example, if two teams submit logs to Observe by Snowflake containing a service name in two different naming formats, such as **serviceid** or one and **service\_name** for the other, you can add a correlation tag such as **service.name** to these two fields to ensure that users can run queries across both log Datasets.

To select tags to use in your queries, click in the filter bar

<Image src="https://files.readme.io/ca4c79f0409f833f24f8392052129c277775908eb058bf53448f2d7b28f2fb60-699be2175cf4f90e0e1744551b9557ea68f6c81bf33bc4c1fca1a87738acd8de-Screenshot_2026-05-05_at_10.38.37_PM.png" align="center" border={true} />

## Link applications logs to the Service Explorer

Our native [Service Explorer](https://docs.observeinc.com/update/docs/service-management)  is a core part of the Observe by Snowflake application performance monitoring (APM) offering.

You can link custom application logs to the Service Explorer by simply adding the **service.name** correlation tag to a column or path to any log Dataset.

<Callout icon="📘" theme="info">
  ### Note

  You must be on version 2.2.0 or higher of the OTEL app for this functionality to work.
</Callout>

<Image src="https://files.readme.io/e75cfd264c1690809950e76e250e2e10cecc5ea3c7e49d5f82263cbc5893fb69-Screenshot_2026-05-06_at_9.39.30_AM.png" align="center" border={true} />

## Automatic tagging

Observe by Snowflake automatically tags data coming from the Observe Agent with relevant tags following the [Open Telemetry Semantic Convention](https://opentelemetry.io/docs/specs/semconv/resource/)  for resources.

<br />