<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/v8.4/explore/</link><description>Recent content in Explore on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/grafana/v8.4/explore/index.xml" rel="self" type="application/rss+xml"/><item><title>Query management</title><link>https://grafana.com/docs/grafana/v8.4/explore/query-management/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/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;To help with debugging queries, Explore allows you to investigate query requests and responses, as well as query statistics, via the Query inspector.
This functionality is similar to the panel inspector tasks &lt;a href=&#34;../../panels/query-a-data-source/inspect-query-performance/&#34;&gt;Inspect query performance&lt;/a&gt; and
&lt;a href=&#34;../../panels/query-a-data-source/inspect-request-and-response-data/&#34;&gt;Inspect query request and response data&lt;/a&gt;.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 550px;&#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/v71/query_inspector_explore.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/v71/query_inspector_explore.png&#34;data-srcset=&#34;/static/img/docs/v71/query_inspector_explore.png?w=320 320w, /static/img/docs/v71/query_inspector_explore.png?w=550 550w, /static/img/docs/v71/query_inspector_explore.png?w=750 750w, /static/img/docs/v71/query_inspector_explore.png?w=900 900w, /static/img/docs/v71/query_inspector_explore.png?w=1040 1040w, /static/img/docs/v71/query_inspector_explore.png?w=1240 1240w, /static/img/docs/v71/query_inspector_explore.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Screenshot of the query inspector button in Explore&#34;width=&#34;791&#34;height=&#34;120&#34;title=&#34;Screenshot of the query inspector button in Explore&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/v71/query_inspector_explore.png&#34;
            alt=&#34;Screenshot of the query inspector button in Explore&#34;width=&#34;791&#34;height=&#34;120&#34;title=&#34;Screenshot of the query inspector button in Explore&#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;Screenshot of the query inspector button in Explore&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h2 id=&#34;query-history&#34;&gt;Query history&lt;/h2&gt;
&lt;p&gt;Query history is a list of queries that you have used in Explore. The history is local to your browser and is not shared. To open and interact with your history, click the &lt;strong&gt;Query history&lt;/strong&gt; button in Explore.&lt;/p&gt;
&lt;h3 id=&#34;view-query-history&#34;&gt;View query history&lt;/h3&gt;
&lt;p&gt;Query history lets you view the history of your querying. For each individual query, you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Run a 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;Star a query.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;manage-favorite-queries&#34;&gt;Manage favorite queries&lt;/h3&gt;
&lt;p&gt;All queries that have been starred in the Query history tab are displayed in the Starred. This allows you to access your favorite queries faster and to reuse these queries without typing them from scratch.&lt;/p&gt;
&lt;h3 id=&#34;sort-query-history&#34;&gt;Sort query history&lt;/h3&gt;
&lt;p&gt;By default, query history shows you the most recent queries. You can sort your history by date or by data source name in ascending or descending order.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click the &lt;strong&gt;Sort queries by&lt;/strong&gt; field.&lt;/li&gt;
&lt;li&gt;Select one of the following options:
&lt;ul&gt;
&lt;li&gt;Newest first&lt;/li&gt;
&lt;li&gt;Oldest first&lt;/li&gt;
&lt;li&gt;Data source A-Z&lt;/li&gt;
&lt;li&gt;Data source Z-A&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If you are in split mode, then the chosen sorting mode applies only to the active panel.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h3 id=&#34;filter-query-history&#34;&gt;Filter query history&lt;/h3&gt;
&lt;p&gt;Filter query history in Query history and Starred tab 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 for which you would like to filter your history. You can select multiple data sources.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In &lt;strong&gt;Query history&lt;/strong&gt; tab it is also possible to filter queries by date using the slider:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use vertical slider to filter queries by date.&lt;/li&gt;
&lt;li&gt;By dragging top handle, adjust start date.&lt;/li&gt;
&lt;li&gt;By dragging top handle, adjust end date.&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If you are in split mode, filters are applied only to your currently active panel.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h3 id=&#34;search-in-query-history&#34;&gt;Search in query history&lt;/h3&gt;
&lt;p&gt;You can search in your history across queries and your comments. Search is possible for queries in the Query history tab and Starred tab.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click the &lt;strong&gt;Search queries&lt;/strong&gt; field.&lt;/li&gt;
&lt;li&gt;Type the term you are searching for into search field.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;query-history-settings&#34;&gt;Query history settings&lt;/h3&gt;
&lt;p&gt;You can customize the query history in the Settings tab. Options are described in the table below.&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&gt;Setting&lt;/th&gt;
              &lt;th&gt;Default value&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Period of time for which Grafana will save your query history&lt;/td&gt;
              &lt;td&gt;1 week&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Change the default active tab&lt;/td&gt;
              &lt;td&gt;Query history tab&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Only show queries for data source currently active in Explore&lt;/td&gt;
              &lt;td&gt;True&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Clear query history&lt;/td&gt;
              &lt;td&gt;Permanently deletes all stored queries.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Query history settings are global, and applied to both panels in split mode.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2 id=&#34;prometheus-specific-features&#34;&gt;Prometheus-specific Features&lt;/h2&gt;
&lt;p&gt;The first version of Explore features a custom querying experience for Prometheus. When a query is executed, it actually executes two queries, a normal Prometheus query for the graph and an Instant Query for the table. An Instant Query returns the last value for each time series which shows a good summary of the data shown in the graph.&lt;/p&gt;
&lt;h3 id=&#34;metrics-explorer&#34;&gt;Metrics explorer&lt;/h3&gt;
&lt;p&gt;On the left side of the query field, click &lt;strong&gt;Metrics&lt;/strong&gt; to open the Metric Explorer. This shows a hierarchical menu with metrics grouped by their prefix. For example, all Alertmanager metrics are grouped under the &lt;code&gt;alertmanager&lt;/code&gt; prefix. This is a good starting point if you just want to explore which metrics are available.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#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/v65/explore_metric_explorer.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/v65/explore_metric_explorer.png&#34;data-srcset=&#34;/static/img/docs/v65/explore_metric_explorer.png?w=320 320w, /static/img/docs/v65/explore_metric_explorer.png?w=550 550w, /static/img/docs/v65/explore_metric_explorer.png?w=750 750w, /static/img/docs/v65/explore_metric_explorer.png?w=900 900w, /static/img/docs/v65/explore_metric_explorer.png?w=1040 1040w, /static/img/docs/v65/explore_metric_explorer.png?w=1240 1240w, /static/img/docs/v65/explore_metric_explorer.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Screenshot of the new Explore option in the panel menu&#34;width=&#34;1484&#34;height=&#34;634&#34;title=&#34;Screenshot of the new Explore option in the panel menu&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/v65/explore_metric_explorer.png&#34;
            alt=&#34;Screenshot of the new Explore option in the panel menu&#34;width=&#34;1484&#34;height=&#34;634&#34;title=&#34;Screenshot of the new Explore option in the panel menu&#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;Screenshot of the new Explore option in the panel menu&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h3 id=&#34;query-field&#34;&gt;Query field&lt;/h3&gt;
&lt;p&gt;The Query field supports autocomplete for metric names, function and works mostly the same way as the standard Prometheus query editor. Press the enter key to execute a query.&lt;/p&gt;
&lt;p&gt;The autocomplete menu can be triggered by pressing Ctrl&#43;Space. The Autocomplete menu contains a new History section with a list of recently executed queries.&lt;/p&gt;
&lt;p&gt;Suggestions can appear under the query field - click on them to update your query with the suggested change.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For counters (monotonically increasing metrics), a rate function will be suggested.&lt;/li&gt;
&lt;li&gt;For buckets, a histogram function will be suggested.&lt;/li&gt;
&lt;li&gt;For recording rules, possible to expand the rules.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;table-filters&#34;&gt;Table filters&lt;/h3&gt;
&lt;p&gt;Click on the filter button in the &amp;ldquo;label&amp;rdquo; column of a Table panel to add filters to the query expression. You can add filters for multiple queries as well - the filter is added for all the queries.&lt;/p&gt;
]]></content><description>&lt;h1 id="query-management-in-explore">Query management in Explore&lt;/h1>
&lt;p>To help with debugging queries, Explore allows you to investigate query requests and responses, as well as query statistics, via the Query inspector.
This functionality is similar to the panel inspector tasks &lt;a href="../../panels/query-a-data-source/inspect-query-performance/">Inspect query performance&lt;/a> and
&lt;a href="../../panels/query-a-data-source/inspect-request-and-response-data/">Inspect query request and response data&lt;/a>.&lt;/p></description></item><item><title>Logs in Explore</title><link>https://grafana.com/docs/grafana/v8.4/explore/logs-integration/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/explore/logs-integration/</guid><content><![CDATA[&lt;h1 id=&#34;logs-in-explore&#34;&gt;Logs in Explore&lt;/h1&gt;
&lt;p&gt;Along with metrics, Explore allows you to investigate your logs in the following data sources:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../../datasources/elasticsearch/&#34;&gt;Elasticsearch&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../datasources/influxdb/&#34;&gt;InfluxDB&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../datasources/loki/&#34;&gt;Loki&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;During an infrastructure monitoring and incident response, you can dig deeper into the metrics and logs to find the cause. Explore also allows you to correlate metrics and logs by viewing them side-by-side. This creates a new debugging workflow:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Receive an alert.&lt;/li&gt;
&lt;li&gt;Drill down and examine metrics.&lt;/li&gt;
&lt;li&gt;Drill down again and search logs related to the metric and time interval (and in the future, distributed traces).&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;logs-visualization&#34;&gt;Logs visualization&lt;/h3&gt;
&lt;p&gt;Results of log queries are shown as histograms in the graph and individual logs are explained in the following sections.&lt;/p&gt;
&lt;p&gt;If the data source supports a full range log volume histogram, the graph with log distribution for all entered log queries is shown automatically. This feature is currently supported by Elasticsearch and Loki data sources.&lt;/p&gt;
&lt;p&gt;If the data source does not support loading full range log volume histogram, the logs model computes a time series based on the log row counts bucketed by an automatically calculated time interval, and the first log row&amp;rsquo;s timestamp then anchors the start of the histogram from the result. The end of the time series is anchored to the time picker&amp;rsquo;s &lt;strong&gt;To&lt;/strong&gt; range.&lt;/p&gt;
&lt;h4 id=&#34;log-level&#34;&gt;Log level&lt;/h4&gt;
&lt;p&gt;For logs where a level label is specified, we use the value of the label to determine the log level and update color accordingly. If the log doesn&amp;rsquo;t have a level label specified, we try to find out if its content matches any of the supported expressions (see below for more information). The log level is always determined by the first match. In case Grafana is not able to determine a log level, it will be visualized with an unknown log level.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; If you use Loki data source and the &amp;ldquo;level&amp;rdquo; is in your log-line, use parsers (JSON, logfmt, regex,..) to extract the level information into a level label that is used to determine log level. This will allow the histogram to show the various log levels in separate bars.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Supported log levels 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&gt;Supported expressions&lt;/th&gt;
              &lt;th style=&#34;text-align: center&#34;&gt;Log level&lt;/th&gt;
              &lt;th style=&#34;text-align: right&#34;&gt;Color&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;emerg&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;critical&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;purple&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;fatal&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;critical&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;purple&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;alert&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;critical&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;purple&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;crit&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;critical&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;purple&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;critical&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;critical&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;purple&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;err&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;error&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;red&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;eror&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;error&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;red&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;error&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;error&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;red&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;warn&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;warning&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;yellow&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;warning&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;warning&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;yellow&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;info&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;info&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;green&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;information&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;info&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;green&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;notice&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;info&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;green&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;dbug&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;debug&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;blue&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;debug&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;debug&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;blue&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;trace&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;trace&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;light blue&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;*&lt;/td&gt;
              &lt;td style=&#34;text-align: center&#34;&gt;unknown&lt;/td&gt;
              &lt;td style=&#34;text-align: right&#34;&gt;grey&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h3 id=&#34;logs-navigation&#34;&gt;Logs navigation&lt;/h3&gt;
&lt;p&gt;Logs navigation next to the log lines can be used to request more logs. You can do this by clicking on Older logs button on the bottom of navigation. This is especially useful when you hit the line limit and you want to see more logs. Each request that is run from the navigation is then displayed in the navigation as separate page. Every page is showing from and to timestamp of the incoming log lines. You can see previous results by clicking on the page. Explore is caching last five requests run from the logs navigation, so you are not re-running the same queries when clicking on the pages.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/static/img/docs/explore/navigate-logs-8-0.png&#34;
  alt=&#34;Navigate logs in Explore&#34; width=&#34;1145&#34;
     height=&#34;620&#34;/&gt;&lt;/p&gt;
&lt;h3 id=&#34;visualization-options&#34;&gt;Visualization options&lt;/h3&gt;
&lt;p&gt;You can customize how logs are displayed and select which columns are shown.&lt;/p&gt;
&lt;h4 id=&#34;time&#34;&gt;Time&lt;/h4&gt;
&lt;p&gt;Shows or hides the time column. This is the timestamp associated with the log line as reported from the data source.&lt;/p&gt;
&lt;h4 id=&#34;unique-labels&#34;&gt;Unique labels&lt;/h4&gt;
&lt;p&gt;Shows or hides the unique labels column that includes only non-common labels. All common labels are displayed above.&lt;/p&gt;
&lt;h4 id=&#34;wrap-lines&#34;&gt;Wrap lines&lt;/h4&gt;
&lt;p&gt;Set this to True if you want the display to use line wrapping. If set to False, it will result in horizontal scrolling.&lt;/p&gt;
&lt;h4 id=&#34;prettify-json&#34;&gt;Prettify JSON&lt;/h4&gt;
&lt;p&gt;Set this to &lt;code&gt;true&lt;/code&gt; to pretty print all JSON logs. This setting does not affect logs in any format other than JSON.&lt;/p&gt;
&lt;h4 id=&#34;deduping&#34;&gt;Deduping&lt;/h4&gt;
&lt;p&gt;Log data can be very repetitive and Explore can help by hiding duplicate log lines. There are a few different deduplication algorithms that you can use:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Exact -&lt;/strong&gt; Exact matches are done on the whole line except for date fields.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Numbers -&lt;/strong&gt; Matches on the line after stripping out numbers such as durations, IP addresses, and so on.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Signature -&lt;/strong&gt; The most aggressive deduping, this strips all letters and numbers and matches on the remaining whitespace and punctuation.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;flip-results-order&#34;&gt;Flip results order&lt;/h4&gt;
&lt;p&gt;You can change the order of received logs from the default descending order (newest first) to ascending order (oldest first).&lt;/p&gt;
&lt;h3 id=&#34;labels-and-detected-fields&#34;&gt;Labels and detected fields&lt;/h3&gt;
&lt;p&gt;Each log row has an extendable area with its labels and detected fields, for more robust interaction. For all labels we have added the ability to filter for (positive filter) and filter out (negative filter) selected labels. Each field or label also has a stats icon to display ad-hoc statistics in relation to all displayed logs.&lt;/p&gt;
&lt;h4 id=&#34;derived-fields-links&#34;&gt;Derived fields links&lt;/h4&gt;
&lt;p&gt;By using Derived fields, you can turn any part of a log message into an internal or external link. The created link is visible as a button next to the Detected field in the Log details view.
&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/detected-fields-link-7-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/detected-fields-link-7-4.png&#34;data-srcset=&#34;/static/img/docs/explore/detected-fields-link-7-4.png?w=320 320w, /static/img/docs/explore/detected-fields-link-7-4.png?w=550 550w, /static/img/docs/explore/detected-fields-link-7-4.png?w=750 750w, /static/img/docs/explore/detected-fields-link-7-4.png?w=900 900w, /static/img/docs/explore/detected-fields-link-7-4.png?w=1040 1040w, /static/img/docs/explore/detected-fields-link-7-4.png?w=1240 1240w, /static/img/docs/explore/detected-fields-link-7-4.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Detected fields link in Explore&#34;width=&#34;2024&#34;height=&#34;776&#34;title=&#34;Detected fields link in Explore&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/explore/detected-fields-link-7-4.png&#34;
            alt=&#34;Detected fields link in Explore&#34;width=&#34;2024&#34;height=&#34;776&#34;title=&#34;Detected fields link in Explore&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Detected fields link in Explore&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;&lt;/p&gt;
&lt;h4 id=&#34;toggle-detected-fields&#34;&gt;Toggle detected fields&lt;/h4&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Available in Grafana 7.2 and later versions.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;If your logs are structured in &lt;code&gt;json&lt;/code&gt; or &lt;code&gt;logfmt&lt;/code&gt;, then you can show or hide detected fields. Expand a log line and then click the eye icon to show or hide fields.&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/parsed-fields-7-2.gif&#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/parsed-fields-7-2.gif&#34;alt=&#34;Toggling detected fields in Explore&#34;width=&#34;1280&#34;height=&#34;720&#34;title=&#34;Toggling detected fields in Explore&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/explore/parsed-fields-7-2.gif&#34;
            alt=&#34;Toggling detected fields in Explore&#34;width=&#34;1280&#34;height=&#34;720&#34;title=&#34;Toggling detected fields in Explore&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Toggling detected fields in Explore&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h3 id=&#34;loki-specific-features&#34;&gt;Loki-specific features&lt;/h3&gt;
&lt;p&gt;As mentioned, one of the log integrations is for the new open source log aggregation system from Grafana Labs - &lt;a href=&#34;https://github.com/grafana/loki&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Loki&lt;/a&gt;. Loki is designed to be very cost effective, as it does not index the contents of the logs, but rather a set of labels for each log stream. The logs from Loki are queried in a similar way to querying with label selectors in Prometheus. It uses labels to group log streams which can be made to match up with your Prometheus labels. For more information about Grafana Loki, refer to &lt;a href=&#34;https://github.com/grafana/loki&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Grafana Loki&lt;/a&gt; or the Grafana Labs hosted variant: &lt;a href=&#34;/loki&#34;&gt;Grafana Cloud Logs&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For more information, refer to &lt;a href=&#34;../../datasources/loki/&#34;&gt;Loki&amp;rsquo;s data source documentation&lt;/a&gt; on how to query for log data.&lt;/p&gt;
&lt;h4 id=&#34;switch-from-metrics-to-logs&#34;&gt;Switch from metrics to logs&lt;/h4&gt;
&lt;p&gt;If you switch from a Prometheus query to a logs query (you can do a split first to have your metrics and logs side by side) then it will keep the labels from your query that exist in the logs and use those to query the log streams. For example, the following Prometheus query:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;grafana_alerting_active_alerts{job=&amp;quot;grafana&amp;quot;}&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;after switching to the Logs data source, the query changes to:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;{job=&amp;quot;grafana&amp;quot;}&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This will return a chunk of logs in the selected time range that can be grepped/text searched.&lt;/p&gt;
&lt;h4 id=&#34;live-tailing&#34;&gt;Live tailing&lt;/h4&gt;
&lt;p&gt;Use the Live tailing feature to see real-time logs on supported data sources.&lt;/p&gt;
&lt;p&gt;Click the &lt;strong&gt;Live&lt;/strong&gt; button in the Explore toolbar to switch to Live tail view.&lt;/p&gt;
&lt;p&gt;While in Live tail view new logs will come from the bottom of the screen and will have fading contrasting background so you can keep track of what is new. Click the &lt;strong&gt;Pause&lt;/strong&gt; button or scroll the logs view to pause the Live tailing and explore previous logs without interruption. Click &lt;strong&gt;Resume&lt;/strong&gt; button to resume the Live tailing or click &lt;strong&gt;Stop&lt;/strong&gt; button to exit Live tailing and go back to standard Explore view.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 700px;&#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/v64/explore_live_tailing.gif&#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/v64/explore_live_tailing.gif&#34;alt=&#34;Explore Live tailing in action&#34;width=&#34;700&#34;height=&#34;490&#34;title=&#34;Explore Live tailing in action&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/v64/explore_live_tailing.gif&#34;
            alt=&#34;Explore Live tailing in action&#34;width=&#34;700&#34;height=&#34;490&#34;title=&#34;Explore Live tailing in action&#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;Explore Live tailing in action&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
]]></content><description>&lt;h1 id="logs-in-explore">Logs in Explore&lt;/h1>
&lt;p>Along with metrics, Explore allows you to investigate your logs in the following data sources:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="../../datasources/elasticsearch/">Elasticsearch&lt;/a>&lt;/li>
&lt;li>&lt;a href="../../datasources/influxdb/">InfluxDB&lt;/a>&lt;/li>
&lt;li>&lt;a href="../../datasources/loki/">Loki&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>During an infrastructure monitoring and incident response, you can dig deeper into the metrics and logs to find the cause. Explore also allows you to correlate metrics and logs by viewing them side-by-side. This creates a new debugging workflow:&lt;/p></description></item><item><title>Tracing in Explore</title><link>https://grafana.com/docs/grafana/v8.4/explore/trace-integration/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/explore/trace-integration/</guid><content><![CDATA[&lt;h1 id=&#34;tracing-in-explore&#34;&gt;Tracing in Explore&lt;/h1&gt;
&lt;p&gt;Explore allows you to visualize traces from tracing data sources. This is available in Grafana v7.0&#43;.&lt;/p&gt;
&lt;p&gt;Supported data sources are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../../datasources/jaeger/&#34;&gt;Jaeger&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../datasources/tempo/&#34;&gt;Tempo&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;../../datasources/zipkin/&#34;&gt;Zipkin&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For information on how to configure queries for the data sources listed above, refer to the documentation for specific data source.&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;/static/img/docs/explore/explore-trace-view-full-8-0.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/explore-trace-view-full-8-0.png&#34;data-srcset=&#34;/static/img/docs/explore/explore-trace-view-full-8-0.png?w=320 320w, /static/img/docs/explore/explore-trace-view-full-8-0.png?w=550 550w, /static/img/docs/explore/explore-trace-view-full-8-0.png?w=750 750w, /static/img/docs/explore/explore-trace-view-full-8-0.png?w=900 900w, /static/img/docs/explore/explore-trace-view-full-8-0.png?w=1040 1040w, /static/img/docs/explore/explore-trace-view-full-8-0.png?w=1240 1240w, /static/img/docs/explore/explore-trace-view-full-8-0.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Screenshot of the trace view&#34;width=&#34;2370&#34;height=&#34;1168&#34;title=&#34;Screenshot of the trace view&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/explore/explore-trace-view-full-8-0.png&#34;
            alt=&#34;Screenshot of the trace view&#34;width=&#34;2370&#34;height=&#34;1168&#34;title=&#34;Screenshot of the 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;Screenshot of the trace view&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h5 id=&#34;header&#34;&gt;Header&lt;/h5&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;/static/img/docs/v70/explore-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;/static/img/docs/v70/explore-trace-view-header.png&#34;data-srcset=&#34;/static/img/docs/v70/explore-trace-view-header.png?w=320 320w, /static/img/docs/v70/explore-trace-view-header.png?w=550 550w, /static/img/docs/v70/explore-trace-view-header.png?w=750 750w, /static/img/docs/v70/explore-trace-view-header.png?w=900 900w, /static/img/docs/v70/explore-trace-view-header.png?w=1040 1040w, /static/img/docs/v70/explore-trace-view-header.png?w=1240 1240w, /static/img/docs/v70/explore-trace-view-header.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Screenshot of the trace view header&#34;width=&#34;1448&#34;height=&#34;154&#34;title=&#34;Screenshot of the trace view header&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/v70/explore-trace-view-header.png&#34;
            alt=&#34;Screenshot of the trace view header&#34;width=&#34;1448&#34;height=&#34;154&#34;title=&#34;Screenshot of the 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;Screenshot of the trace view header&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;ul&gt;
&lt;li&gt;Header title: Shows the name of the root span and trace ID.&lt;/li&gt;
&lt;li&gt;Search: Highlights spans containing the searched text.&lt;/li&gt;
&lt;li&gt;Metadata: Various metadata about the trace.&lt;/li&gt;
&lt;/ul&gt;
&lt;h5 id=&#34;minimap&#34;&gt;Minimap&lt;/h5&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/v70/explore-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;/static/img/docs/v70/explore-trace-view-minimap.png&#34;data-srcset=&#34;/static/img/docs/v70/explore-trace-view-minimap.png?w=320 320w, /static/img/docs/v70/explore-trace-view-minimap.png?w=550 550w, /static/img/docs/v70/explore-trace-view-minimap.png?w=750 750w, /static/img/docs/v70/explore-trace-view-minimap.png?w=900 900w, /static/img/docs/v70/explore-trace-view-minimap.png?w=1040 1040w, /static/img/docs/v70/explore-trace-view-minimap.png?w=1240 1240w, /static/img/docs/v70/explore-trace-view-minimap.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Screenshot of the trace view minimap&#34;width=&#34;1442&#34;height=&#34;160&#34;title=&#34;Screenshot of the trace view minimap&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/v70/explore-trace-view-minimap.png&#34;
            alt=&#34;Screenshot of the trace view minimap&#34;width=&#34;1442&#34;height=&#34;160&#34;title=&#34;Screenshot of the trace view minimap&#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;Screenshot of the trace view minimap&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;Shows condensed view or the trace timeline. Drag your mouse over the minimap to zoom into smaller time range. Zooming will also update the main timeline, so it is easy to see shorter spans. Hovering over the minimap, when zoomed, will show Reset Selection button which resets the zoom.&lt;/p&gt;
&lt;h5 id=&#34;timeline&#34;&gt;Timeline&lt;/h5&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/v70/explore-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;/static/img/docs/v70/explore-trace-view-timeline.png&#34;data-srcset=&#34;/static/img/docs/v70/explore-trace-view-timeline.png?w=320 320w, /static/img/docs/v70/explore-trace-view-timeline.png?w=550 550w, /static/img/docs/v70/explore-trace-view-timeline.png?w=750 750w, /static/img/docs/v70/explore-trace-view-timeline.png?w=900 900w, /static/img/docs/v70/explore-trace-view-timeline.png?w=1040 1040w, /static/img/docs/v70/explore-trace-view-timeline.png?w=1240 1240w, /static/img/docs/v70/explore-trace-view-timeline.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Screenshot of the trace view timeline&#34;width=&#34;1790&#34;height=&#34;428&#34;title=&#34;Screenshot of the trace view timeline&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/v70/explore-trace-view-timeline.png&#34;
            alt=&#34;Screenshot of the trace view timeline&#34;width=&#34;1790&#34;height=&#34;428&#34;title=&#34;Screenshot of the 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;Screenshot of the trace view timeline&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;Shows list of spans within the trace. Each span row consists of these components:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Expand children button: Expands or collapses all the children spans of selected span.&lt;/li&gt;
&lt;li&gt;Service name: Name of the service logged the span.&lt;/li&gt;
&lt;li&gt;Operation name: Name of the operation that this span represents.&lt;/li&gt;
&lt;li&gt;Span duration bar: Visual representation of the operation duration within the trace.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Clicking anywhere on the span row shows span details.&lt;/p&gt;
&lt;h5 id=&#34;span-details&#34;&gt;Span details&lt;/h5&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/v70/explore-trace-view-span-details.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/v70/explore-trace-view-span-details.png&#34;data-srcset=&#34;/static/img/docs/v70/explore-trace-view-span-details.png?w=320 320w, /static/img/docs/v70/explore-trace-view-span-details.png?w=550 550w, /static/img/docs/v70/explore-trace-view-span-details.png?w=750 750w, /static/img/docs/v70/explore-trace-view-span-details.png?w=900 900w, /static/img/docs/v70/explore-trace-view-span-details.png?w=1040 1040w, /static/img/docs/v70/explore-trace-view-span-details.png?w=1240 1240w, /static/img/docs/v70/explore-trace-view-span-details.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Screenshot of the trace view span details&#34;width=&#34;2354&#34;height=&#34;1174&#34;title=&#34;Screenshot of the trace view span details&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/v70/explore-trace-view-span-details.png&#34;
            alt=&#34;Screenshot of the trace view span details&#34;width=&#34;2354&#34;height=&#34;1174&#34;title=&#34;Screenshot of the trace view span details&#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;Screenshot of the trace view span details&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;ul&gt;
&lt;li&gt;Operation name&lt;/li&gt;
&lt;li&gt;Span metadata&lt;/li&gt;
&lt;li&gt;Tags: Any tags associated with this span.&lt;/li&gt;
&lt;li&gt;Process metadata: Metadata about the process that logged this span.&lt;/li&gt;
&lt;li&gt;Logs: List of logs logged by this span and associated key values. In case of Zipkin logs section shows Zipkin annotations.&lt;/li&gt;
&lt;/ul&gt;
&lt;h5 id=&#34;node-graph&#34;&gt;Node graph&lt;/h5&gt;
&lt;p&gt;You can optionally expand the node graph for the displayed trace. Depending on the data source, this can show spans of the trace as nodes in the graph, or as some additional context like service graph based on the current trace.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/static/img/docs/explore/explore-trace-view-node-graph-8-0.png&#34;
  alt=&#34;Node graph&#34; width=&#34;2364&#34;
     height=&#34;1420&#34;/&gt;&lt;/p&gt;
&lt;h5 id=&#34;trace-to-logs&#34;&gt;Trace to logs&lt;/h5&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Available in Grafana 7.4 and later versions.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;You can navigate from a span in a trace view directly to logs relevant for that span. This is available for Tempo, Jaeger, and Zipkin data sources at this moment. Refer to their relevant documentation for instructions on how to configure this feature.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#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/explore/trace-to-log-7-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/trace-to-log-7-4.png&#34;data-srcset=&#34;/static/img/docs/explore/trace-to-log-7-4.png?w=320 320w, /static/img/docs/explore/trace-to-log-7-4.png?w=550 550w, /static/img/docs/explore/trace-to-log-7-4.png?w=750 750w, /static/img/docs/explore/trace-to-log-7-4.png?w=900 900w, /static/img/docs/explore/trace-to-log-7-4.png?w=1040 1040w, /static/img/docs/explore/trace-to-log-7-4.png?w=1240 1240w, /static/img/docs/explore/trace-to-log-7-4.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Screenshot of the trace view in Explore with icon next to the spans&#34;width=&#34;1224&#34;height=&#34;795&#34;title=&#34;Screenshot of the trace view in Explore with icon next to the spans&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/explore/trace-to-log-7-4.png&#34;
            alt=&#34;Screenshot of the trace view in Explore with icon next to the spans&#34;width=&#34;1224&#34;height=&#34;795&#34;title=&#34;Screenshot of the trace view in Explore with icon next to the spans&#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;Screenshot of the trace view in Explore with icon next to the spans&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&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;h2 id=&#34;data-api&#34;&gt;Data API&lt;/h2&gt;
&lt;p&gt;This visualization needs a specific shape of the data to be returned from the data source in order to correctly display it.&lt;/p&gt;
&lt;p&gt;Data source needs to return data frame and set &lt;code&gt;frame.meta.preferredVisualisationType = &#39;trace&#39;&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&#34;data-frame-structure&#34;&gt;Data frame structure&lt;/h3&gt;
&lt;p&gt;Required fields:&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&gt;Field name&lt;/th&gt;
              &lt;th&gt;Type&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;traceID&lt;/td&gt;
              &lt;td&gt;string&lt;/td&gt;
              &lt;td&gt;Identifier for the entire trace. There should be only one trace in the data frame.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;spanID&lt;/td&gt;
              &lt;td&gt;string&lt;/td&gt;
              &lt;td&gt;Identifier for the current span. SpanIDs should be unique per trace.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;parentSpanID&lt;/td&gt;
              &lt;td&gt;string&lt;/td&gt;
              &lt;td&gt;SpanID of the parent span to create child parent relationship in the trace view. Can be &lt;code&gt;undefined&lt;/code&gt; for root span without a parent.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;serviceName&lt;/td&gt;
              &lt;td&gt;string&lt;/td&gt;
              &lt;td&gt;Name of the service this span is part of.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;serviceTags&lt;/td&gt;
              &lt;td&gt;TraceKeyValuePair[]&lt;/td&gt;
              &lt;td&gt;List of tags relevant for the service.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;startTime&lt;/td&gt;
              &lt;td&gt;number&lt;/td&gt;
              &lt;td&gt;Start time of the span in millisecond epoch time.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;duration&lt;/td&gt;
              &lt;td&gt;number&lt;/td&gt;
              &lt;td&gt;Duration of the span in milliseconds.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;Optional fields:&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&gt;Field name&lt;/th&gt;
              &lt;th&gt;Type&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;logs&lt;/td&gt;
              &lt;td&gt;TraceLog[]&lt;/td&gt;
              &lt;td&gt;List of logs associated with the current span.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;tags&lt;/td&gt;
              &lt;td&gt;TraceKeyValuePair[]&lt;/td&gt;
              &lt;td&gt;List of tags associated with the current span.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;warnings&lt;/td&gt;
              &lt;td&gt;string[]&lt;/td&gt;
              &lt;td&gt;List of warnings associated with the current span.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;stackTraces&lt;/td&gt;
              &lt;td&gt;string[]&lt;/td&gt;
              &lt;td&gt;List of stack traces associated with the current span.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;errorIconColor&lt;/td&gt;
              &lt;td&gt;string&lt;/td&gt;
              &lt;td&gt;Color of the error icon in case span is tagged with &lt;code&gt;error: true&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;For details about the types see &lt;a href=&#34;/docs/grafana/latest/packages_api/data/tracespanrow/&#34;&gt;TraceSpanRow&lt;/a&gt;, &lt;a href=&#34;/docs/grafana/latest/packages_api/data/tracekeyvaluepair/&#34;&gt;TraceKeyValuePair&lt;/a&gt; and &lt;a href=&#34;/docs/grafana/latest/packages_api/data/tracelog/&#34;&gt;TraceLog&lt;/a&gt;&lt;/p&gt;
]]></content><description>&lt;h1 id="tracing-in-explore">Tracing in Explore&lt;/h1>
&lt;p>Explore allows you to visualize traces from tracing data sources. This is available in Grafana v7.0+.&lt;/p>
&lt;p>Supported data sources are:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="../../datasources/jaeger/">Jaeger&lt;/a>&lt;/li>
&lt;li>&lt;a href="../../datasources/tempo/">Tempo&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="../../datasources/zipkin/">Zipkin&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>For information on how to configure queries for the data sources listed above, refer to the documentation for specific data source.&lt;/p></description></item><item><title>Inspector in Explore</title><link>https://grafana.com/docs/grafana/v8.4/explore/explore-inspector/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/explore/explore-inspector/</guid><content><![CDATA[&lt;h1 id=&#34;inspector-in-explore&#34;&gt;Inspector in Explore&lt;/h1&gt;
&lt;p&gt;The inspector helps you understand and troubleshoot your queries. You can inspect the raw data, export that 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;inspector-ui&#34;&gt;Inspector UI&lt;/h2&gt;
&lt;p&gt;The inspector has following tabs:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Stats tab -&lt;/strong&gt; Shows how long your query takes and how much it returns.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Query tab -&lt;/strong&gt; Shows you the requests to the server sent 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 data JSON and data frame structure JSON.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Data tab -&lt;/strong&gt; Shows the raw data returned by the query.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Error tab -&lt;/strong&gt; Shows the error. Only visible when query returns error.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;inspector-tasks&#34;&gt;Inspector tasks&lt;/h2&gt;
&lt;p&gt;You can perform a variety of tasks in the Explore inspector.&lt;/p&gt;
&lt;h3 id=&#34;open-the-inspector&#34;&gt;Open the Inspector&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Run the query you would like to inspect.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Inspector&lt;/strong&gt; button.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The inspector pane opens on the bottom of the screen.&lt;/p&gt;
&lt;h3 id=&#34;inspect-raw-query-results&#34;&gt;Inspect raw query results&lt;/h3&gt;
&lt;p&gt;You can view raw query results, that is the data returned by the query in a table.&lt;/p&gt;
&lt;p&gt;In the &lt;strong&gt;Inspector&lt;/strong&gt; tab, click the &lt;strong&gt;Data&lt;/strong&gt; tab.&lt;/p&gt;
&lt;p&gt;For multiple queries or for queries multiple nodes, there are additional options.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Show data frame:&lt;/strong&gt; Select the result set data you want to view.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Series joined by time:&lt;/strong&gt; View the raw data from all of your queries at once, one result set per column. You can click a column heading to sort the data.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;download-raw-query-results-as-csv&#34;&gt;Download raw query results as CSV&lt;/h3&gt;
&lt;p&gt;Grafana generates a CSV file 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;In the &lt;strong&gt;Inspector&lt;/strong&gt; tab, raw query results following instructions in (### Inspect raw query results).&lt;/li&gt;
&lt;li&gt;Refine query settings until you can see the raw data that you want to export.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Download CSV&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In order to download a CSV file specifically formatted for Excel, expand &lt;strong&gt;Data options&lt;/strong&gt; and then enable the &lt;strong&gt;Download for Excel&lt;/strong&gt; toggle before you click the &lt;strong&gt;Download CSV&lt;/strong&gt; option.&lt;/p&gt;
&lt;h3 id=&#34;download-log-results-as-txt&#34;&gt;Download log results as TXT&lt;/h3&gt;
&lt;p&gt;Grafana generates a TXT file 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;Open the inspector.&lt;/li&gt;
&lt;li&gt;Inspect the log query results as described above.&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, Grafana generates a JSON file for the trace results in one of the supported formats: Jaeger, Zipkin, or OTLP formats.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the inspector.&lt;/li&gt;
&lt;li&gt;Inspect the trace query results &lt;a href=&#34;#inspect-raw-query-results&#34;&gt;as described above&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Download traces&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;inspect-query-performance&#34;&gt;Inspect query performance&lt;/h3&gt;
&lt;p&gt;The Stats tab displays statistics that tell you how long your query takes, how many queries you send, and the number of rows returned. 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;Navigate to the &lt;strong&gt;Stats&lt;/strong&gt; tab.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Statistics are displayed in read-only format.&lt;/p&gt;
&lt;h3 id=&#34;view-json-model&#34;&gt;View JSON model&lt;/h3&gt;
&lt;p&gt;You can explore and export data as well as data frame JSON models.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the Inspector panel, click the &lt;strong&gt;JSON&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;From the Select source dropdown, choose one of the following options:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Data -&lt;/strong&gt; Displays a JSON object representing the data that was returned to Explore.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;DataFrame structure -&lt;/strong&gt; Displays the raw result set.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;You can expand or collapse portions of the JSON to view separate sections. You can also click the &lt;strong&gt;Copy to clipboard&lt;/strong&gt; option to copy JSON body and paste it into another application.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;view-raw-request-and-response-to-data-source&#34;&gt;View raw request and response to data source&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Open the panel inspector and then click the &lt;strong&gt;Query&lt;/strong&gt; tab.&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, or copy the data to the clipboard to use in other applications.&lt;/p&gt;
]]></content><description>&lt;h1 id="inspector-in-explore">Inspector in Explore&lt;/h1>
&lt;p>The inspector helps you understand and troubleshoot your queries. You can inspect the raw data, export that data to a comma-separated values (CSV) file, export log results in TXT format, and view query requests.&lt;/p></description></item></channel></rss>