Create a new correlation
This documentation topic is designed for Grafana workspaces that support Grafana version 10.x.
For Grafana workspaces that support Grafana version 9.x, see Working in Grafana version 9.
For Grafana workspaces that support Grafana version 8.x, see Working in Grafana version 8.
You can create correlations in the Explore correlations editor, or using the Grafana Administration page in your Amazon Managed Grafana workspace.
Prerequisites
You must have permission to add new correlations. Only users with write permissions to data sources can define new correlations.
Creating a correlation in Explore’s correlations editor
You can create a correlation in the Explore correlation editor. For more details, see Creating a correlation.
Creating a correlation in the Administration page
You can use the Grafana console Administration page to create a correlation.
To create a correlation in the Administration page
-
Go to the Administration section in Grafana.
-
Under Plugins and data, open the Correlations page.
-
Choose the Add button in the top right corner.
-
Provide a label for the correlation.
-
(Optional) Provide an description.
-
Go to the next page.
-
Provide target data source.
-
Provide target query using variables.
-
Go to the next page.
-
Provide source data source.
-
Provide results field.
-
Add transformations if you need variables that are not fields in the source data source.
-
Choose Add to add a new transformation.
-
Select the type of a transformation.
-
Configure transformation depending on the selected type.
-
Save the correlation.
You can edit a correlation in the same way, but when editing, you can't change the selected data sources.