

# Data links
<a name="data-links"></a>

****  
This documentation topic is designed for Grafana workspaces that support **Grafana version 8.x**.  
For Grafana workspaces that support Grafana version 12.x, see [Working in Grafana version 12](using-grafana-v12.md).  
For Grafana workspaces that support Grafana version 10.x, see [Working in Grafana version 10](using-grafana-v10.md).  
For Grafana workspaces that support Grafana version 9.x, see [Working in Grafana version 9](using-grafana-v9.md).

 Data links provide more granular context to your links. You can create links that include the series name or even the value. For example, if your visualization shows four servers, you can add a data link to one or two of them. 

 The link itself is accessible in different ways, depending on the visualization. For the graph panel, you need to choose a data point or line. For a panel such as stat, gauge, or bar gauge, you can choose anywhere on the visualization to open the context menu. 

 You can use variables in data links to send people to a detailed dashboard with preserved data filters. For example, you can use variables to specify a time range, series, and variable selection. For more information, see [Data link variables](linking-in-Amazon-Managed-Service-for-Grafana.md#data-link-variables). 

## Typeahead suggestions
<a name="typeahead-suggestions"></a>

 When you create or update a data link, press **Ctrl\$1Space** or **Cmd\$1Space**Cmd\$1Space on your keyboard to open the typeahead suggestions to more easily add variables to your URL. 

## Adding a data link
<a name="add-a-data-link"></a>

1.  Pause on the panel that you want to add a link to, and then press **e**. Or choose the dropdown arrow next to the panel title, and then choose **Edit**. 

1.  On the **Field** tab, scroll down to the **Data links** section. 

1.  Expand **Data links**, and then choose **Add link**. 

1.  Enter a **Title** for the link. The title will be displayed in the UI. 

1.  Enter the **URL** that you want to link to. 

    You can add one of the template variables that are defined in the dashboard. Choose the **URL** field, and then type **\$1**, or press ****Ctrl\$1Space or **Cmd\$1Space** to see a list of available variables. When you add template variables to your panel link, the link sends the user to the right context, with the relevant variables already set. For more information, see [Data link variables](linking-in-Amazon-Managed-Service-for-Grafana.md#data-link-variables). 

1.  To open in a new tab, select **Open in a new tab**. 

1.  Choose **Save** to save changes and close the window. 

1.  Choose **Save** in the upper right to save your changes to the dashboard. 

## Updating a data link
<a name="update-a-data-link"></a>

1.  On the **Field** tab, find the link that you want to make changes to. 

1.  Choose the **Edit** (pencil) icon to open the **Edit link** window. 

1.  Make any necessary changes. 

1.  Choose **Save** to save changes and close the window. 

1.  Choose **Save** in the upper right to save your changes to the dashboard. 

## Deleting a data link
<a name="delete-a-data-link"></a>

1.  On the **Field** tab, find the link that you want to delete. 

1.  Choose the **X** icon next to the link that you want to delete. 

1.  Choose **Save** in the upper right to save your changes to the dashboard. 