<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Explore on Grafana Labs</title><link>https://grafana.com/docs/grafana/v12.4/visualizations/explore/</link><description>Recent content in Explore on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/grafana/v12.4/visualizations/explore/index.xml" rel="self" type="application/rss+xml"/><item><title>Get started with Explore</title><link>https://grafana.com/docs/grafana/v12.4/visualizations/explore/get-started-with-explore/</link><pubDate>Fri, 03 Apr 2026 12:35:46 -0500</pubDate><guid>https://grafana.com/docs/grafana/v12.4/visualizations/explore/get-started-with-explore/</guid><content><![CDATA[&lt;h1 id=&#34;get-started-with-explore&#34;&gt;Get started with Explore&lt;/h1&gt;
&lt;p&gt;Explore is your gateway for querying, analyzing, and aggregating data in Grafana. It allows you to visually explore and iterate until you develop a working query or set of queries for building visualizations and conducting data analysis. If your data source supports graph and table data, there&amp;rsquo;s no need to create a dashboard, as Explore can display the results in both formats. This facilitates quick, detailed, real-time data analysis.&lt;/p&gt;
&lt;p&gt;With Explore you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create visualizations to integrate into your dashboards.&lt;/li&gt;
&lt;li&gt;Create queries using mixed data sources.&lt;/li&gt;
&lt;li&gt;Create multiple queries within a single interface.&lt;/li&gt;
&lt;li&gt;Understand the shape of your data across various data sources.&lt;/li&gt;
&lt;li&gt;Perform real time data exploration and analysis.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Key features include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Query editor, based on specific data source, to create and iterate queries.&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/explore/query-management/&#34;&gt;Query history&lt;/a&gt; to track and maintain your queries.&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/explore/explore-inspector/&#34;&gt;Query inspector&lt;/a&gt; to help troubleshoot query performance.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Watch the following video to get started using Explore:&lt;/p&gt;


  &lt;div
    class=&#34;youtube-lazyload responsive-video&#34;
    data-embed=&#34;1q3YzX2DDM4&#34;
    data-url=&#34;https://www.youtube.com/embed/1q3YzX2DDM4?autoplay=1&#34;
    data-title=&#34;YouTube Video&#34;
  &gt;
    &lt;div class=&#34;play-button&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;h2 id=&#34;before-you-begin&#34;&gt;Before you begin&lt;/h2&gt;
&lt;p&gt;In order to access Explore, you must have either the &lt;code&gt;editor&lt;/code&gt; or &lt;code&gt;administrator&lt;/code&gt; basic role or the &lt;code&gt;data sources explore&lt;/code&gt; role. Refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/roles-and-permissions/&#34;&gt;Role and permissions&lt;/a&gt; for more information on what each role can access.&lt;/p&gt;
&lt;p&gt;Refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/roles-and-permissions/access-control/&#34;&gt;Role-based access control (RBAC)&lt;/a&gt; in Grafana Enterprise to understand how you can manage Explore with role-based permissions.&lt;/p&gt;
&lt;h2 id=&#34;explore-elements&#34;&gt;Explore elements&lt;/h2&gt;
&lt;p&gt;Explore consists of a toolbar, outline, query editor, the ability to add multiple queries, a query history and a query inspector.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Outline&lt;/strong&gt; - Keeps track of the queries and visualization panels created in Explore. Refer to &lt;a href=&#34;#content-outline&#34;&gt;Content outline&lt;/a&gt; for more detail.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Toolbar&lt;/strong&gt; - Provides quick access to frequently used tools and settings.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Data source picker&lt;/strong&gt; - Select a data source from the dropdown menu, or use absolute time.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Split&lt;/strong&gt; - Click to compare visualizations side by side. Refer to &lt;a href=&#34;#split-and-compare&#34;&gt;Split and compare&lt;/a&gt; for additional detail.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Add&lt;/strong&gt; - Click to add your exploration to a dashboard. You can also use this to declare an incident,create a forecast, detect outliers and to run an investigation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Time picker&lt;/strong&gt; - Select a time range form the time picker. You can also enter an absolute time range. Refer to &lt;a href=&#34;#time-picker&#34;&gt;Time picker&lt;/a&gt; for more information.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Run query&lt;/strong&gt; - Click to run your query.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Query editor&lt;/strong&gt; - Interface where you construct the query for a specific data source. Query editor elements differ based on data source. In order to run queries across multiple data sources you need to select &lt;strong&gt;Mixed&lt;/strong&gt; from the data source picker.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Saved queries&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Save query&lt;/strong&gt; - To 
    &lt;a href=&#34;/docs/grafana/v12.4/visualizations/panels-visualizations/query-transform-data/#save-a-query&#34;&gt;save the query&lt;/a&gt; for reuse, click the &lt;strong&gt;Save query&lt;/strong&gt; button (or icon).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Replace query&lt;/strong&gt; - Reuse a saved query.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&#43; Add query&lt;/strong&gt; - Add an additional query.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&#43; Add from saved queries&lt;/strong&gt; - Add an additional query by reusing a saved query.&lt;/li&gt;
&lt;/ul&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/visualizations/panels-visualizations/query-transform-data/#saved-queries&#34;&gt;Saved queries&lt;/a&gt; is currently in &lt;a href=&#34;/docs/release-life-cycle/&#34;&gt;public preview&lt;/a&gt; in Grafana Enterprise and Grafana Cloud only.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Query history&lt;/strong&gt; - Query history contains the list of queries that you created in Explore. You can also add queries from the history to your saved queries. Refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/query-management/#query-history&#34;&gt;Query history&lt;/a&gt; for detailed information on working with your query history.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Query inspector&lt;/strong&gt; - Provides detailed statistics regarding your query. Inspector functions as a kind of debugging tool that &amp;ldquo;inspects&amp;rdquo; your query. It provides query statistics under &lt;strong&gt;Stats&lt;/strong&gt;, request response time under &lt;strong&gt;Query&lt;/strong&gt;, data frame details under &lt;strong&gt;{} JSON&lt;/strong&gt;, and the shape of your data under &lt;strong&gt;Data&lt;/strong&gt;. Refer to &lt;a href=&#34;/docs/grafana/latest/explore/explore-inspector/&#34;&gt;Query inspector in Explore&lt;/a&gt; for additional information.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;access-explore&#34;&gt;Access Explore&lt;/h2&gt;
&lt;p&gt;To access Explore:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Click on &lt;strong&gt;Explore&lt;/strong&gt; in the left side menu.&lt;/p&gt;
&lt;p&gt;To start with an existing query from a dashboard panel, select the Explore option from the Panel menu in the upper right. This opens an Explore page with the panel&amp;rsquo;s query, enabling you to tweak or iterate the query outside your dashboard.&lt;/p&gt;
&lt;figure
       class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
       style=&#34;max-width: 941px;&#34;
       itemprop=&#34;associatedMedia&#34;
       itemscope=&#34;&#34;
       itemtype=&#34;http://schema.org/ImageObject&#34;
     &gt;&lt;a
           class=&#34;lightbox-link captioned&#34;
           href=&#34;/media/docs/grafana/panels-visualizations/screenshot-panel-menu-10.1.png&#34;
           itemprop=&#34;contentUrl&#34;
         &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
             class=&#34;lazyload mb-0&#34;
             data-src=&#34;/media/docs/grafana/panels-visualizations/screenshot-panel-menu-10.1.png&#34;data-srcset=&#34;/media/docs/grafana/panels-visualizations/screenshot-panel-menu-10.1.png?w=320 320w, /media/docs/grafana/panels-visualizations/screenshot-panel-menu-10.1.png?w=550 550w, /media/docs/grafana/panels-visualizations/screenshot-panel-menu-10.1.png?w=750 750w, /media/docs/grafana/panels-visualizations/screenshot-panel-menu-10.1.png?w=900 900w, /media/docs/grafana/panels-visualizations/screenshot-panel-menu-10.1.png?w=1040 1040w, /media/docs/grafana/panels-visualizations/screenshot-panel-menu-10.1.png?w=1240 1240w, /media/docs/grafana/panels-visualizations/screenshot-panel-menu-10.1.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Panel menu with Explore option&#34;width=&#34;941&#34;height=&#34;309&#34;title=&#34;Panel menu with Explore option&#34;/&gt;
           &lt;noscript&gt;
             &lt;img
               src=&#34;/media/docs/grafana/panels-visualizations/screenshot-panel-menu-10.1.png&#34;
               alt=&#34;Panel menu with Explore option&#34;width=&#34;941&#34;height=&#34;309&#34;title=&#34;Panel menu with Explore option&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
           &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Panel menu with Explore option&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select a data source from the drop-down in the upper left.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Using the query editor provided for the specific data source, begin writing your query. Each query editor differs based on each data source&amp;rsquo;s unique elements.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Some query editors provide a &lt;strong&gt;Kick start your query&lt;/strong&gt; option, which gives you a list of basic pre-written queries. Refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/#use-query-editors&#34;&gt;Use query editors&lt;/a&gt; to see how to use various query editors. For general information on querying data sources in Grafana, refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/query-transform-data/&#34;&gt;Query and transform data&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Based on specific data source, certain query editors allow you to select the label or labels to add to your query. Labels are fields that consist of key/value pairs representing information in the data. Some data sources allow for selecting fields.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;Run query&lt;/strong&gt; in the upper right to run your query.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;content-outline&#34;&gt;Content outline&lt;/h2&gt;
&lt;p&gt;The content outline is a side navigation bar that keeps track of the queries and visualizations you created in Explore. It allows you to navigate between them quickly.&lt;/p&gt;
&lt;p&gt;The content outline works in a split view, with a separate outline generated for each pane.&lt;/p&gt;
&lt;p&gt;To open the content outline:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click the Outline button in the top left corner of the Explore screen.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can then click on any panel icon in the content outline to navigate to that panel.&lt;/p&gt;
&lt;h2 id=&#34;split-and-compare&#34;&gt;Split and compare&lt;/h2&gt;
&lt;p&gt;The split view enables easy side-by-side comparison of visualizations or simultaneous viewing of related data on a single page.&lt;/p&gt;
&lt;p&gt;To open the split view:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click the split button to duplicate the current query and split the page into two side-by-side queries.&lt;/li&gt;
&lt;li&gt;Run and re-run queries as often as needed.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can select a different data source, or different metrics and label filters for the new query, allowing you to compare the same query across two different servers or compare the staging environment with the production environment.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p &#34;
    style=&#34;max-width: 950px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/media/docs/grafana/panels-visualizations/screenshot-explore-split-10.1.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/media/docs/grafana/panels-visualizations/screenshot-explore-split-10.1.png&#34;data-srcset=&#34;/media/docs/grafana/panels-visualizations/screenshot-explore-split-10.1.png?w=320 320w, /media/docs/grafana/panels-visualizations/screenshot-explore-split-10.1.png?w=550 550w, /media/docs/grafana/panels-visualizations/screenshot-explore-split-10.1.png?w=750 750w, /media/docs/grafana/panels-visualizations/screenshot-explore-split-10.1.png?w=900 900w, /media/docs/grafana/panels-visualizations/screenshot-explore-split-10.1.png?w=1040 1040w, /media/docs/grafana/panels-visualizations/screenshot-explore-split-10.1.png?w=1240 1240w, /media/docs/grafana/panels-visualizations/screenshot-explore-split-10.1.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Screenshot of Explore screen split&#34;width=&#34;1746&#34;height=&#34;850&#34;title=&#34;Screenshot of Explore screen split&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/grafana/panels-visualizations/screenshot-explore-split-10.1.png&#34;
            alt=&#34;Screenshot of Explore screen split&#34;width=&#34;1746&#34;height=&#34;850&#34;title=&#34;Screenshot of Explore screen split&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Screenshot of Explore screen split&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;You can also link the time pickers for both panels by clicking on one of the time-sync buttons attached to the time pickers. When linked, changing the time in one panel automatically updates the other, keeping the start and end times synchronized. This ensures that both split panels display data for the same time interval.&lt;/p&gt;
&lt;p&gt;Click &lt;strong&gt;Close&lt;/strong&gt; to quit split view.&lt;/p&gt;
&lt;h2 id=&#34;time-picker&#34;&gt;Time picker&lt;/h2&gt;
&lt;p&gt;Use the time picker to select a time range for your query. The default is &lt;strong&gt;last hour&lt;/strong&gt;. You can select a different option from the dropdown or use an absolute time range. You can also change the timezone associated with the query, or use a fiscal year.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;Change time settings&lt;/strong&gt; to change the timezone or apply a fiscal year.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/use-dashboards/#set-dashboard-time-range&#34;&gt;Set dashboard time range&lt;/a&gt; for more information on absolute and relative time ranges. You can also 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/use-dashboards/#control-the-time-range-using-a-url&#34;&gt;control the time range using a URL&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;mixed-data-source&#34;&gt;Mixed data source&lt;/h2&gt;
&lt;p&gt;Select &lt;strong&gt;Mixed&lt;/strong&gt; from the data source dropdown to run queries across multiple data sources in the same panel. When you select Mixed, you can select a different data source for each new query that you add.&lt;/p&gt;
&lt;h2 id=&#34;share-explore-urls&#34;&gt;Share Explore URLs&lt;/h2&gt;
&lt;p&gt;When using Explore, the URL in the browser address bar updates as you make changes to the queries. You can share or bookmark this URL.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;Explore may generate long URLs, which some tools, like messaging or videoconferencing applications, might truncate due to fixed message lengths. In such cases, Explore displays a warning and loads a default state.
If you encounter issues when sharing Explore links in these applications, you can generate shortened links. See &lt;a href=&#34;#share-shortened-link&#34;&gt;Share shortened link&lt;/a&gt; for more information.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h3 id=&#34;generate-explore-urls-from-external-tools&#34;&gt;Generate Explore URLs from external tools&lt;/h3&gt;
&lt;p&gt;Because Explore URLs have a defined structure, you can build a URL from external tools and open it in Grafana. The URL structure is:&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;http://&amp;lt;grafana_url&amp;gt;/explore?panes=&amp;lt;panes&amp;gt;&amp;amp;schemaVersion=&amp;lt;schema_version&amp;gt;&amp;amp;orgId=&amp;lt;org_id&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;where:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;org_id&lt;/code&gt; is the organization ID&lt;/li&gt;
&lt;li&gt;&lt;code&gt;schema_version&lt;/code&gt; is the schema version (should be set to the latest version which is &lt;code&gt;1&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;panes&lt;/code&gt; is a URL-encoded JSON object of panes, where each key is the pane ID and each value is an object matching the following schema:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;{
  datasource: string; // the pane&amp;#39;s root datasource UID, or `-- Mixed --` for mixed datasources
  queries: {
    refId: string; // an alphanumeric identifier for this query, must be unique within the pane, i.e. &amp;#34;A&amp;#34;, &amp;#34;B&amp;#34;, &amp;#34;C&amp;#34;, etc.
    datasource: {
      uid: string; // the query&amp;#39;s datasource UID ie: &amp;#34;AD7864H6422&amp;#34;
      type: string; // the query&amp;#39;s datasource type-id, i.e: &amp;#34;loki&amp;#34;
    }
    // ... any other datasource-specific query parameters
  }[]; // array of queries for this pane
  range: {
    from: string; // the start time, in milliseconds since epoch
    to: string; // the end time, in milliseconds since epoch
  }
}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;The &lt;code&gt;from&lt;/code&gt; and &lt;code&gt;to&lt;/code&gt; also accept relative ranges defined in 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/use-dashboards/#time-units-and-relative-ranges&#34;&gt;Time units and relative ranges&lt;/a&gt;.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;share-shortened-link&#34;&gt;Share shortened link&lt;/h2&gt;
&lt;p&gt;The Share shortened link capability allows you to create smaller and simpler URLs of the format &lt;code&gt;/goto/:uid&lt;/code&gt; instead of using longer URLs with query parameters. To create a shortened link to the executed query, click the &lt;strong&gt;Share&lt;/strong&gt; option in the Explore toolbar.&lt;/p&gt;
&lt;h3 id=&#34;share-shortened-links-with-absolute-time&#34;&gt;Share shortened links with absolute time&lt;/h3&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;Available in Grafana 10.3 and later versions.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;Shortened links have two options: relative time (e.g., from two hours ago to now) or absolute time (e.g., from 8am to 10am). By default, sharing a shortened link copies the selected time range, whether it&amp;rsquo;s relative or absolute.&lt;/p&gt;
&lt;p&gt;To create a short link with an absolute time:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click the dropdown button next to the share shortened link button.&lt;/li&gt;
&lt;li&gt;Select one of the options under &lt;strong&gt;Time-Sync URL Links&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This ensures that anyone receiving the link will see the same data you see, regardless of when they open it. Your selected time range will remain unaffected.&lt;/p&gt;
&lt;h2 id=&#34;next-steps&#34;&gt;Next steps&lt;/h2&gt;
&lt;p&gt;Now that you are familiar with Explore you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/build-dashboards/&#34;&gt;Build dashboards&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Create a wide variety of 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/visualizations/&#34;&gt;visualizations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/explore/logs-integration/&#34;&gt;Work with logs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/explore/trace-integration/&#34;&gt;Work with traces&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/explore/correlations-editor-in-explore/&#34;&gt;Create and use correlations&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="get-started-with-explore">Get started with Explore&lt;/h1>
&lt;p>Explore is your gateway for querying, analyzing, and aggregating data in Grafana. It allows you to visually explore and iterate until you develop a working query or set of queries for building visualizations and conducting data analysis. If your data source supports graph and table data, there&amp;rsquo;s no need to create a dashboard, as Explore can display the results in both formats. This facilitates quick, detailed, real-time data analysis.&lt;/p></description></item><item><title>Query management in Explore</title><link>https://grafana.com/docs/grafana/v12.4/visualizations/explore/query-management/</link><pubDate>Fri, 03 Apr 2026 12:35:46 -0500</pubDate><guid>https://grafana.com/docs/grafana/v12.4/visualizations/explore/query-management/</guid><content><![CDATA[&lt;h1 id=&#34;query-management-in-explore&#34;&gt;Query management in Explore&lt;/h1&gt;
&lt;p&gt;Grafana Explore provides a variety of tools to help manage your queries.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;For help with debugging queries, Explore allows you to investigate query requests and responses, as well as query statistics, via the Query inspector. Refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/explore-inspector/&#34;&gt;Query inspector in Explore&lt;/a&gt; for more information.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;query-history&#34;&gt;Query history&lt;/h2&gt;
&lt;p&gt;Query history contains the list of queries that you created in Explore. This history is stored in the Grafana database and isn&amp;rsquo;t shared with other users. The retention period for a query history is &lt;strong&gt;two weeks&lt;/strong&gt;. Queries older than two weeks are automatically deleted.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;Starred queries aren&amp;rsquo;t subject to the two-week retention period and aren&amp;rsquo;t deleted.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;To view your query history:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to the Explore page.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Query history&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The Query history pane opens at the bottom of the page, and contains the following tabs:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Query history tab-&lt;/strong&gt; Contains a history of all your queries, with options for searching and managing them.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Starred tab -&lt;/strong&gt; Contains all of your starred queries.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Settings tab-&lt;/strong&gt; Provides customizable options for your query history.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;query-history-tab&#34;&gt;Query history tab&lt;/h3&gt;
&lt;p&gt;The Query history depicts a history of your queries for the past two weeks, unless the query is starred, which means it doesn&amp;rsquo;t get deleted. For each individual query, you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Run and re-run the query.&lt;/li&gt;
&lt;li&gt;Create and/or edit a comment.&lt;/li&gt;
&lt;li&gt;Copy a query to the clipboard.&lt;/li&gt;
&lt;li&gt;Copy a shortened link with the query to the clipboard.&lt;/li&gt;
&lt;li&gt;Delete a query.&lt;/li&gt;
&lt;li&gt;Star a query.&lt;/li&gt;
&lt;li&gt;Add a query from your history to your 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/query-transform-data/#saved-queries&#34;&gt;saved queries&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;By default, query history shows you newest queries first. Click the sort box in the upper right to change to &lt;strong&gt;Oldest first&lt;/strong&gt; to older queries first. You can search your queries using keywords.&lt;/p&gt;
&lt;h3 id=&#34;query-history-starred-tab&#34;&gt;Query history Starred tab&lt;/h3&gt;
&lt;p&gt;All starred queries are displayed in the &lt;strong&gt;Starred&lt;/strong&gt; tab. This gives quick access to key or favorite queries without having to rewrite them.&lt;/p&gt;
&lt;p&gt;You also have the option to switch the data source and run a starred query.&lt;/p&gt;
&lt;h4 id=&#34;filter-query-history&#34;&gt;Filter query history&lt;/h4&gt;
&lt;p&gt;Filter query history in both the &lt;strong&gt;Query history&lt;/strong&gt; and &lt;strong&gt;Starred&lt;/strong&gt; tabs by data source name:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click the &lt;strong&gt;Filter queries for specific data source(s)&lt;/strong&gt; field.&lt;/li&gt;
&lt;li&gt;Select the data source in the dropdown by which you want to filter your history. You can select multiple data sources.&lt;/li&gt;
&lt;/ol&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;Queries with the &lt;strong&gt;Mixed&lt;/strong&gt; data source appear only when filtering for &amp;ldquo;Mixed&amp;rdquo; and not when filtering by individual data source.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;You can also filter queries by date using the vertical slider:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Drag the bottom circle to adjust the start date.&lt;/li&gt;
&lt;li&gt;Drag the top circle to adjust the end date.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;search-in-query-history&#34;&gt;Search in query history&lt;/h4&gt;
&lt;p&gt;Use &lt;strong&gt;Search queries&lt;/strong&gt; in both the &lt;strong&gt;Query history&lt;/strong&gt; and &lt;strong&gt;Starred&lt;/strong&gt; tabs to search your query history and comments using keywords.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click in the &lt;strong&gt;Search queries&lt;/strong&gt; field.&lt;/li&gt;
&lt;li&gt;Type the keyword(s) or term you are want to search for in search field.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;query-history-settings-tab&#34;&gt;Query history Settings tab&lt;/h3&gt;
&lt;p&gt;You can customize your query history in the &lt;strong&gt;Settings&lt;/strong&gt; tab.&lt;/p&gt;
&lt;p&gt;Toggle &lt;strong&gt;Change the default active tab from &amp;ldquo;Query history&amp;rdquo; to &amp;ldquo;Starred&amp;rdquo;&lt;/strong&gt; to make the &lt;strong&gt;Starred tab&lt;/strong&gt; the default active tab.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;Query history settings are global, and applied to both panels in split mode.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;!-- All queries that have been starred in the Query history tab are displayed in the Starred tab. This allows you to access your favorite queries faster and to reuse these queries without typing them from scratch. --&gt;
]]></content><description>&lt;h1 id="query-management-in-explore">Query management in Explore&lt;/h1>
&lt;p>Grafana Explore provides a variety of tools to help manage your queries.&lt;/p>
&lt;div class="admonition admonition-note">&lt;blockquote>&lt;p class="title text-uppercase">Note&lt;/p>&lt;p>For help with debugging queries, Explore allows you to investigate query requests and responses, as well as query statistics, via the Query inspector. Refer to
&lt;a href="/docs/grafana/v12.4/explore/explore-inspector/">Query inspector in Explore&lt;/a> for more information.&lt;/p></description></item><item><title>Query inspector in Explore</title><link>https://grafana.com/docs/grafana/v12.4/visualizations/explore/explore-inspector/</link><pubDate>Fri, 03 Apr 2026 12:35:46 -0500</pubDate><guid>https://grafana.com/docs/grafana/v12.4/visualizations/explore/explore-inspector/</guid><content><![CDATA[&lt;h1 id=&#34;query-inspector-in-explore&#34;&gt;Query inspector in Explore&lt;/h1&gt;
&lt;p&gt;The Query inspector in Grafana Explore gives you detailed statistics regarding your query, which helps you understand and troubleshoot issues with your queries. Query inspector also lets you inspect raw data, export data to a comma-separated values (CSV) file, export log results in TXT format, and view query requests.&lt;/p&gt;
&lt;h2 id=&#34;query-inspector-ui&#34;&gt;Query inspector UI&lt;/h2&gt;
&lt;p&gt;To open Query inspector:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to the Explore page.&lt;/li&gt;
&lt;li&gt;Run the query you would like to inspect.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Query inspector&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The Query inspector pane opens on the bottom of the Explore page, where you see the following tabs:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Stats tab -&lt;/strong&gt; Shows statistics regarding the query, including the amount of time it takes to run the query, data processing time and the amount of data returned.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Query tab -&lt;/strong&gt; Provides raw request and response data and time when Grafana queries the data source.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;JSON tab -&lt;/strong&gt; Allows you to view and copy the JSON data and the JSON data frame structure.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Data tab -&lt;/strong&gt; Shows the raw data returned by the query. You can download the information to a CSV file.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Error tab -&lt;/strong&gt; Shows any errors. &lt;em&gt;Only visible if the query returns an error.&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;query-inspector-stats-tab&#34;&gt;Query inspector Stats tab&lt;/h2&gt;
&lt;p&gt;You can inspect query performance in the &lt;strong&gt;Stats tab&lt;/strong&gt;, which displays statistics that tell you how long your query takes, how many queries you send, the number of rows returned and trace IDs. This information can help you troubleshoot your queries, especially if any of the numbers are unexpectedly high or low.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the inspector.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Stats tab&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Statistics display in read-only format.&lt;/p&gt;
&lt;h2 id=&#34;query-inspector-query-tab&#34;&gt;Query inspector Query tab&lt;/h2&gt;
&lt;p&gt;View raw request and response in the Query tab.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the Query inspector and click the &lt;strong&gt;Query tab&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Refresh&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Grafana sends the query to the server and displays the result. You can drill down on specific portions of the query, expand or collapse all of it. Click &lt;strong&gt;Copy to clipboard&lt;/strong&gt; to copy the data to use in other applications.&lt;/p&gt;
&lt;h2 id=&#34;query-inspector-json-tab&#34;&gt;Query inspector JSON tab&lt;/h2&gt;
&lt;p&gt;View data results as JSON and as data frame JSON models in the &lt;strong&gt;JSON tab&lt;/strong&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the Query inspector and click the &lt;strong&gt;JSON tab&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Choose one of the following options from the &lt;strong&gt;Select source&lt;/strong&gt; dropdown menu:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Panel data -&lt;/strong&gt; Displays a JSON object representing the data retrieved by the visualization from Explore.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;DataFrame JSON (from query) -&lt;/strong&gt; Displays the raw data result set without transformations and field configuration applied.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;query-inspector-data-tab&#34;&gt;Query inspector Data tab&lt;/h2&gt;
&lt;p&gt;View, inspect and download raw query results in the &lt;strong&gt;Data tab&lt;/strong&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the Query inspector and click the &lt;strong&gt;Data&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Data options&lt;/strong&gt; to to view options under &lt;strong&gt;Show data frame&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select a data results set from the dropdown menu.&lt;/li&gt;
&lt;li&gt;For multiple queries or for queries multiple nodes, you can select &lt;strong&gt;Series joined by time&lt;/strong&gt; from the dropdown to view the raw data from all of your queries at once, one result set per column. You can click any column heading to sort the data.&lt;/li&gt;
&lt;li&gt;Toggle &lt;strong&gt;Formatted data&lt;/strong&gt; to match the format in the panel.&lt;/li&gt;
&lt;li&gt;Toggle &lt;strong&gt;Download for Excel&lt;/strong&gt; to download a CSV file specifically formatted for Excel.&lt;/li&gt;
&lt;li&gt;To download the results to a CSV file click &lt;strong&gt;Download CSV&lt;/strong&gt; in the upper right of the Query inspector pane.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;download-log-results-as-txt&#34;&gt;Download log results as TXT&lt;/h3&gt;
&lt;p&gt;Based on the type of data source (Loki, for example), or when logs are present in the results set, Grafana generates a TXT file of log raw data results in your default browser download location. You can open it in the viewer of your choice.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;Query inspector&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Data tab&lt;/strong&gt; to view log query results.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Download logs&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;download-trace-results&#34;&gt;Download trace results&lt;/h3&gt;
&lt;p&gt;Based on the data source type (Tempo, for example), Grafana generates a JSON file for trace results in one of these supported formats: Jaeger, Zipkin, or OTLP.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;Query inspector&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Data tab&lt;/strong&gt; to view traces results.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Download traces&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
]]></content><description>&lt;h1 id="query-inspector-in-explore">Query inspector in Explore&lt;/h1>
&lt;p>The Query inspector in Grafana Explore gives you detailed statistics regarding your query, which helps you understand and troubleshoot issues with your queries. Query inspector also lets you inspect raw data, export data to a comma-separated values (CSV) file, export log results in TXT format, and view query requests.&lt;/p></description></item><item><title>Correlations Editor in Explore</title><link>https://grafana.com/docs/grafana/v12.4/visualizations/explore/correlations-editor-in-explore/</link><pubDate>Fri, 03 Apr 2026 12:35:46 -0500</pubDate><guid>https://grafana.com/docs/grafana/v12.4/visualizations/explore/correlations-editor-in-explore/</guid><content><![CDATA[&lt;h1 id=&#34;correlations-editor-in-explore&#34;&gt;Correlations Editor in Explore&lt;/h1&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;The Explore editor is available in 10.1 and later versions. In the editor, transformations is available in Grafana 10.3 and later versions.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;Correlations allow users to build a link between any two data sources. For more information about correlations in general, please see the 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/correlations/&#34;&gt;correlations&lt;/a&gt; topic in the administration page.&lt;/p&gt;
&lt;h2 id=&#34;create-a-correlation&#34;&gt;Create a correlation&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;In Grafana, navigate to the Explore page.&lt;/li&gt;
&lt;li&gt;Select a data source that you would like to be 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/correlations/correlation-configuration/#source-data-source-and-result-field&#34;&gt;the source data source&lt;/a&gt; for a new correlation.&lt;/li&gt;
&lt;li&gt;Run a query producing data in 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/correlations/#correlations&#34;&gt;a supported visualization&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;&#43; Add&lt;/strong&gt; in the top toolbar and select &lt;strong&gt;Add correlation&lt;/strong&gt; (you can also select &lt;strong&gt;Correlations Editor&lt;/strong&gt; from the 
    &lt;a href=&#34;/docs/grafana/v12.4/search/#command-palette&#34;&gt;Command Palette&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Explore is now in Correlations Editor mode indicated by a blue border and top bar. You can exit Correlations Editor by clicking &lt;strong&gt;Exit&lt;/strong&gt; in the top bar.&lt;/li&gt;
&lt;li&gt;You can now create the following new correlations for the visualization with links that are attached to the data that you can use to build a new query:
&lt;ul&gt;
&lt;li&gt;Logs: links are displayed next to field values inside log details for each log row&lt;/li&gt;
&lt;li&gt;Table: every table cell is a link&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Click on a link to add a new correlation.
Links are associated with a field that is used as a 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/correlations/correlation-configuration/&#34;&gt;result field of a correlation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;In the split view that opens, use the right pane to set up 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/correlations/correlation-configuration/#target-query&#34;&gt;the target query source of the correlation&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Build a target query using 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/variables/variable-syntax/&#34;&gt;variables syntax&lt;/a&gt; with variables from the list provided at the top of the pane. The list contains sample values from the selected data row.&lt;/li&gt;
&lt;li&gt;Provide a label and description (optional).
A label will be used as the name of the link inside the visualization and can contain variables.&lt;/li&gt;
&lt;li&gt;Provide transformations (optional; see below for details).&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Save&lt;/strong&gt; in the top toolbar to save the correlation and exit Correlations Editor mode.
The link used to create the correlation is replaced with a data link in each row. When the link is clicked, the query you defined will run in another pane, with the variables replaced dynamically with the values from the selected row.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;transformations&#34;&gt;Transformations&lt;/h2&gt;
&lt;p&gt;Transformations allow you to extract values that exist in a field with other data. For example, using a transformation, you can extract one portion of a log line to use in a correlation. For more details on transformations in correlations, see 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/correlations-editor-in-explore/#transformations&#34;&gt;Correlations&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;After clicking one of the generated links in the editor mode, you can add transformations by clicking &lt;strong&gt;Add transformation&lt;/strong&gt; in the Transformations dropdown menu.&lt;/p&gt;
&lt;p&gt;You can use a transformation in your correlation with the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Select a field to apply the transformation to.
Select the portion of the field that you want to use for the transformation. For example, a log line.
Once selected, the value of this field will be used to assist you in building the transformation.&lt;/li&gt;
&lt;li&gt;Select the type of the transformation.
See 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/correlations-editor-in-explore/#transformations&#34;&gt;correlations&lt;/a&gt; for the options and relevant settings.&lt;/li&gt;
&lt;li&gt;Based on your selection, you might see one or more variables populate, or you might need to provide more specifications in options that are displayed.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Add transformation to correlation&lt;/strong&gt; to add the specified variables to the list of available variables.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;notes-for-regular-expressions&#34;&gt;Notes for regular expressions&lt;/h3&gt;
&lt;p&gt;For regular expressions in this dialog box, the &lt;code&gt;mapValue&lt;/code&gt; referred to in other documentation is called &lt;code&gt;Variable Name&lt;/code&gt; here. Grafana highlights any text that matches the expression in the field value. Use regular expression capture groups to select what portion of the match should be extracted. When a valid regular expression is provided, the variable and the value of that variable appear below the &lt;code&gt;Variable Name&lt;/code&gt; field.&lt;/p&gt;
&lt;h2 id=&#34;correlations-examples&#34;&gt;Correlations examples&lt;/h2&gt;
&lt;p&gt;The following examples show how to create correlations using the Correlations Editor in Explore. If you&amp;rsquo;d like to follow these examples, make sure to set up a 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/testdata/#testdata-data-source&#34;&gt;test data source&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;create-a-text-to-graph-correlation&#34;&gt;Create a text to graph correlation&lt;/h3&gt;
&lt;p&gt;This example shows how to create a correlation using Correlations Editor in Explore.&lt;/p&gt;
&lt;p&gt;Correlations allow you to use results of one query to run a new query in any data source. In this example, you will run a query that renders tabular data. The data will be used to run a different query that yields a graph result.&lt;/p&gt;
&lt;p&gt;To follow this example, make sure you have set up 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/testdata/#testdata-data-source&#34;&gt;a test data source&lt;/a&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In Grafana, navigate to &lt;strong&gt;Explore&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the &lt;strong&gt;test data source&lt;/strong&gt; from the dropdown menu at the top left of the page.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;&#43; Add&lt;/strong&gt; in the dropdown menu to the right and select &lt;strong&gt;Add correlation&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Explore is now in Correlations Editor mode, indicated by a blue border.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the following scenario from the scenario dropdown menu: &lt;strong&gt;CSV File&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the file, &lt;strong&gt;population_by_state.csv&lt;/strong&gt;.
Each cell is a link that you can click on to begin creating a new correlation.&lt;/p&gt;
&lt;figure
       class=&#34;figure-wrapper figure-wrapper__lightbox w-100p &#34;
       style=&#34;max-width: 600px;&#34;
       itemprop=&#34;associatedMedia&#34;
       itemscope=&#34;&#34;
       itemtype=&#34;http://schema.org/ImageObject&#34;
     &gt;&lt;a
           class=&#34;lightbox-link captioned&#34;
           href=&#34;/static/img/docs/correlations/screenshot-correlations-editor-source-10.2.png&#34;
           itemprop=&#34;contentUrl&#34;
         &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
             class=&#34;lazyload mb-0&#34;
             data-src=&#34;/static/img/docs/correlations/screenshot-correlations-editor-source-10.2.png&#34;data-srcset=&#34;/static/img/docs/correlations/screenshot-correlations-editor-source-10.2.png?w=320 320w, /static/img/docs/correlations/screenshot-correlations-editor-source-10.2.png?w=550 550w, /static/img/docs/correlations/screenshot-correlations-editor-source-10.2.png?w=750 750w, /static/img/docs/correlations/screenshot-correlations-editor-source-10.2.png?w=900 900w, /static/img/docs/correlations/screenshot-correlations-editor-source-10.2.png?w=1040 1040w, /static/img/docs/correlations/screenshot-correlations-editor-source-10.2.png?w=1240 1240w, /static/img/docs/correlations/screenshot-correlations-editor-source-10.2.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Selecting the source of a correlation&#34;width=&#34;3070&#34;height=&#34;1566&#34;title=&#34;Selecting the source of a correlation&#34;/&gt;
           &lt;noscript&gt;
             &lt;img
               src=&#34;/static/img/docs/correlations/screenshot-correlations-editor-source-10.2.png&#34;
               alt=&#34;Selecting the source of a correlation&#34;width=&#34;3070&#34;height=&#34;1566&#34;title=&#34;Selecting the source of a correlation&#34;/&gt;
           &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Selecting the source of a correlation&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click on any cell in the &lt;code&gt;State&lt;/code&gt; column to create a new correlation that attaches a data link to that entry. For example, select &amp;ldquo;California&amp;rdquo;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the split view, select the same data source you selected in the left pane.
The helper above the query editor contains all available variables you can use the target query. Variables contain all data fields (table columns) from the selected row.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Scenario&lt;/strong&gt; menu, select &lt;strong&gt;CSV Metric Values&lt;/strong&gt;.
The &lt;code&gt;String Input&lt;/code&gt; field in the Query editor provides variables with population values for each year: &lt;code&gt;${1980},${2000},${2020}&lt;/code&gt;. This will generate a graph using variable values.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the Query Editor &lt;strong&gt;Alias&lt;/strong&gt; field, enter &amp;ldquo;${State}&amp;rdquo;.&lt;/p&gt;
&lt;figure
       class=&#34;figure-wrapper figure-wrapper__lightbox w-100p &#34;
       style=&#34;max-width: 600px;&#34;
       itemprop=&#34;associatedMedia&#34;
       itemscope=&#34;&#34;
       itemtype=&#34;http://schema.org/ImageObject&#34;
     &gt;&lt;a
           class=&#34;lightbox-link captioned&#34;
           href=&#34;/static/img/docs/correlations/screenshot-correlations-editor-target-10.2.png&#34;
           itemprop=&#34;contentUrl&#34;
         &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
             class=&#34;lazyload mb-0&#34;
             data-src=&#34;/static/img/docs/correlations/screenshot-correlations-editor-target-10.2.png&#34;data-srcset=&#34;/static/img/docs/correlations/screenshot-correlations-editor-target-10.2.png?w=320 320w, /static/img/docs/correlations/screenshot-correlations-editor-target-10.2.png?w=550 550w, /static/img/docs/correlations/screenshot-correlations-editor-target-10.2.png?w=750 750w, /static/img/docs/correlations/screenshot-correlations-editor-target-10.2.png?w=900 900w, /static/img/docs/correlations/screenshot-correlations-editor-target-10.2.png?w=1040 1040w, /static/img/docs/correlations/screenshot-correlations-editor-target-10.2.png?w=1240 1240w, /static/img/docs/correlations/screenshot-correlations-editor-target-10.2.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Setting up the target of a correlation&#34;width=&#34;1510&#34;height=&#34;1316&#34;title=&#34;Setting up the target of a correlation&#34;/&gt;
           &lt;noscript&gt;
             &lt;img
               src=&#34;/static/img/docs/correlations/screenshot-correlations-editor-target-10.2.png&#34;
               alt=&#34;Setting up the target of a correlation&#34;width=&#34;1510&#34;height=&#34;1316&#34;title=&#34;Setting up the target of a correlation&#34;/&gt;
           &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Setting up the target of a correlation&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;Run a query to see that it produces a graph using sample values from the variables.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Save&lt;/strong&gt; to save the correlation and exit the Correlations Editor.&lt;/p&gt;
&lt;p&gt;After the correlation is saved, Explore will rerun the query in the left pane. By clicking a state name, the query on the right is rerun with values from the row being inserted into the CSV, thus changing the graph. The query is rerun with updated values every time you click on a state name.&lt;/p&gt;
&lt;figure
       class=&#34;figure-wrapper figure-wrapper__lightbox w-100p &#34;
       style=&#34;max-width: 600px;&#34;
       itemprop=&#34;associatedMedia&#34;
       itemscope=&#34;&#34;
       itemtype=&#34;http://schema.org/ImageObject&#34;
     &gt;&lt;a
           class=&#34;lightbox-link captioned&#34;
           href=&#34;/static/img/docs/correlations/screenshot-correlations-example-link-10.2.png&#34;
           itemprop=&#34;contentUrl&#34;
         &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
             class=&#34;lazyload mb-0&#34;
             data-src=&#34;/static/img/docs/correlations/screenshot-correlations-example-link-10.2.png&#34;data-srcset=&#34;/static/img/docs/correlations/screenshot-correlations-example-link-10.2.png?w=320 320w, /static/img/docs/correlations/screenshot-correlations-example-link-10.2.png?w=550 550w, /static/img/docs/correlations/screenshot-correlations-example-link-10.2.png?w=750 750w, /static/img/docs/correlations/screenshot-correlations-example-link-10.2.png?w=900 900w, /static/img/docs/correlations/screenshot-correlations-example-link-10.2.png?w=1040 1040w, /static/img/docs/correlations/screenshot-correlations-example-link-10.2.png?w=1240 1240w, /static/img/docs/correlations/screenshot-correlations-example-link-10.2.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Result of clicking on a data link&#34;width=&#34;3066&#34;height=&#34;1576&#34;title=&#34;Result of clicking on a data link&#34;/&gt;
           &lt;noscript&gt;
             &lt;img
               src=&#34;/static/img/docs/correlations/screenshot-correlations-example-link-10.2.png&#34;
               alt=&#34;Result of clicking on a data link&#34;width=&#34;3066&#34;height=&#34;1576&#34;title=&#34;Result of clicking on a data link&#34;/&gt;
           &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Result of clicking on a data link&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can apply the same steps to any data source. Correlations allow you to create links in visualizations to run dynamic queries based on selected data. In this example we used data returned by a query to build a new query generating different visualization using the same data source. However, you can create correlations between any data sources to create custom exploration flows.&lt;/p&gt;
&lt;h3 id=&#34;create-a-logs-to-table-correlation&#34;&gt;Create a logs to table correlation&lt;/h3&gt;
&lt;p&gt;In this example, you will create a correlation to demonstrate how to use transformations to extract values from the log line and another field.&lt;/p&gt;
&lt;p&gt;To follow this example, make sure you have set up 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/testdata/#testdata-data-source&#34;&gt;a test data source&lt;/a&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In Grafana, navigate to &lt;strong&gt;Explore&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the &lt;strong&gt;test data source&lt;/strong&gt; from the dropdown menu at the top left of the page.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;&#43; Add&lt;/strong&gt; in the dropdown menu to the right and select &lt;strong&gt;Add correlation&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Explore is now in Correlations Editor mode, indicated by a blue border.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Scenario&lt;/strong&gt; menu, select &lt;strong&gt;Logs&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Expand a log line to see the correlation links. Select &lt;code&gt;Correlate with hostname&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Explore opens in split view. Select the same data source you selected in the left pane.
The helper above the query editor contains all available variables you can use the target query.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Expand the transformations section, and click &lt;strong&gt;Add transformation&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Field&lt;/strong&gt; dropdown menu, select &lt;strong&gt;message&lt;/strong&gt;.
The log line shows up as example data.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Under &lt;strong&gt;Type&lt;/strong&gt;, select &lt;strong&gt;Logfmt&lt;/strong&gt;.
This populates the list of variables.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Add transformation to correlation&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Add transformation&lt;/strong&gt; again and under &lt;strong&gt;Field&lt;/strong&gt;, select &lt;strong&gt;hostname&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Under &lt;strong&gt;Type&lt;/strong&gt;, select &lt;strong&gt;Regular expression&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Under &lt;strong&gt;Expression&lt;/strong&gt;, enter the following:
&lt;code&gt;-([0-9]\*)&lt;/code&gt;
This selects any numbers to the right of the dash.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Under &lt;strong&gt;Variable Name&lt;/strong&gt;, enter the following:
hostNumber
This populates the list of variables.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Add transformation to correlation&lt;/strong&gt; to add it to the other variables.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the data source editor, open the &lt;strong&gt;Scenario&lt;/strong&gt; dropdown menu and select &lt;strong&gt;CSV Content&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the text box below, provide the following and save the correlation:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;csv&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-csv&#34;&gt;time,msg,hostNumber,status
${time},${msg},${hostNumber},${status}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;This closes the split view and reruns the left query. Expand any log line to see the correlation button. Clicking the correlation button opens the split view with the &lt;code&gt;time&lt;/code&gt; (a field), &lt;code&gt;msg&lt;/code&gt; (extracted with &lt;code&gt;logfmt&lt;/code&gt; from the log line), host number (extracted with &lt;code&gt;regex&lt;/code&gt; from the &lt;code&gt;hostname&lt;/code&gt;) and the &lt;code&gt;status&lt;/code&gt; (extracted with &lt;code&gt;logfmt&lt;/code&gt; from the log line).&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
]]></content><description>&lt;h1 id="correlations-editor-in-explore">Correlations Editor in Explore&lt;/h1>
&lt;div class="admonition admonition-note">&lt;blockquote>&lt;p class="title text-uppercase">Note&lt;/p>&lt;p>The Explore editor is available in 10.1 and later versions. In the editor, transformations is available in Grafana 10.3 and later versions.&lt;/p></description></item><item><title>Logs in Explore</title><link>https://grafana.com/docs/grafana/v12.4/visualizations/explore/logs-integration/</link><pubDate>Fri, 03 Apr 2026 12:35:46 -0500</pubDate><guid>https://grafana.com/docs/grafana/v12.4/visualizations/explore/logs-integration/</guid><content><![CDATA[&lt;h1 id=&#34;logs-in-explore&#34;&gt;Logs in Explore&lt;/h1&gt;
&lt;p&gt;Explore is a powerful tool for logging and log analysis. It allows you to investigate logs from different data sources including:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/loki/&#34;&gt;Loki&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/elasticsearch/&#34;&gt;Elasticsearch&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/aws-cloudwatch/&#34;&gt;Cloudwatch&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/influxdb/&#34;&gt;InfluxDB&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/azure-monitor/&#34;&gt;Azure Monitor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/grafana/clickhouse-datasource&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;ClickHouse&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;With Explore, you can efficiently monitor, troubleshoot, and respond to incidents by analyzing your logs and identifying the root causes. It also helps you to correlate logs with other telemetry signals such as metrics, traces or profiles, by viewing them side-by-side.&lt;/p&gt;
&lt;p&gt;The results of log queries display as individual log lines and as a graph showing the logs volume for the selected time period.&lt;/p&gt;
&lt;h2 id=&#34;logs-volume&#34;&gt;Logs volume&lt;/h2&gt;
&lt;p&gt;When working with data sources that support a full range logs volume, Explore automatically displays a graph showing the log distribution for all submitted log queries. This feature is currently supported by the Elasticsearch and Loki data sources.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;In Loki, generating the full range log volume via a metric query can be resource-intensive, depending on the time range queried. This is especially challenging for smaller Loki installations. To mitigate this, we recommend that you use a proxy like &lt;a href=&#34;https://www.nginx.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;nginx&lt;/a&gt; in front of Loki with a timeout like 10ss. Log volume histogram queries can be identified by looking for queries with the HTTP header &lt;code&gt;X-Query-Tags&lt;/code&gt; with value &lt;code&gt;Source=logvolhist&lt;/code&gt;; these headers are added by Grafana to all log volume histogram queries.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;If the data source doesn&amp;rsquo;t support loading the full range logs volume, the logs model calculates a time series by counting log rows and organizing them into buckets based on an automatically calculated time interval. The timestamp of the first log row is used to anchor the start of the logs volume in the results. The end of the time series is anchored to the time picker&amp;rsquo;s &lt;strong&gt;To&lt;/strong&gt; range. This way, you can still analyze and visualize log data efficiently even when the data source doesn&amp;rsquo;t offer full range support.&lt;/p&gt;
&lt;h2 id=&#34;logs&#34;&gt;Logs&lt;/h2&gt;
&lt;p&gt;The following sections provide detailed explanations on how to visualize and interact with individual logs in Explore.&lt;/p&gt;
&lt;h3 id=&#34;infinite-scroll&#34;&gt;Infinite scroll&lt;/h3&gt;
&lt;!-- vale Grafana.GoogleWill = NO --&gt;
&lt;p&gt;When you reach the bottom of the list of logs, you will see the message &lt;code&gt;Scroll to load more&lt;/code&gt;. If you continue scrolling and the displayed logs are within the selected time interval, Grafana will load more logs. When the sort order is &amp;ldquo;newest first&amp;rdquo; you receive older logs, and when the sort order is &amp;ldquo;oldest first&amp;rdquo; you get newer logs.&lt;/p&gt;
&lt;!-- vale Grafana.GoogleWill = YES --&gt;
&lt;h3 id=&#34;visualization-options&#34;&gt;Visualization options&lt;/h3&gt;
&lt;p&gt;You have the option to customize the display of logs and choose which columns to show. Following is a list of available options.&lt;/p&gt;
&lt;!-- vale Grafana.Spelling = NO --&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Option&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Expand / Collapse&lt;/td&gt;
              &lt;td&gt;Expand or collapse the controls toolbar.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Scroll to bottom&lt;/td&gt;
              &lt;td&gt;Jump to the bottom of the logs table.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Oldest Logs First / Newest logs first&lt;/td&gt;
              &lt;td&gt;Sort direction (ascending or descending).&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Search logs / Close search&lt;/td&gt;
              &lt;td&gt;Click to open/close the client side string search of the displayed logs result.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Deduplication&lt;/td&gt;
              &lt;td&gt;&lt;strong&gt;None&lt;/strong&gt; does not perform any deduplication, &lt;strong&gt;Exact&lt;/strong&gt; matches are done on the whole line except for date fields. &lt;strong&gt;Numbers&lt;/strong&gt; matches are done on the line after stripping out numbers such as durations, IP addresses, and so on. &lt;strong&gt;Signature&lt;/strong&gt; is the most aggressive deduplication as it strips all letters and numbers and matches on the remaining whitespace and punctuation.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Filter levels&lt;/td&gt;
              &lt;td&gt;Filter logs in display by log level: All levels, Info, Debut, Warning, Error.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Set Timestamp format&lt;/td&gt;
              &lt;td&gt;Hide timestamps (disabled), Show milliseconds timestamps, Show nanoseconds timestamps.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Set line wrap&lt;/td&gt;
              &lt;td&gt;Disable line wrapping, Enable line wrapping, Enable line wrapping and prettify JSON.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Enable highlighting&lt;/td&gt;
              &lt;td&gt;Plain text, Highlight text.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Font size&lt;/td&gt;
              &lt;td&gt;Small font (default), Large font.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Unescaped newlines&lt;/td&gt;
              &lt;td&gt;Only displayed if the logs contain unescaped new lines. Click to unescape and display as new lines.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Download logs&lt;/td&gt;
              &lt;td&gt;Plain text (txt), JavaScript Object Notation (JSON), Comma-separated values (CSV)&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;!-- vale Grafana.Spelling = YES --&gt;
&lt;h3 id=&#34;download-log-lines&#34;&gt;Download log lines&lt;/h3&gt;
&lt;p&gt;This feature lets you save log data for further analysis or to share it with others in a convenient and accessible format.&lt;/p&gt;
&lt;p&gt;In Explore there are three export options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;TXT&lt;/strong&gt; - will export the data as visible on the screen, meaning it will take into account formatting, like &lt;code&gt;line_format&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;JSON&lt;/strong&gt; - will export the raw data, regardless of the formatting, like &lt;code&gt;line_format&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;CSV&lt;/strong&gt; - will export the raw data, regardless of the formatting, like &lt;code&gt;line_format&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Click &lt;strong&gt;Download&lt;/strong&gt; and select &lt;code&gt;TXT&lt;/code&gt;, &lt;code&gt;JSON&lt;/code&gt; or &lt;code&gt;CSV&lt;/code&gt; to download log results.&lt;/p&gt;
&lt;h3 id=&#34;log-result-meta-information&#34;&gt;Log result meta information&lt;/h3&gt;
&lt;p&gt;The following meta information displays above the retrieved log lines:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Number of received logs -&lt;/strong&gt; Indicates the total count of logs received for the current query or time range.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Error -&lt;/strong&gt; Displays any errors in your log results.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Common labels -&lt;/strong&gt; Displays common labels.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Total bytes processed -&lt;/strong&gt; Represents the cumulative size of the log data processed in bytes.&lt;/li&gt;
&lt;/ul&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;The availability of certain metadata may vary depending on the data source, so you might only see details related to those specific data sources.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h3 id=&#34;escaping-newlines&#34;&gt;Escaping newlines&lt;/h3&gt;
&lt;p&gt;Explore automatically detects some incorrectly escaped sequences in log lines, such as newlines (&lt;code&gt;\n&lt;/code&gt;, &lt;code&gt;\r&lt;/code&gt;) or tabs (&lt;code&gt;\t&lt;/code&gt;). When it detects such sequences, Explore provides an &lt;strong&gt;Escape newlines&lt;/strong&gt; option.&lt;/p&gt;
&lt;p&gt;To automatically fix incorrectly escaped sequences that Explore has detected:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;Escape newlines&lt;/strong&gt; to replace the sequences.&lt;/li&gt;
&lt;li&gt;Review returned log lines.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Explore replaces these sequences, changing the option from &lt;strong&gt;Escape newlines&lt;/strong&gt; to &lt;strong&gt;Remove escaping&lt;/strong&gt;. Assess the changes, as the parsing may not be accurate based on the input. To revert the replacements, click &lt;strong&gt;Remove escaping&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id=&#34;log-level&#34;&gt;Log level&lt;/h3&gt;
&lt;p&gt;For logs where a &lt;code&gt;level&lt;/code&gt; label is specified, the value of this label is used to determine the log level and update the color of each log line accordingly.
If the log doesn&amp;rsquo;t have a specified level label, Grafana attempts to determine if its content matches any of the supported expressions.
Refer to the following table for more information. The log level is always determined by the first match. If Grafana isn&amp;rsquo;t able to infer a log level field, it gets visualized as an unknown log level.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-tip&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Tip&lt;/p&gt;&lt;p&gt;When using the Loki data source, if &lt;code&gt;level&lt;/code&gt; is part of your log line, you can use parsers such as &lt;code&gt;json&lt;/code&gt;, &lt;code&gt;logfmt&lt;/code&gt;, or &lt;code&gt;regex&lt;/code&gt; to extract the level information into a level label. This label is used to determine the level value, allowing the histogram to display the various log levels as separate bars.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Log levels supported and mapping of log level abbreviation and expressions:&lt;/strong&gt;&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th style=&#34;text-align: left&#34;&gt;Log level&lt;/th&gt;
              &lt;th style=&#34;text-align: left&#34;&gt;Color&lt;/th&gt;
              &lt;th&gt;Supported expressions&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;critical&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;purple&lt;/td&gt;
              &lt;td&gt;emerg, fatal, alert, crit, critical, 0, 1, 2&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;error&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;red&lt;/td&gt;
              &lt;td&gt;err, eror, error, 3&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;warning&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;yellow&lt;/td&gt;
              &lt;td&gt;warn, warning, 4&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;info&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;green&lt;/td&gt;
              &lt;td&gt;info, information, informational, notice, 5, 6&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;debug&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;blue&lt;/td&gt;
              &lt;td&gt;dbug, debug, 7&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;trace&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;light blue&lt;/td&gt;
              &lt;td&gt;trace&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;unknown&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;grey&lt;/td&gt;
              &lt;td&gt;*&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h3 id=&#34;highlight-searched-words&#34;&gt;Highlight searched words&lt;/h3&gt;
&lt;p&gt;When your query includes specific words or expressions for keyword search, Explore highlights them in log lines to enhance visibility. This highlighting feature facilitates easier identification and focus on the relevant content within your logs.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;The ability to highlight search words varies depending on data source. For some data sources, the highlighting of search words may not be available.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h3 id=&#34;log-details-view&#34;&gt;Log details view&lt;/h3&gt;
&lt;p&gt;In Explore, each log line has an expandable section called &lt;strong&gt;Log details&lt;/strong&gt; that you open by clicking on the log line. The Log details view provides additional information and exploration options in the form of &lt;strong&gt;Fields&lt;/strong&gt; and &lt;strong&gt;Links&lt;/strong&gt; attached to the log lines, enabling a more robust interaction and analysis.&lt;/p&gt;
&lt;h4 id=&#34;fields&#34;&gt;Fields&lt;/h4&gt;
&lt;p&gt;Within the &lt;strong&gt;Log details&lt;/strong&gt; view, you have the ability to filter the displayed fields in two ways: a positive filter, which focuses on an specific field and a negative filter, which excludes certain fields.
These filters modify the corresponding query that generated the log line, incorporating equality and inequality expressions accordingly.&lt;/p&gt;
&lt;p&gt;If the data source supports it, as is the case with Loki and Elasticsearch, log details will verify whether the field is already included in the current query, indicating an active state for positive filters. This enables you to toggle it off from the query or convert the filter expression from positive to negative as necessary.&lt;/p&gt;
&lt;p&gt;Click the &lt;strong&gt;eye icon&lt;/strong&gt; to select a subset of fields to visualize in the logs list instead of the complete log line.&lt;/p&gt;
&lt;p&gt;Each field has a &lt;strong&gt;stats icon&lt;/strong&gt;, which displays ad-hoc statistics in relation to all displayed logs.&lt;/p&gt;
&lt;p&gt;For data sources that support log types, such as Loki, instead of a single view containing all fields, fields will be displayed grouped by their type: Indexed Labels, Parsed fields, and Structured Metadata.&lt;/p&gt;
&lt;h4 id=&#34;links&#34;&gt;Links&lt;/h4&gt;
&lt;p&gt;Grafana provides data links or correlations, allowing you to convert any part of a log message into an internal or external link. These links enable you to navigate to related data or external resources, offering a seamless and convenient way to explore additional information.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p &#34;
    style=&#34;max-width: 800px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/static/img/docs/explore/data-link-9-4.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/static/img/docs/explore/data-link-9-4.png&#34;data-srcset=&#34;/static/img/docs/explore/data-link-9-4.png?w=320 320w, /static/img/docs/explore/data-link-9-4.png?w=550 550w, /static/img/docs/explore/data-link-9-4.png?w=750 750w, /static/img/docs/explore/data-link-9-4.png?w=900 900w, /static/img/docs/explore/data-link-9-4.png?w=1040 1040w, /static/img/docs/explore/data-link-9-4.png?w=1240 1240w, /static/img/docs/explore/data-link-9-4.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Data link in Explore&#34;width=&#34;1838&#34;height=&#34;810&#34;title=&#34;Data link in Explore&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/explore/data-link-9-4.png&#34;
            alt=&#34;Data link in Explore&#34;width=&#34;1838&#34;height=&#34;810&#34;title=&#34;Data link in Explore&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Data link in Explore&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h4 id=&#34;log-details-modes&#34;&gt;Log details modes&lt;/h4&gt;
&lt;p&gt;There are two modes available to view log details:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Inline&lt;/strong&gt; The default, displays log details below the log line.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Sidebar&lt;/strong&gt; Displays log details in a sidebar view.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;No matter which display mode you are currently viewing, you can change it by clicking the mode control icon.&lt;/p&gt;
&lt;h3 id=&#34;log-context&#34;&gt;Log context&lt;/h3&gt;
&lt;p&gt;Log context is a feature that displays additional lines of context surrounding a log entry that matches a specific search query. This helps in understanding the context of the log entry and is similar to the &lt;code&gt;-C&lt;/code&gt; parameter in the &lt;code&gt;grep&lt;/code&gt; command.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re using Loki for your logs, to modify your log context queries, you can use the Loki log context query editor at the top of the table. You can activate this editor by clicking the menu for the log line, and selecting &lt;strong&gt;Show context&lt;/strong&gt;. Within the &lt;strong&gt;Log Context&lt;/strong&gt; view, you have the option to modify your search by removing one or more label filters from the log stream. If your original query used a parser, you can refine your search by leveraging extracted label filters.&lt;/p&gt;
&lt;p&gt;Change the &lt;strong&gt;Context time window&lt;/strong&gt; option to look for logs within a specific time interval around your log line.&lt;/p&gt;
&lt;p&gt;Toggle &lt;strong&gt;Wrap lines&lt;/strong&gt; if you encounter long lines of text that make it difficult to read and analyze the context around log entries. By enabling this toggle, Grafana automatically wraps long lines of text to fit within the visible width of the viewer, making the log entries easier to read and understand.&lt;/p&gt;
&lt;p&gt;Click &lt;strong&gt;Open in split view&lt;/strong&gt; to execute the context query for a log entry in a split screen in the Explore view. Clicking this button opens a new Explore pane with the context query displayed alongside the log entry, making it easier to analyze and understand the surrounding context.&lt;/p&gt;
&lt;p&gt;Use Command-click or Ctrl&#43;click to open the log context query in a new browser to view the context model. All previously selected filters get applied.&lt;/p&gt;
&lt;h3 id=&#34;copy-log-line&#34;&gt;Copy log line&lt;/h3&gt;
&lt;p&gt;Click &lt;strong&gt;Copy log line&lt;/strong&gt; to copy the content of a selected log line to the clipboard.&lt;/p&gt;
&lt;h3 id=&#34;copy-link-to-log-line&#34;&gt;Copy link to log line&lt;/h3&gt;
&lt;p&gt;Linking log lines in Grafana allows you to quickly navigate to specific log entries for detailed and precise analysis. Click &lt;strong&gt;Copy shortlink&lt;/strong&gt; to generate and copy a 
    &lt;a href=&#34;/docs/grafana/v12.4/developers/http_api/short_url/&#34;&gt;short URL&lt;/a&gt; that provides direct access to the exact log entry within an absolute time range. When you open the link, Grafana automatically scrolls to the corresponding log line and highlights it in blue, making it easy to identify and focus on relevant information.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;The short URL feature is currently only supported in Loki and other data sources that provide an &lt;code&gt;id&lt;/code&gt; field.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;live-tailing&#34;&gt;Live tailing&lt;/h2&gt;
&lt;p&gt;Use the &lt;strong&gt;Live tail&lt;/strong&gt; feature to view real-time logs from data sources.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;Live&lt;/strong&gt; in the Explore toolbar to switch to Live tail view.&lt;/li&gt;
&lt;li&gt;In &lt;strong&gt;Live tail view&lt;/strong&gt;, new logs appear at the bottom of the screen, and have a contrasting background, allowing you to easily track what&amp;rsquo;s new.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Pause&lt;/strong&gt; to pause live tailing and explore previous logs without interruptions. or simply scroll through the logs view.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Clear logs&lt;/strong&gt; to remove all displayed logs. This action resets the log view and provides a clean slate to continue your log analysis&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Resume&lt;/strong&gt; to resume live tailing and continue viewing real-time logs.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Stop&lt;/strong&gt; to exit live tailing and return to the standard Explore view.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The &lt;strong&gt;Live tailing feature&lt;/strong&gt; allows you to monitor the latest logs in real-time, making it easier to track events as they occur and promptly detect issues.&lt;/p&gt;
&lt;div class=&#34;&#34;&gt;
  &lt;figure class=&#34;p-0 m-0 &#34;&gt;
    &lt;video 
      width=&#34;&#34; 
      controls
      muted
      playsinline
      
        class=&#34;lazyload&#34;
        preload=&#34;none&#34;
        
             
      
      
        loop
      
      src=&#34;/static/img/docs/v95/explore_live_tailing.mp4&#34;
      type=&#34;video/mp4&#34;
    &gt;
    &lt;/video&gt;&lt;/figure&gt;
&lt;/div&gt;
&lt;h3 id=&#34;logs-sample&#34;&gt;Logs sample&lt;/h3&gt;
&lt;p&gt;If the selected data source supports log samples and both log and metric queries, you will automatically see log line samples that contribute to the visualized metrics for metric queries. &lt;strong&gt;This feature is currently only supported by the Loki data source.&lt;/strong&gt;&lt;/p&gt;
&lt;h3 id=&#34;switch-from-metrics-to-logs&#34;&gt;Switch from metrics to logs&lt;/h3&gt;
&lt;p&gt;If you are transitioning from a metrics data source that implements &lt;code&gt;DataSourceWithQueryExportSupport&lt;/code&gt; (such as Prometheus) to a logging data source that supports &lt;code&gt;DataSourceWithQueryImportSupport&lt;/code&gt; (such as Loki), Explore retains the labels from your query that exist in the logs and use them to query the log streams.&lt;/p&gt;
&lt;p&gt;For example, after switching to the Loki data source, the Prometheus query &lt;code&gt;grafana_alerting_active_alerts{job=&amp;quot;grafana&amp;quot;}&lt;/code&gt; changes to &lt;code&gt;{job=&amp;quot;grafana&amp;quot;}&lt;/code&gt;. This will retrieve a set of logs within the specified time range, which can be searched using grep or text search.&lt;/p&gt;
]]></content><description>&lt;h1 id="logs-in-explore">Logs in Explore&lt;/h1>
&lt;p>Explore is a powerful tool for logging and log analysis. It allows you to investigate logs from different data sources including:&lt;/p>
&lt;ul>
&lt;li>
&lt;a href="/docs/grafana/v12.4/datasources/loki/">Loki&lt;/a>&lt;/li>
&lt;li>
&lt;a href="/docs/grafana/v12.4/datasources/elasticsearch/">Elasticsearch&lt;/a>&lt;/li>
&lt;li>
&lt;a href="/docs/grafana/v12.4/datasources/aws-cloudwatch/">Cloudwatch&lt;/a>&lt;/li>
&lt;li>
&lt;a href="/docs/grafana/v12.4/datasources/influxdb/">InfluxDB&lt;/a>&lt;/li>
&lt;li>
&lt;a href="/docs/grafana/v12.4/datasources/azure-monitor/">Azure Monitor&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://github.com/grafana/clickhouse-datasource" target="_blank" rel="noopener noreferrer">ClickHouse&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>With Explore, you can efficiently monitor, troubleshoot, and respond to incidents by analyzing your logs and identifying the root causes. It also helps you to correlate logs with other telemetry signals such as metrics, traces or profiles, by viewing them side-by-side.&lt;/p></description></item><item><title>Traces in Explore</title><link>https://grafana.com/docs/grafana/v12.4/visualizations/explore/trace-integration/</link><pubDate>Fri, 03 Apr 2026 12:35:46 -0500</pubDate><guid>https://grafana.com/docs/grafana/v12.4/visualizations/explore/trace-integration/</guid><content><![CDATA[&lt;h1 id=&#34;traces-in-explore&#34;&gt;Traces in Explore&lt;/h1&gt;
&lt;p&gt;You can use Explore to query and visualize traces from tracing data sources. Supported data sources include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/&#34;&gt;Tempo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/jaeger/&#34;&gt;Jaeger&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/zipkin/&#34;&gt;Zipkin&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;/grafana/plugins/grafana-x-ray-datasource&#34;&gt;X-Ray&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;/docs/grafana/latest/datasources/azure-monitor/&#34;&gt;Azure Monitor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/grafana/clickhouse-datasource&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;ClickHouse&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;/docs/plugins/grafana-newrelic-datasource/latest/&#34;&gt;New Relic&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;/docs/plugins/yesoreyeram-infinity-datasource/latest/&#34;&gt;Infinity&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here are some references to learn more about traces and how you can use them:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/tempo/latest/introduction/&#34;&gt;Introduction to tracing&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/tempo/latest/traceql/trace-structure/#trace-structure&#34;&gt;Trace structure&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/tempo/latest/introduction/telemetry/&#34;&gt;Traces and telemetry&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/tempo/latest/introduction/solutions-with-traces/&#34;&gt;Using traces to find solutions to problems&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/tracing-best-practices/&#34;&gt;Best practices for tracing&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;query-editors&#34;&gt;Query editors&lt;/h2&gt;
&lt;p&gt;You can query and search tracing data using a data source&amp;rsquo;s query editor. Note that data sources in Grafana have unique query editors.&lt;/p&gt;
&lt;p&gt;For information on how to use the query editor to create queries for tracing data sources, refer to the documentation for each individual data source.&lt;/p&gt;
&lt;h2 id=&#34;trace-view&#34;&gt;Trace view&lt;/h2&gt;
&lt;p&gt;The trace view provides an overview of a request as it travels through your system. The following sections provide detail on various elements of the trace view.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 900px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/media/docs/tempo/screenshot-grafana-trace-view.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/media/docs/tempo/screenshot-grafana-trace-view.png&#34;data-srcset=&#34;/media/docs/tempo/screenshot-grafana-trace-view.png?w=320 320w, /media/docs/tempo/screenshot-grafana-trace-view.png?w=550 550w, /media/docs/tempo/screenshot-grafana-trace-view.png?w=750 750w, /media/docs/tempo/screenshot-grafana-trace-view.png?w=900 900w, /media/docs/tempo/screenshot-grafana-trace-view.png?w=1040 1040w, /media/docs/tempo/screenshot-grafana-trace-view.png?w=1240 1240w, /media/docs/tempo/screenshot-grafana-trace-view.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Trace view&#34;width=&#34;891&#34;height=&#34;719&#34;title=&#34;Trace view&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/tempo/screenshot-grafana-trace-view.png&#34;
            alt=&#34;Trace view&#34;width=&#34;891&#34;height=&#34;719&#34;title=&#34;Trace view&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Trace view&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h3 id=&#34;header&#34;&gt;Header&lt;/h3&gt;
&lt;p&gt;The trace view header includes the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Header title&lt;/strong&gt; - Shows the name of the root span and trace ID.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Search&lt;/strong&gt; - Highlights spans containing the searched text.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Metadata&lt;/strong&gt; - Various metadata about the trace.&lt;/li&gt;
&lt;/ul&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 750px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/media/docs/tempo/screenshot-grafana-trace-view-header.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/media/docs/tempo/screenshot-grafana-trace-view-header.png&#34;data-srcset=&#34;/media/docs/tempo/screenshot-grafana-trace-view-header.png?w=320 320w, /media/docs/tempo/screenshot-grafana-trace-view-header.png?w=550 550w, /media/docs/tempo/screenshot-grafana-trace-view-header.png?w=750 750w, /media/docs/tempo/screenshot-grafana-trace-view-header.png?w=900 900w, /media/docs/tempo/screenshot-grafana-trace-view-header.png?w=1040 1040w, /media/docs/tempo/screenshot-grafana-trace-view-header.png?w=1240 1240w, /media/docs/tempo/screenshot-grafana-trace-view-header.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Trace view header&#34;width=&#34;890&#34;height=&#34;60&#34;title=&#34;Trace view header&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/tempo/screenshot-grafana-trace-view-header.png&#34;
            alt=&#34;Trace view header&#34;width=&#34;890&#34;height=&#34;60&#34;title=&#34;Trace view header&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Trace view header&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h3 id=&#34;minimap&#34;&gt;Minimap&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Minimap&lt;/strong&gt; displays a condensed view of the trace timeline. Drag your mouse over the minimap to zoom into a smaller time range. This also updates the main timeline, making it easier to view shorter spans
When zoomed in, hovering over the minimap displays &lt;strong&gt;Reset selection&lt;/strong&gt;, which resets the zoom.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 900px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/media/docs/tempo/screenshot-grafana-trace-view-minimap.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/media/docs/tempo/screenshot-grafana-trace-view-minimap.png&#34;data-srcset=&#34;/media/docs/tempo/screenshot-grafana-trace-view-minimap.png?w=320 320w, /media/docs/tempo/screenshot-grafana-trace-view-minimap.png?w=550 550w, /media/docs/tempo/screenshot-grafana-trace-view-minimap.png?w=750 750w, /media/docs/tempo/screenshot-grafana-trace-view-minimap.png?w=900 900w, /media/docs/tempo/screenshot-grafana-trace-view-minimap.png?w=1040 1040w, /media/docs/tempo/screenshot-grafana-trace-view-minimap.png?w=1240 1240w, /media/docs/tempo/screenshot-grafana-trace-view-minimap.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Trace view minimap example&#34;width=&#34;888&#34;height=&#34;80&#34;title=&#34;Trace view minimap example&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/tempo/screenshot-grafana-trace-view-minimap.png&#34;
            alt=&#34;Trace view minimap example&#34;width=&#34;888&#34;height=&#34;80&#34;title=&#34;Trace view minimap example&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Trace view minimap example&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h3 id=&#34;timeline&#34;&gt;Timeline&lt;/h3&gt;
&lt;p&gt;Timeline shows list of spans within the trace. Each span row consists of the following components:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Expand children&lt;/strong&gt; - Expands or collapses all the children spans of the selected span.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Service name&lt;/strong&gt; - Name of the service logged the span.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Operation name&lt;/strong&gt; - Name of the operation that this span represents.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Span duration bar&lt;/strong&gt; - Visual representation of the operation duration within the trace.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Click anywhere on the span row to reveal span details.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 900px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/media/docs/tempo/screenshot-grafana-trace-view-timeline.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/media/docs/tempo/screenshot-grafana-trace-view-timeline.png&#34;data-srcset=&#34;/media/docs/tempo/screenshot-grafana-trace-view-timeline.png?w=320 320w, /media/docs/tempo/screenshot-grafana-trace-view-timeline.png?w=550 550w, /media/docs/tempo/screenshot-grafana-trace-view-timeline.png?w=750 750w, /media/docs/tempo/screenshot-grafana-trace-view-timeline.png?w=900 900w, /media/docs/tempo/screenshot-grafana-trace-view-timeline.png?w=1040 1040w, /media/docs/tempo/screenshot-grafana-trace-view-timeline.png?w=1240 1240w, /media/docs/tempo/screenshot-grafana-trace-view-timeline.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Trace view timeline&#34;width=&#34;889&#34;height=&#34;227&#34;title=&#34;Trace view timeline&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/tempo/screenshot-grafana-trace-view-timeline.png&#34;
            alt=&#34;Trace view timeline&#34;width=&#34;889&#34;height=&#34;227&#34;title=&#34;Trace view timeline&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Trace view timeline&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;The &lt;strong&gt;Span duration bar&lt;/strong&gt; highlights the trace’s critical path with a darker segment. This darker segment means the span lies on the trace’s critical path, following the CRISP (Critical Path for Service Performance) algorithm.&lt;/p&gt;
&lt;p&gt;Use the highlight to focus on spans that drive end‑to‑end latency. Spans outside the critical path do not increase the trace duration.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 900px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/media/docs/grafana/explore/traces-panel-critical-path.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/media/docs/grafana/explore/traces-panel-critical-path.png&#34;data-srcset=&#34;/media/docs/grafana/explore/traces-panel-critical-path.png?w=320 320w, /media/docs/grafana/explore/traces-panel-critical-path.png?w=550 550w, /media/docs/grafana/explore/traces-panel-critical-path.png?w=750 750w, /media/docs/grafana/explore/traces-panel-critical-path.png?w=900 900w, /media/docs/grafana/explore/traces-panel-critical-path.png?w=1040 1040w, /media/docs/grafana/explore/traces-panel-critical-path.png?w=1240 1240w, /media/docs/grafana/explore/traces-panel-critical-path.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Critical path span&#34;width=&#34;1143&#34;height=&#34;213&#34;title=&#34;Critical path span&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/grafana/explore/traces-panel-critical-path.png&#34;
            alt=&#34;Critical path span&#34;width=&#34;1143&#34;height=&#34;213&#34;title=&#34;Critical path span&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Critical path span&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;You can also focus on this path by clicking the &lt;strong&gt;Show critical path only&lt;/strong&gt; button in the &lt;strong&gt;Span filters&lt;/strong&gt; options.&lt;/p&gt;
&lt;h3 id=&#34;span-details&#34;&gt;Span details&lt;/h3&gt;
&lt;p&gt;Traces are composed of one or more spans.
A span is a unit of work within a trace that has a start time relative to the beginning of the trace, a duration and an operation name for the unit of work.
It usually has a reference to a parent span, unless it’s the first span, the root span, in a trace.
It frequently includes key/value attributes that are relevant to the span itself, for example the HTTP method used in the request, as well as other metadata such as the service name, sub-span events, or links to other spans.&lt;/p&gt;
&lt;p&gt;You can expand any span in a trace and view the details, including the span and resource attributes.&lt;/p&gt;
&lt;p&gt;For more information about spans and traces, refer to &lt;a href=&#34;/docs/tempo/latest/introduction/&#34;&gt;Introduction to tracing&lt;/a&gt; in the Tempo documentation.&lt;/p&gt;
&lt;p&gt;Span details include span attributes, resource attributes, events, and links.&lt;/p&gt;
&lt;h4 id=&#34;span-and-resource-attributes&#34;&gt;Span and resource attributes&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Span attributes&lt;/strong&gt; are key-value pairs that provide metadata about a specific span. They give context to the operation being performed, such as information about the request, response, or any relevant operational details. For example, if the span deals with calling another service via HTTP, an attribute could include the HTTP URL (maybe as the span attribute key &lt;code&gt;http.url&lt;/code&gt;) and the HTTP status code returned (as the span attribute &lt;code&gt;http.status_code&lt;/code&gt;).&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 900px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/media/docs/tempo/screenshot-grafana-trace-view-span-span-attributes.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/media/docs/tempo/screenshot-grafana-trace-view-span-span-attributes.png&#34;data-srcset=&#34;/media/docs/tempo/screenshot-grafana-trace-view-span-span-attributes.png?w=320 320w, /media/docs/tempo/screenshot-grafana-trace-view-span-span-attributes.png?w=550 550w, /media/docs/tempo/screenshot-grafana-trace-view-span-span-attributes.png?w=750 750w, /media/docs/tempo/screenshot-grafana-trace-view-span-span-attributes.png?w=900 900w, /media/docs/tempo/screenshot-grafana-trace-view-span-span-attributes.png?w=1040 1040w, /media/docs/tempo/screenshot-grafana-trace-view-span-span-attributes.png?w=1240 1240w, /media/docs/tempo/screenshot-grafana-trace-view-span-span-attributes.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Trace view span attributes&#34;width=&#34;1656&#34;height=&#34;1089&#34;title=&#34;Trace view span attributes&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/tempo/screenshot-grafana-trace-view-span-span-attributes.png&#34;
            alt=&#34;Trace view span attributes&#34;width=&#34;1656&#34;height=&#34;1089&#34;title=&#34;Trace view span attributes&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Trace view span attributes&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;&lt;strong&gt;Resource attributes&lt;/strong&gt; are key-value pairs that describe the environment or entity that is producing the trace. They capture static information about the origin of traces, like the application name or the service version.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 900px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/media/docs/tempo/screenshot-grafana-trace-view-span-resource-attributes.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/media/docs/tempo/screenshot-grafana-trace-view-span-resource-attributes.png&#34;data-srcset=&#34;/media/docs/tempo/screenshot-grafana-trace-view-span-resource-attributes.png?w=320 320w, /media/docs/tempo/screenshot-grafana-trace-view-span-resource-attributes.png?w=550 550w, /media/docs/tempo/screenshot-grafana-trace-view-span-resource-attributes.png?w=750 750w, /media/docs/tempo/screenshot-grafana-trace-view-span-resource-attributes.png?w=900 900w, /media/docs/tempo/screenshot-grafana-trace-view-span-resource-attributes.png?w=1040 1040w, /media/docs/tempo/screenshot-grafana-trace-view-span-resource-attributes.png?w=1240 1240w, /media/docs/tempo/screenshot-grafana-trace-view-span-resource-attributes.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Trace view span resource attributes&#34;width=&#34;1656&#34;height=&#34;525&#34;title=&#34;Trace view span resource attributes&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/tempo/screenshot-grafana-trace-view-span-resource-attributes.png&#34;
            alt=&#34;Trace view span resource attributes&#34;width=&#34;1656&#34;height=&#34;525&#34;title=&#34;Trace view span resource attributes&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Trace view span resource attributes&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;Span attributes are specific to a particular operation, while resource attributes are associated with the whole trace or the entire service emitting the spans. Refer to 
    &lt;a href=&#34;/docs/tempo/latest/operations/best-practices/#span-and-resource-attributes&#34;&gt;Span and resource attributes&lt;/a&gt; for more detail.&lt;/p&gt;
&lt;h4 id=&#34;events&#34;&gt;Events&lt;/h4&gt;
&lt;p&gt;Events are log-like records attached to a span that represent an occurrence during its execution. They record notable moments or occurrences within the span&amp;rsquo;s lifecycle, such as errors, warnings, or checkpoints. If an error occurs during an operation, an event can be added to the span to indicate what went wrong and when. Events include a timestamp, name, and key-value pairs attributes that provide additional context or details about the event.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 900px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/media/docs/tempo/screenshot-grafana-trace-view-span-events.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/media/docs/tempo/screenshot-grafana-trace-view-span-events.png&#34;data-srcset=&#34;/media/docs/tempo/screenshot-grafana-trace-view-span-events.png?w=320 320w, /media/docs/tempo/screenshot-grafana-trace-view-span-events.png?w=550 550w, /media/docs/tempo/screenshot-grafana-trace-view-span-events.png?w=750 750w, /media/docs/tempo/screenshot-grafana-trace-view-span-events.png?w=900 900w, /media/docs/tempo/screenshot-grafana-trace-view-span-events.png?w=1040 1040w, /media/docs/tempo/screenshot-grafana-trace-view-span-events.png?w=1240 1240w, /media/docs/tempo/screenshot-grafana-trace-view-span-events.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Trace view span events&#34;width=&#34;1652&#34;height=&#34;1281&#34;title=&#34;Trace view span events&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/tempo/screenshot-grafana-trace-view-span-events.png&#34;
            alt=&#34;Trace view span events&#34;width=&#34;1652&#34;height=&#34;1281&#34;title=&#34;Trace view span events&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Trace view span events&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h4 id=&#34;links&#34;&gt;Links&lt;/h4&gt;
&lt;p&gt;Links show relationships between spans that are not in a direct parent-child relationship. They represent associations between spans that happen concurrently or across separate trace trees, linking traces that originated from separate sources but are logically connected, such as background job processing initiated from a web request. You might use links when a trace passes through an asynchronous queue or when correlating traces from different services.&lt;/p&gt;
&lt;h3 id=&#34;span-filters&#34;&gt;Span filters&lt;/h3&gt;
&lt;p&gt;Span filters allow you to refine the spans displayed in the trace timeline viewer.
The more filters you add, the more specific the filtered spans become.
Click on a trace to access Span filters.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/media/docs/tempo/screenshot-grafana-tempo-span-filters-v10-1.png&#34;
  alt=&#34;Screenshot of span filtering&#34; width=&#34;833&#34;
     height=&#34;239&#34;/&gt;&lt;/p&gt;
&lt;p&gt;You can add one or more of the following filters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Service name&lt;/strong&gt; - Filter by selecting a service name from the dropdown.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Span name&lt;/strong&gt; - Filter by selecting a span name from the dropdown.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Duration&lt;/strong&gt; - Filter by duration. Accepted units include ns, us, ms, s, m, h.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tags&lt;/strong&gt; - Filter by tags, process tags, or log fields in your span.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To only show the spans you have matched, toggle &lt;strong&gt;Show matches only&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/span-filters/&#34;&gt;Span filters&lt;/a&gt; for more in depth information.&lt;/p&gt;
&lt;h3 id=&#34;trace-to-logs&#34;&gt;Trace to logs&lt;/h3&gt;
&lt;p&gt;You can navigate from a span in a trace view directly to logs relevant for that span.
This feature is available for the Tempo, Jaeger, and Zipkin data sources.
Refer to each individual data source&amp;rsquo;s documentation for configuration instructions.&lt;/p&gt;
&lt;p&gt;Click the document icon to open a split view in Explore with the configured data source and query relevant logs for the span.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 900px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/media/docs/tempo/screenshot-grafana-trace-view-trace-to-logs.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/media/docs/tempo/screenshot-grafana-trace-view-trace-to-logs.png&#34;data-srcset=&#34;/media/docs/tempo/screenshot-grafana-trace-view-trace-to-logs.png?w=320 320w, /media/docs/tempo/screenshot-grafana-trace-view-trace-to-logs.png?w=550 550w, /media/docs/tempo/screenshot-grafana-trace-view-trace-to-logs.png?w=750 750w, /media/docs/tempo/screenshot-grafana-trace-view-trace-to-logs.png?w=900 900w, /media/docs/tempo/screenshot-grafana-trace-view-trace-to-logs.png?w=1040 1040w, /media/docs/tempo/screenshot-grafana-trace-view-trace-to-logs.png?w=1240 1240w, /media/docs/tempo/screenshot-grafana-trace-view-trace-to-logs.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Trace to logs&#34;width=&#34;975&#34;height=&#34;507&#34;title=&#34;Trace to logs&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/tempo/screenshot-grafana-trace-view-trace-to-logs.png&#34;
            alt=&#34;Trace to logs&#34;width=&#34;975&#34;height=&#34;507&#34;title=&#34;Trace to logs&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Trace to logs&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h3 id=&#34;trace-to-metrics&#34;&gt;Trace to metrics&lt;/h3&gt;
&lt;p&gt;You can navigate from a span in a trace view directly to metrics relevant for that span.
This feature is available for the Tempo, Jaeger, and Zipkin data sources.&lt;/p&gt;
&lt;p&gt;Refer to each individual data source&amp;rsquo;s documentation for configuration instructions.
For Tempo, refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/configure-tempo-data-source/#trace-to-metrics&#34;&gt;Trace to metrics configuration&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;trace-to-profiles&#34;&gt;Trace to profiles&lt;/h3&gt;
&lt;p&gt;Using Trace to profiles, you can use Grafana’s ability to correlate different signals by adding the functionality to link between traces and profiles.&lt;/p&gt;
&lt;p&gt;For Tempo refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/configure-tempo-data-source/#trace-to-profiles&#34;&gt;Trace to profiles&lt;/a&gt; for configuration instructions.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 900px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link&#34;
        href=&#34;/static/img/docs/tempo/profiles/tempo-trace-to-profile.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload &#34;
          data-src=&#34;/static/img/docs/tempo/profiles/tempo-trace-to-profile.png&#34;data-srcset=&#34;/static/img/docs/tempo/profiles/tempo-trace-to-profile.png?w=320 320w, /static/img/docs/tempo/profiles/tempo-trace-to-profile.png?w=550 550w, /static/img/docs/tempo/profiles/tempo-trace-to-profile.png?w=750 750w, /static/img/docs/tempo/profiles/tempo-trace-to-profile.png?w=900 900w, /static/img/docs/tempo/profiles/tempo-trace-to-profile.png?w=1040 1040w, /static/img/docs/tempo/profiles/tempo-trace-to-profile.png?w=1240 1240w, /static/img/docs/tempo/profiles/tempo-trace-to-profile.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Selecting a link in the span queries the profile data source&#34;width=&#34;2089&#34;height=&#34;1112&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/tempo/profiles/tempo-trace-to-profile.png&#34;
            alt=&#34;Selecting a link in the span queries the profile data source&#34;width=&#34;2089&#34;height=&#34;1112&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h3 id=&#34;trace-correlations&#34;&gt;Trace correlations&lt;/h3&gt;
&lt;p&gt;You can use 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/correlations/&#34;&gt;correlations&lt;/a&gt; to define custom links that appear in the trace view based on trace and span information.&lt;/p&gt;
&lt;p&gt;For Tempo, refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/traces-in-grafana/trace-correlations/&#34;&gt;Trace correlations&lt;/a&gt; for configuration instructions.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 900px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link&#34;
        href=&#34;/media/docs/tempo/screenshot-grafana-trace-view-correlations.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload &#34;
          data-src=&#34;/media/docs/tempo/screenshot-grafana-trace-view-correlations.png&#34;data-srcset=&#34;/media/docs/tempo/screenshot-grafana-trace-view-correlations.png?w=320 320w, /media/docs/tempo/screenshot-grafana-trace-view-correlations.png?w=550 550w, /media/docs/tempo/screenshot-grafana-trace-view-correlations.png?w=750 750w, /media/docs/tempo/screenshot-grafana-trace-view-correlations.png?w=900 900w, /media/docs/tempo/screenshot-grafana-trace-view-correlations.png?w=1040 1040w, /media/docs/tempo/screenshot-grafana-trace-view-correlations.png?w=1240 1240w, /media/docs/tempo/screenshot-grafana-trace-view-correlations.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Using correlations for a trace&#34;width=&#34;1400&#34;height=&#34;1170&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/tempo/screenshot-grafana-trace-view-correlations.png&#34;
            alt=&#34;Using correlations for a trace&#34;width=&#34;1400&#34;height=&#34;1170&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h2 id=&#34;node-graph&#34;&gt;Node graph&lt;/h2&gt;
&lt;p&gt;You can also expand the node graph for a displayed trace. If the data source supports it, this displays spans of the trace as nodes in the graph, or provides additional context, such as a service graph based on the current trace.&lt;/p&gt;
&lt;p&gt;Refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/visualizations/node-graph/&#34;&gt;Node graph&lt;/a&gt; for additional information.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;The node graph requires data to be returned from the data source in a specific format to display correctly. Refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/visualizations/node-graph/#data-api&#34;&gt;Data API&lt;/a&gt;, &lt;a href=&#34;/docs/grafana/latest/panels-visualizations/visualizations/node-graph/#nodes-data-frame-structure&#34;&gt;Nodes data frame structure&lt;/a&gt; and &lt;a href=&#34;/docs/grafana/latest/panels-visualizations/visualizations/node-graph/#data-requirements&#34;&gt;Node graph data requirements&lt;/a&gt; for additional information and configuration instructions.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 900px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/media/docs/tempo/screenshot-grafana-node-graph.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/media/docs/tempo/screenshot-grafana-node-graph.png&#34;data-srcset=&#34;/media/docs/tempo/screenshot-grafana-node-graph.png?w=320 320w, /media/docs/tempo/screenshot-grafana-node-graph.png?w=550 550w, /media/docs/tempo/screenshot-grafana-node-graph.png?w=750 750w, /media/docs/tempo/screenshot-grafana-node-graph.png?w=900 900w, /media/docs/tempo/screenshot-grafana-node-graph.png?w=1040 1040w, /media/docs/tempo/screenshot-grafana-node-graph.png?w=1240 1240w, /media/docs/tempo/screenshot-grafana-node-graph.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Node graph&#34;width=&#34;892&#34;height=&#34;551&#34;title=&#34;Node graph&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/tempo/screenshot-grafana-node-graph.png&#34;
            alt=&#34;Node graph&#34;width=&#34;892&#34;height=&#34;551&#34;title=&#34;Node graph&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Node graph&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h2 id=&#34;service-graph&#34;&gt;Service graph&lt;/h2&gt;
&lt;p&gt;A service graph visualizes rates, error rates, and durations (RED), along with service relationships.
After the requirements are configured, this pre-configured view is immediately available.&lt;/p&gt;
&lt;p&gt;For additional information refer to the following documentation:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/service-graph/&#34;&gt;Service Graph and Service Graph view&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/tempo/latest/metrics-generator/service-graph-view/&#34;&gt;Service graph view&lt;/a&gt; in Tempo documentation&lt;/li&gt;
&lt;/ul&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 900px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/static/img/docs/grafana-cloud/apm-overview.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/static/img/docs/grafana-cloud/apm-overview.png&#34;data-srcset=&#34;/static/img/docs/grafana-cloud/apm-overview.png?w=320 320w, /static/img/docs/grafana-cloud/apm-overview.png?w=550 550w, /static/img/docs/grafana-cloud/apm-overview.png?w=750 750w, /static/img/docs/grafana-cloud/apm-overview.png?w=900 900w, /static/img/docs/grafana-cloud/apm-overview.png?w=1040 1040w, /static/img/docs/grafana-cloud/apm-overview.png?w=1240 1240w, /static/img/docs/grafana-cloud/apm-overview.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Service graph view&#34;width=&#34;1266&#34;height=&#34;915&#34;title=&#34;Service graph view&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/grafana-cloud/apm-overview.png&#34;
            alt=&#34;Service graph view&#34;width=&#34;1266&#34;height=&#34;915&#34;title=&#34;Service graph view&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Service graph view&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
]]></content><description>&lt;h1 id="traces-in-explore">Traces in Explore&lt;/h1>
&lt;p>You can use Explore to query and visualize traces from tracing data sources. Supported data sources include:&lt;/p>
&lt;ul>
&lt;li>
&lt;a href="/docs/grafana/v12.4/datasources/tempo/">Tempo&lt;/a>&lt;/li>
&lt;li>
&lt;a href="/docs/grafana/v12.4/datasources/jaeger/">Jaeger&lt;/a>&lt;/li>
&lt;li>
&lt;a href="/docs/grafana/v12.4/datasources/zipkin/">Zipkin&lt;/a>&lt;/li>
&lt;li>&lt;a href="/grafana/plugins/grafana-x-ray-datasource">X-Ray&lt;/a>&lt;/li>
&lt;li>&lt;a href="/docs/grafana/latest/datasources/azure-monitor/">Azure Monitor&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://github.com/grafana/clickhouse-datasource" target="_blank" rel="noopener noreferrer">ClickHouse&lt;/a>&lt;/li>
&lt;li>&lt;a href="/docs/plugins/grafana-newrelic-datasource/latest/">New Relic&lt;/a>&lt;/li>
&lt;li>&lt;a href="/docs/plugins/yesoreyeram-infinity-datasource/latest/">Infinity&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>Here are some references to learn more about traces and how you can use them:&lt;/p></description></item></channel></rss>