Menu
Grafana Cloud
Enterprise
Open source
Last reviewed: July 17, 2026Azure Data Explorer annotations
Annotations overlay event markers on graphs. Use an Azure Data Explorer query to add annotations that mark points in time across your dashboard panels.
Before you begin
Before you create annotations, ensure you have the following:
- A configured Azure Data Explorer data source.
- A dashboard to add annotations to.
Create an annotation query
To add an annotation query that uses Azure Data Explorer data:
- Navigate to Dashboard settings > Annotations.
- Click Add annotation query.
- Enter a name for the annotation query.
- Select the Azure Data Explorer data source.
- Write a Kusto query that returns the required columns, as described in the following section.
Query requirements
An annotation query can return up to three columns per row. Because annotation rendering is expensive, limit the number of rows returned.
Return the following columns:
- A column with the
datetimetype for the annotation time. This column is required. - A column aliased as
Textortextfor the annotation text. - A column aliased as
Tagsortagsfor the annotation tags. Return a comma-separated string of tags, such as'tag1,tag2'.
Examples
The following query returns annotations with text and tags from a log table:
MyLogs
| where $__timeFilter(Timestamp)
| project Timestamp, Text=Message, Tags="tag1,tag2"The text and tags columns are optional. The following query returns annotations with only a time and text column:
MyLogs
| where $__timeFilter(Timestamp)
| project Timestamp, Text=MessageFor more information about adding and using annotations, refer to Annotations.


