2023-04-12 21:24:11 +08:00
---
keywords:
- correlations
- Explore
Explicitly set all front matter labels in the source files (#71548)
* Set every page to have defaults of 'Enterprise' and 'Open source' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration pages to have of 'Cloud', 'Enterprise', and 'Open source' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/enterprise-licensing pages to have 'Enterprise' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/organization-management pages to have 'Enterprise' and 'Open source' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/provisioning pages to have 'Enterprise' and 'Open source' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/recorded-queries pages to have labels cloud,enterprise
* Set administration/roles-and-permissions/access-control pages to have labels cloud,enterprise
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/stats-and-license pages to have labels cloud,enterprise
* Set alerting pages to have labels cloud,enterprise,oss
* Set breaking-changes pages to have labels cloud,enterprise,oss
* Set dashboards pages to have labels cloud,enterprise,oss
* Set datasources pages to have labels cloud,enterprise,oss
* Set explore pages to have labels cloud,enterprise,oss
* Set fundamentals pages to have labels cloud,enterprise,oss
* Set introduction/grafana-cloud pages to have labels cloud
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Fix introduction pages products
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set panels-visualizations pages to have labels cloud,enterprise,oss
* Set release-notes pages to have labels cloud,enterprise,oss
* Set search pages to have labels cloud,enterprise,oss
* Set setup-grafana/configure-security/audit-grafana pages to have labels cloud,enterprise
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set setup-grafana/configure-security/configure-authentication pages to have labels cloud,enterprise,oss
* Set setup-grafana/configure-security/configure-authentication/enhanced-ldap pages to have labels cloud,enterprise
* Set setup-grafana/configure-security/configure-authentication/saml pages to have labels cloud,enterprise
* Set setup-grafana/configure-security/configure-database-encryption/encrypt-secrets-using-hashicorp-key-vault pages to have labels cloud,enterprise
* Set setup-grafana/configure-security/configure-request-security pages to have labels cloud,enterprise,oss
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set setup-grafana/configure-security/configure-team-sync pages to have labels cloud,enterprise
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set setup-grafana/configure-security/export-logs pages to have labels cloud,enterprise
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set troubleshooting pages to have labels cloud,enterprise,oss
* Set whatsnew pages to have labels cloud,enterprise,oss
* Apply updated labels from review
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-07-18 16:10:12 +08:00
labels:
products:
- enterprise
- oss
title: Correlations
weight: 900
2023-04-12 21:24:11 +08:00
---
# Correlations
2024-09-30 20:43:45 +08:00
You can create interactive links for Explore visualizations by setting up Correlations. These links can either run queries or generate external URLs related to presented data.
2023-04-12 21:24:11 +08:00
2025-03-06 20:59:08 +08:00
A correlation defines how data in one [data source ](../../datasources/ ) is used to query data in another data source or to generate an external URL.
2023-10-19 16:57:37 +08:00
Some examples:
2023-04-12 21:24:11 +08:00
- an application name returned in a logs data source can be used to query metrics related to that application in a metrics data source, or
- a user name returned by an SQL data source can be used to query logs related to that particular user in a logs data source
2024-09-30 20:43:45 +08:00
- a customer ID in a logs data source can link to a different platform that has a profile on that customer.
2023-04-12 21:24:11 +08:00
2025-03-06 20:59:08 +08:00
[Explore ](../../explore/ ) takes user-defined correlations to display links inside the visualizations.
If a correlation links to a query, you can click on that link to run the related query and see results in [Explore Split View ](../../explore/#split-and-compare ).
2024-09-30 20:43:45 +08:00
If a correlation links to an external URL, you can click on the link to open the URL in a new tab in your browser.
2023-04-12 21:24:11 +08:00
Explore visualizations that currently support showing links based on correlations:
2025-03-06 20:59:08 +08:00
- [Logs Panel ](use-correlations-in-visualizations/#correlations-in-logs-panel )
- [Table ](use-correlations-in-visualizations/#correlations-in-table )
2023-04-12 21:24:11 +08:00
2025-03-06 20:59:08 +08:00
You can configure correlations using [provisioning ](../provisioning/ ), the **Administration > Plugins and data > Correlations** page in Grafana or directly in [Explore ](../../explore/correlations-editor-in-explore/ ).
2023-04-12 21:24:11 +08:00
## Example of how links work in Explore once set up
2023-10-19 16:57:37 +08:00
{{< figure src = "/static/img/docs/correlations/correlations-in-explore-10-0.gif" alt = "Demonstration of following a correlation link in Grafana Explore" caption = "Correlations links in Explore" > }}
2023-04-12 21:24:11 +08:00
See also:
{{< section > }}