<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Grafana Logs Drilldown on Grafana Labs</title><link>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/</link><description>Recent content in Grafana Logs Drilldown on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/grafana/v12.4/visualizations/simplified-exploration/logs/index.xml" rel="self" type="application/rss+xml"/><item><title>Access or install Grafana Logs Drilldown</title><link>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/access/</link><pubDate>Fri, 03 Apr 2026 12:35:46 -0500</pubDate><guid>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/access/</guid><content><![CDATA[&lt;h1 id=&#34;access-or-install-grafana-logs-drilldown&#34;&gt;Access or install Grafana Logs Drilldown&lt;/h1&gt;
&lt;p&gt;To use Grafana Logs Drilldown to view your log data, you can either access it in Grafana Cloud or install it in your own Grafana instance.&lt;/p&gt;




  &lt;div class=&#34;d-sm-flex flex-direction-row-reverse bg-gray-1 br-12 p-2 my-1&#34;&gt;
    &lt;img class=&#34;mb-1 lazyload&#34; data-src=&#34;/media/docs/icons/docs-play.svg&#34; width=&#34;228&#34; height=&#34;182&#34; alt=&#34;Give it a try using Grafana Play&#34;&gt;
    &lt;div&gt;
      &lt;div class=&#34;h4 pt-0 pb-half fw-500&#34;&gt;Give it a try using Grafana Play&lt;/div&gt;
      &lt;p class=&#34;pr-1 pb-half&#34;&gt;With Grafana Play, you can explore and see how it works, learning from practical examples to accelerate your development.
This feature can be seen on &lt;a href=&#34;https://play.grafana.org/a/grafana-lokiexplore-app/explore?var-ds=ddhr3fttaw8aod&amp;amp;var-patterns=&amp;amp;var-lineFilter=&amp;amp;var-logsFormat=&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;the Grafana Play site&lt;/a&gt;.&lt;/p&gt;
      &lt;div class=&#34;mx-auto&#34;&gt;
        &lt;a class=&#34;btn btn--primary btn--large arrow fw-600 br-8 w-175&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; href=&#34;https://play.grafana.org/a/grafana-lokiexplore-app/explore?var-ds=ddhr3fttaw8aod&amp;amp;var-patterns=&amp;amp;var-lineFilter=&amp;amp;var-logsFormat=&#34;&gt;Try it&lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;

&lt;h2 id=&#34;access-in-grafana-and-grafana-cloud&#34;&gt;Access in Grafana and Grafana Cloud&lt;/h2&gt;
&lt;p&gt;Grafana Logs Drilldown is installed by default in both Grafana and Grafana Cloud. To access Grafana Logs Drilldown:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open your Grafana stack in a web browser.&lt;/li&gt;
&lt;li&gt;In the main menu, select &lt;strong&gt;Drilldown&lt;/strong&gt; &amp;gt; &lt;strong&gt;Logs&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In Grafana v12 and later, Grafana includes all Drilldown apps by default in the same &lt;strong&gt;Drilldown&lt;/strong&gt; section.&lt;/p&gt;
&lt;h2 id=&#34;installation&#34;&gt;Installation&lt;/h2&gt;
&lt;p&gt;Logs Drilldown is installed by default in current Grafana releases. If you are upgrading an older installation, you might need to install the plugin manually.&lt;/p&gt;
&lt;h3 id=&#34;install-via-plugins-catalog&#34;&gt;Install via Plugins catalog&lt;/h3&gt;
&lt;p&gt;For Enterprise and OSS Grafana users, you can install Grafana Logs Drilldown via the &lt;a href=&#34;/grafana/plugins/grafana-lokiexplore-app/&#34;&gt;Grafana Plugins catalog&lt;/a&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open &lt;a href=&#34;/grafana/plugins/grafana-lokiexplore-app/&#34;&gt;https://grafana.com/grafana/plugins/grafana-lokiexplore-app/&lt;/a&gt; in a web browser&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Installation&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Follow the instructions to install the app.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;enable-in-loki-configuration&#34;&gt;Enable in Loki configuration&lt;/h3&gt;
&lt;p&gt;The following Loki and Grafana version and configuration are required:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Grafana v11.6.11 or later&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Loki v3.2.0 or later&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;To get the most recent features, including experimental features, upgrade to Loki 3.5.0 or later.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Enable pattern ingestion by setting &lt;code&gt;pattern_ingester.enabled&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; in your Loki configuration file.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enable structured metadata by setting &lt;code&gt;allow_structured_metadata&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; within your Loki configuration file.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enable the volume endpoint by setting &lt;code&gt;volume_enabled&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; within your Loki configuration file.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enable log level detection by setting &lt;code&gt;discover_log_levels&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; within your Loki configuration file.&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;YAML&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-yaml&#34;&gt;pattern_ingester:
  enabled: true
limits_config:
  allow_structured_metadata: true
  volume_enabled: true
  discover_log_levels: true&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;install-via-environment-variable&#34;&gt;Install via environment variable&lt;/h3&gt;
&lt;p&gt;If you want to &lt;a href=&#34;/docs/grafana/latest/setup-grafana/configure-docker/#install-plugins-in-the-docker-container&#34;&gt;install the app in a Docker container&lt;/a&gt;, you need to configure the following environment variable:&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;sh&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-sh&#34;&gt;GF_INSTALL_PLUGINS=&amp;#34;https://storage.googleapis.com/integration-artifacts/grafana-lokiexplore-app/release/main/any/grafana-lokiexplore-app-main.zip;grafana-lokiexplore-app&amp;#34;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;install-using-grafana-cli&#34;&gt;Install using Grafana CLI&lt;/h3&gt;
&lt;p&gt;You can install Grafana Logs Drilldown in your own Grafana instance using the Grafana CLI. For more information, refer to the &lt;a href=&#34;/docs/grafana/latest/cli/&#34;&gt;Grafana CLI documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Run the following command:&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;sh&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-sh&#34;&gt;grafana cli plugins install --pluginUrl=https://storage.googleapis.com/integration-artifacts/grafana-lokiexplore-app/release/main/any/grafana-lokiexplore-app-main.zip grafana-lokiexplore-app&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;test-with-docker-compose&#34;&gt;Test with Docker Compose&lt;/h2&gt;
&lt;p&gt;You can test the app using the following command to spin up Grafana, Loki, and the Grafana Logs Drilldown App:&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;sh&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-sh&#34;&gt;curl -L https://github.com/grafana/explore-logs/raw/main/scripts/run.sh | sh&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;This will download the &lt;a href=&#34;https://github.com/grafana/explore-logs/blob/main/scripts/run.sh&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;run.sh&lt;/a&gt; file and execute it.&lt;/p&gt;
&lt;p&gt;That shell file will download some configuration files into your &lt;code&gt;/tmp/explore-logs&lt;/code&gt; directory and start the Docker containers via &lt;code&gt;docker compose&lt;/code&gt; from there.&lt;/p&gt;
&lt;p&gt;Once the Docker container has started, navigate to &lt;code&gt;http://localhost:3000/a/grafana-lokiexplore-app/explore&lt;/code&gt; to access Grafana Logs Drilldown.&lt;/p&gt;
&lt;h2 id=&#34;having-trouble&#34;&gt;Having trouble?&lt;/h2&gt;
&lt;p&gt;Refer to the &lt;a href=&#34;../troubleshooting/&#34;&gt;troubleshooting guide&lt;/a&gt; for tips on how to solve common issues.&lt;/p&gt;
&lt;h2 id=&#34;what-next&#34;&gt;What next?&lt;/h2&gt;
&lt;p&gt;Before you can use Grafana Logs Drilldown, an administrator must configure a Loki data source in order to access your logs in Grafana Logs Drilldown.
Refer to the &lt;a href=&#34;/docs/grafana-cloud/connect-externally-hosted/data-sources/loki/&#34;&gt;Loki data source documentation&lt;/a&gt; for instructions.&lt;/p&gt;
&lt;p&gt;After installing, you can customize default settings such as time range, data source, and display fields. Refer to &lt;a href=&#34;./configure/&#34;&gt;Configure Logs Drilldown&lt;/a&gt; for details.&lt;/p&gt;
]]></content><description>&lt;h1 id="access-or-install-grafana-logs-drilldown">Access or install Grafana Logs Drilldown&lt;/h1>
&lt;p>To use Grafana Logs Drilldown to view your log data, you can either access it in Grafana Cloud or install it in your own Grafana instance.&lt;/p></description></item><item><title>Get started with Grafana Logs Drilldown</title><link>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/get-started/</link><pubDate>Fri, 03 Apr 2026 12:35:46 -0500</pubDate><guid>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/get-started/</guid><content><![CDATA[&lt;h1 id=&#34;get-started-with-grafana-logs-drilldown&#34;&gt;Get started with Grafana Logs Drilldown&lt;/h1&gt;
&lt;p&gt;The best way to see what Grafana Logs Drilldown can do for you is to use it to explore your own log data.
If you have a Grafana Cloud account, you can access Grafana Logs Drilldown by selecting &lt;strong&gt;Drilldown&lt;/strong&gt; &amp;gt; &lt;strong&gt;Logs&lt;/strong&gt;, or you can &lt;a href=&#34;../access/&#34;&gt;install Grafana Logs Drilldown&lt;/a&gt; in your own Grafana instance.&lt;/p&gt;
&lt;!-- Comment - NEEDS TO BE REPLACED WITH UPDATED VIDEO
To learn more, check out our overview video:



  &lt;div
    class=&#34;youtube-lazyload responsive-video&#34;
    data-embed=&#34;iH0Ufv2bD1U&#34;
    data-url=&#34;https://www.youtube.com/embed/iH0Ufv2bD1U?autoplay=1&#34;
    data-title=&#34;YouTube Video&#34;
  &gt;
    &lt;div class=&#34;play-button&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;--&gt;
&lt;h2 id=&#34;guided-tour&#34;&gt;Guided tour&lt;/h2&gt;
&lt;p&gt;While you are browsing your log data in Grafana Logs Drilldown, watch for any unexpected spikes in your logs. Or perhaps one of your services is down and has stopped logging. Maybe you&amp;rsquo;re seeing an increase in errors after a recent release.&lt;/p&gt;
&lt;!-- Make updating the screenshots easier by putting the Logs Drilldown version in the file name. This lets everyone know the last time the screenshots were updated.--&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p &#34;
    style=&#34;max-width: 1440px;&#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/explore-logs/v2/logs-drilldown-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;/media/docs/explore-logs/v2/logs-drilldown-overview.png&#34;data-srcset=&#34;/media/docs/explore-logs/v2/logs-drilldown-overview.png?w=320 320w, /media/docs/explore-logs/v2/logs-drilldown-overview.png?w=550 550w, /media/docs/explore-logs/v2/logs-drilldown-overview.png?w=750 750w, /media/docs/explore-logs/v2/logs-drilldown-overview.png?w=900 900w, /media/docs/explore-logs/v2/logs-drilldown-overview.png?w=1040 1040w, /media/docs/explore-logs/v2/logs-drilldown-overview.png?w=1240 1240w, /media/docs/explore-logs/v2/logs-drilldown-overview.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Grafana Logs Drilldown Service overview page&#34;width=&#34;1440&#34;height=&#34;1100&#34;title=&#34;Overview page&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/explore-logs/v2/logs-drilldown-overview.png&#34;
            alt=&#34;Grafana Logs Drilldown Service overview page&#34;width=&#34;1440&#34;height=&#34;1100&#34;title=&#34;Overview page&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Overview page&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;To take a tour of Grafana Logs Drilldown, follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Open your Grafana stack in a web browser.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;From the Grafana main menu, select &lt;strong&gt;Drilldown&lt;/strong&gt; &amp;gt; &lt;strong&gt;Logs&lt;/strong&gt;.
This opens the &lt;strong&gt;Overview page&lt;/strong&gt; showing time series and log visualizations for all services in your selected Loki instance. (&lt;a href=&#34;../troubleshooting/#there-are-no-services&#34;&gt;No services?&lt;/a&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you have multiple Loki data sources, you can change your &lt;strong&gt;Data source&lt;/strong&gt; from the menu in the top toolbar. Logs Drilldown only supports Loki data sources.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select a recent time range. You can modify your time range in two ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;With the standard time range picker on the top right.&lt;/li&gt;
&lt;li&gt;By clicking and dragging the time range on any time series visualization.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Services are shown based on log volume. You can use the service search field to find a service by name.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you want to view services by label instead of by service name, click &lt;strong&gt;(&#43;) Add label&lt;/strong&gt; and either select a label from the menu or search for a label.&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;Administrators can configure default fields to display in log visualizations. Refer to &lt;a href=&#34;../access/configure/&#34;&gt;Configure Logs Drilldown&lt;/a&gt; for details.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;!-- Uncomment when Grafana 13.0 is released:


&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;Administrators can configure which labels appear by default on the landing page. Refer to &lt;a href=&#34;../access/configure/&#34;&gt;Configure Logs Drilldown&lt;/a&gt; for details.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

--&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;To explore logs for a service, click &lt;strong&gt;Show logs&lt;/strong&gt; on the service panel. Grafana opens the service details page on the &lt;strong&gt;Logs&lt;/strong&gt; tab.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the Logs tab, you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use the log controls (which can be expanded using the expand/collapse button on the right) to adjust sort order, filter by string or level, change display options, and more. For details, refer to &lt;a href=&#34;../view-logs/&#34;&gt;View logs&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Click individual log lines to view detailed information including fields and links in the Log Details panel.&lt;/li&gt;
&lt;li&gt;Scroll to the bottom to load more log entries with infinite scroll.&lt;/li&gt;
&lt;li&gt;Use line wrapping controls to adapt the log display for easier reading, choosing between disabled, enabled, and enabled with JSON formatting.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the service details page, click the &lt;strong&gt;Labels&lt;/strong&gt; tab to see visualizations of log volume for each label. (&lt;a href=&#34;../troubleshooting/#there-are-no-labels&#34;&gt;No labels?&lt;/a&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the &lt;strong&gt;Labels&lt;/strong&gt; tab, to select a label to see the log volume for each value of that label, click the &lt;strong&gt;Select&lt;/strong&gt; button.
Grafana Logs Drilldown shows you the volume of logs with specific labels and fields. Refer to &lt;a href=&#34;../labels-and-fields/&#34;&gt;Labels and Fields&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the &lt;strong&gt;Fields&lt;/strong&gt; tab to see visualizations of log volume for each field. To drill down into details the same way as labels, click &lt;strong&gt;Select&lt;/strong&gt; for a field.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Patterns&lt;/strong&gt; tab to see log volume for each automatically detected pattern.
Log patterns let you work with groups of similar log lines. You can hide log patterns that are noisy, or focus only on the patterns that are most useful. Refer to &lt;a href=&#34;../patterns/&#34;&gt;Log Patterns&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Logs&lt;/strong&gt; tab. Click the menu icon (three vertical dots) on either panel and select &lt;strong&gt;Explore&lt;/strong&gt;. Grafana displays the Explore page, with a query based on the selections you made in Logs Drilldown.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;further-resources&#34;&gt;Further resources&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Watch: &lt;a href=&#34;https://www.youtube.com/watch?v=eXwE2vqLcyY&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;How to Use the Logs Drilldown App for Grafana&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Watch: &lt;a href=&#34;https://www.youtube.com/live/XJMQbEuBeMc&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;All About Logs Drilldown for Grafana Loki&lt;/a&gt; (Loki Community Call October 2024)&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="get-started-with-grafana-logs-drilldown">Get started with Grafana Logs Drilldown&lt;/h1>
&lt;p>The best way to see what Grafana Logs Drilldown can do for you is to use it to explore your own log data.
If you have a Grafana Cloud account, you can access Grafana Logs Drilldown by selecting &lt;strong>Drilldown&lt;/strong> &amp;gt; &lt;strong>Logs&lt;/strong>, or you can &lt;a href="../access/">install Grafana Logs Drilldown&lt;/a> in your own Grafana instance.&lt;/p></description></item><item><title>View logs</title><link>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/view-logs/</link><pubDate>Fri, 03 Apr 2026 12:35:46 -0500</pubDate><guid>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/view-logs/</guid><content><![CDATA[&lt;h1 id=&#34;view-logs&#34;&gt;View logs&lt;/h1&gt;
&lt;p&gt;The logs visualization in Grafana Logs Drilldown displays log lines from your Loki data source with filtering options and controls to customize how data is displayed.&lt;/p&gt;
&lt;h2 id=&#34;log-controls&#34;&gt;Log controls&lt;/h2&gt;
&lt;p&gt;The controls component provides options to interact with and customize the log list. You can jump to the top or bottom, change sort order, filter by string or level, use deduplication, and choose display options such as timestamp format or color highlighting.&lt;/p&gt;
&lt;p&gt;From top to bottom, the log controls include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Expand/collapse controls&lt;/strong&gt;: Show or hide the full controls toolbar.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Scroll to the bottom&lt;/strong&gt;: Jump to the last log line in the view.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Sort direction&lt;/strong&gt;: Toggle between ascending (oldest logs first) or descending (newest logs first) order.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Client-side string search&lt;/strong&gt;: Click to open or close client-side string search for displayed results.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Deduplication&lt;/strong&gt;: Hide duplicate log lines using a few different deduplication algorithms.
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;None&lt;/strong&gt;: Disables deduplication.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Exact&lt;/strong&gt;: Matches on the whole line except for date fields.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Numbers&lt;/strong&gt;: Matches 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 deduplication as it strips all letters and numbers and matches on the remaining whitespace and punctuation.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Filter logs by log level&lt;/strong&gt;: Filter logs by level, such as All levels, Info, Warn, and Error.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Set timestamp format&lt;/strong&gt;: Hide timestamps, show millisecond timestamps, or show nanosecond timestamps.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Line wrapping control&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Disabled&lt;/strong&gt;: Log lines are truncated.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Enabled&lt;/strong&gt;: Log lines wrap to multiple lines.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Enabled with JSON formatting&lt;/strong&gt;: Pretty-prints JSON log lines.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Logs highlighting&lt;/strong&gt;: Toggle between plain text and color highlighting.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Font size control&lt;/strong&gt;: Toggle between small (default) and large font.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Unescape newlines&lt;/strong&gt;: Displayed when logs contain escaped new lines. Click to render escaped new lines as new lines.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Download logs&lt;/strong&gt;: Download in plain text (txt), JavaScript Object Notation (JSON), or Comma-separated values (CSV) format.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Scroll to the top&lt;/strong&gt;: Jump to the first log line in the view.&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;When you are in &lt;a href=&#34;../viewing-json-logs/&#34;&gt;JSON view&lt;/a&gt;, these controls are not available: client-side string search, deduplication, filter by log level, timestamp format, font size control, and download logs. JSON view includes additional toggles for showing structured metadata and labels.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;log-details&#34;&gt;Log Details&lt;/h2&gt;
&lt;p&gt;The &lt;strong&gt;Log details&lt;/strong&gt; component is displayed when you click a log line. It shows additional information from that log line in collapsible sections, including fields (usually key-value pairs) and links (derived fields, correlations, and more).&lt;/p&gt;
&lt;h3 id=&#34;fields&#34;&gt;Fields&lt;/h3&gt;
&lt;p&gt;Within the Log details view, you have the ability to filter the displayed fields in two ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Positive filter&lt;/strong&gt;: Focuses on a specific field&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Negative filter&lt;/strong&gt;: Excludes certain fields&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These filters modify the corresponding query that generated the log line, incorporating equality and inequality expressions accordingly.&lt;/p&gt;
&lt;p&gt;For supported data sources like 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 eye icon 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 stats icon, 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, different groups of fields will be displayed grouping them by their type: Indexed Labels, Structured Metadata, and Parsed fields.&lt;/p&gt;
&lt;h3 id=&#34;links&#34;&gt;Links&lt;/h3&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;h3 id=&#34;log-details-modes&#34;&gt;Log details modes&lt;/h3&gt;
&lt;p&gt;There are two modes available to view log details:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Inline log details&lt;/strong&gt; display the log details below the log line within the log list.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Sidebar log details&lt;/strong&gt; display the log details in a panel to the side of the log list.&lt;/p&gt;
&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;h2 id=&#34;highlighting&#34;&gt;Highlighting&lt;/h2&gt;
&lt;p&gt;The logs visualization implements a predefined set of rules to apply subtle colors to the log lines, to help with readability and help with identifying important information faster. This is an optional feature that can be disabled in the controls or in the panel options.&lt;/p&gt;
&lt;h2 id=&#34;log-context&#34;&gt;Log Context&lt;/h2&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 grep command.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re using Loki for your logs, to modify your log context queries, use the Loki log context query editor at the top. You can activate this editor by clicking on the log context query preview. Within it, 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;h2 id=&#34;infinite-scroll&#34;&gt;Infinite scroll&lt;/h2&gt;
&lt;p&gt;When you reach the bottom of the list of logs, if you continue scrolling and the displayed logs are within the selected time interval, you can request to load more logs. When the sort order is &amp;ldquo;newest first&amp;rdquo; you will receive older logs, and when the sort order is &amp;ldquo;oldest first&amp;rdquo; you will get newer logs.&lt;/p&gt;
]]></content><description>&lt;h1 id="view-logs">View logs&lt;/h1>
&lt;p>The logs visualization in Grafana Logs Drilldown displays log lines from your Loki data source with filtering options and controls to customize how data is displayed.&lt;/p></description></item><item><title>Labels and fields</title><link>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/labels-and-fields/</link><pubDate>Fri, 03 Apr 2026 12:35:46 -0500</pubDate><guid>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/labels-and-fields/</guid><content><![CDATA[&lt;h1 id=&#34;labels-and-fields&#34;&gt;Labels and fields&lt;/h1&gt;
&lt;p&gt;Grafana Logs Drilldown visualizes log volume for labels attached to your log lines, and for fields automatically extracted from each log line.&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 type of data being expressed in a label or field may require different treatments. For example, fields expressing &lt;code&gt;bytes&lt;/code&gt; are visualized differently than other types of data. &lt;a href=&#34;https://forms.gle/1sYWCTPvD72T1dPH9&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Share your feedback&lt;/a&gt; if you have suggestions for how to improve this experience.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;Grafana Logs Drilldown adds a special &lt;code&gt;detected_level&lt;/code&gt; label to all log lines where Loki assigns a level of the log line, including &lt;code&gt;debug&lt;/code&gt;, &lt;code&gt;info&lt;/code&gt;, &lt;code&gt;warn&lt;/code&gt;, &lt;code&gt;error&lt;/code&gt;, &lt;code&gt;fatal&lt;/code&gt;, &lt;code&gt;critical&lt;/code&gt;, &lt;code&gt;trace&lt;/code&gt;, or &lt;code&gt;unknown&lt;/code&gt; if no level could be determined.&lt;/p&gt;
&lt;p&gt;Label visualizations are helpful for:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Spotting unexpected spikes in log volume.&lt;/li&gt;
&lt;li&gt;Noticing dips or outages in your services.&lt;/li&gt;
&lt;li&gt;Understanding the distribution of log lines across your labels.&lt;/li&gt;
&lt;li&gt;Identifying labels that might be useful for filtering or grouping your logs.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can click the &lt;strong&gt;Select&lt;/strong&gt; button on a Label or Field graph to access a breakdown of its values, seeing the log volumes visualized along the way.
This can be useful for understanding the traits of your system, and for spotting spikes or other changes.&lt;/p&gt;
&lt;p&gt;Click individual log lines to view the &lt;strong&gt;Log Details&lt;/strong&gt; panel which displays fields and labels with filtering options. For more information about Log Details, refer to &lt;a href=&#34;../view-logs/&#34;&gt;View logs&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;labels-tab-user-interface-overview&#34;&gt;Labels tab user interface overview&lt;/h2&gt;
&lt;p&gt;Let&amp;rsquo;s take a closer look at what you can do on the Labels tab.&lt;/p&gt;
&lt;p&gt;The top navigation bar is common across the Grafana interface.
The next section is common across all the Logs Drilldown pages.&lt;/p&gt;
&lt;!-- Make updating the screenshots easier by putting the Logs Drilldown version in the file name. This lets everyone know the last time the screenshots were updated.--&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p &#34;
    style=&#34;max-width: 1440px;&#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/explore-logs/v2/logs-drilldown-labels.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/explore-logs/v2/logs-drilldown-labels.png&#34;data-srcset=&#34;/media/docs/explore-logs/v2/logs-drilldown-labels.png?w=320 320w, /media/docs/explore-logs/v2/logs-drilldown-labels.png?w=550 550w, /media/docs/explore-logs/v2/logs-drilldown-labels.png?w=750 750w, /media/docs/explore-logs/v2/logs-drilldown-labels.png?w=900 900w, /media/docs/explore-logs/v2/logs-drilldown-labels.png?w=1040 1040w, /media/docs/explore-logs/v2/logs-drilldown-labels.png?w=1240 1240w, /media/docs/explore-logs/v2/logs-drilldown-labels.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Grafana Logs Drilldown Labels tab&#34;width=&#34;1440&#34;height=&#34;1100&#34;title=&#34;Labels tab&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/explore-logs/v2/logs-drilldown-labels.png&#34;
            alt=&#34;Grafana Logs Drilldown Labels tab&#34;width=&#34;1440&#34;height=&#34;1100&#34;title=&#34;Labels tab&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Labels tab&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;Labels tab user interface:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Label&lt;/strong&gt; filter: Lets you search for or select label names from the menu.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Grid / Rows&lt;/strong&gt;: Lets you select how labels are displayed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Select&lt;/strong&gt; or &lt;strong&gt;Include&lt;/strong&gt; button: Click to access a breakdown of the label&amp;rsquo;s values, seeing the log volumes visualized along the way.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Menu&lt;/strong&gt; (three dots): Click to navigate to &lt;a href=&#34;/docs/grafana-cloud/visualizations/explore/&#34;&gt;Grafana Explore&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;filtering-logs-by-label&#34;&gt;Filtering logs by label&lt;/h2&gt;
&lt;p&gt;To explore labels with your own data, follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;From the Grafana main menu, select &lt;strong&gt;Drilldown&lt;/strong&gt; &amp;gt; &lt;strong&gt;Logs&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Show logs&lt;/strong&gt; for the service you want to explore.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Labels&lt;/strong&gt; tab on the service details page.&lt;/li&gt;
&lt;li&gt;Browse the labels detected for this service.&lt;/li&gt;
&lt;li&gt;Look for an interesting label and click the &lt;strong&gt;Select&lt;/strong&gt; button.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You will see a selection of visualizations showing the volume of each label.&lt;/p&gt;
&lt;p&gt;To remove the filter, select &lt;strong&gt;All&lt;/strong&gt; from the &lt;strong&gt;Label&lt;/strong&gt; search menu or click the &lt;strong&gt;x&lt;/strong&gt; next to the selection in the Filter fields at the top of the page.&lt;/p&gt;
&lt;h2 id=&#34;fields-tab-user-interface-overview&#34;&gt;Fields tab user interface overview&lt;/h2&gt;
&lt;p&gt;Let&amp;rsquo;s take a closer look at what you can do on the Fields tab.&lt;/p&gt;
&lt;p&gt;The top navigation bar is common across the Grafana interface.
The next section is common across all the Logs Drilldown pages.&lt;/p&gt;
&lt;!-- Lets make updating the screenshots easier by putting the Logs Drilldown version in the file name. This lets you know the last time the screenshots were updated.--&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p &#34;
    style=&#34;max-width: 1440px;&#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/explore-logs/v2/logs-drilldown-fields.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/explore-logs/v2/logs-drilldown-fields.png&#34;data-srcset=&#34;/media/docs/explore-logs/v2/logs-drilldown-fields.png?w=320 320w, /media/docs/explore-logs/v2/logs-drilldown-fields.png?w=550 550w, /media/docs/explore-logs/v2/logs-drilldown-fields.png?w=750 750w, /media/docs/explore-logs/v2/logs-drilldown-fields.png?w=900 900w, /media/docs/explore-logs/v2/logs-drilldown-fields.png?w=1040 1040w, /media/docs/explore-logs/v2/logs-drilldown-fields.png?w=1240 1240w, /media/docs/explore-logs/v2/logs-drilldown-fields.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Grafana Logs Drilldown Fields tab&#34;width=&#34;1440&#34;height=&#34;1100&#34;title=&#34;Fields tab&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/explore-logs/v2/logs-drilldown-fields.png&#34;
            alt=&#34;Grafana Logs Drilldown Fields tab&#34;width=&#34;1440&#34;height=&#34;1100&#34;title=&#34;Fields tab&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Fields tab&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;Fields tab user interface:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Field&lt;/strong&gt; filter: Lets you search for or select field names from the menu.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Grid / Rows&lt;/strong&gt;: Lets you select how fields are displayed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Volume / Names&lt;/strong&gt;: Lets you toggle between showing field volume graphs and showing field names only.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Include&lt;/strong&gt; or &lt;strong&gt;Add to filter&lt;/strong&gt; button: Lets you filter log results by a specific field value. The button label varies depending on the field type.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Select&lt;/strong&gt; button (value breakdown): Click to access a breakdown of the field&amp;rsquo;s values, seeing the log volumes visualized along the way.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Menu&lt;/strong&gt; (three dots): Click to navigate to &lt;a href=&#34;/docs/grafana-cloud/visualizations/explore/&#34;&gt;Grafana Explore&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;filtering-logs-by-field&#34;&gt;Filtering logs by field&lt;/h2&gt;
&lt;p&gt;To explore fields with your own data, follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;From the Grafana main menu, select &lt;strong&gt;Drilldown&lt;/strong&gt; &amp;gt; &lt;strong&gt;Logs&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Show logs&lt;/strong&gt; for the service you want to explore.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Fields&lt;/strong&gt; tab on the service details page.&lt;/li&gt;
&lt;li&gt;Browse the fields detected for this service.&lt;/li&gt;
&lt;li&gt;Look for an interesting field and click the &lt;strong&gt;Select&lt;/strong&gt; button.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To remove the filter, select &lt;strong&gt;All&lt;/strong&gt; from the &lt;strong&gt;Field&lt;/strong&gt; search menu or click the &lt;strong&gt;x&lt;/strong&gt; next to the selection in the Filter fields at the top of the page.&lt;/p&gt;
&lt;h2 id=&#34;what-next&#34;&gt;What next?&lt;/h2&gt;
&lt;p&gt;Learn how &lt;a href=&#34;../patterns/&#34;&gt;Log patterns&lt;/a&gt; can help you work with different types of log lines in bulk.&lt;/p&gt;
]]></content><description>&lt;h1 id="labels-and-fields">Labels and fields&lt;/h1>
&lt;p>Grafana Logs Drilldown visualizes log volume for labels attached to your log lines, and for fields automatically extracted from each log line.&lt;/p></description></item><item><title>Log patterns</title><link>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/patterns/</link><pubDate>Fri, 03 Apr 2026 12:35:46 -0500</pubDate><guid>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/patterns/</guid><content><![CDATA[&lt;h1 id=&#34;log-patterns&#34;&gt;Log patterns&lt;/h1&gt;
&lt;p&gt;Log patterns let you work with groups of similar log lines. You can hide log patterns that are noisy, or focus only on the patterns that are most useful.&lt;/p&gt;
&lt;p&gt;Loki automatically extracts patterns when your logs are ingested. Patterns are ephemeral and are only mined from the previous three hours of your logs.&lt;/p&gt;
&lt;p&gt;The Grafana Logs Drilldown app shows you the patterns alongside their log volumes. From this view, you can investigate spikes and include or exclude specific log lines from your view.&lt;/p&gt;
&lt;p&gt;Patterns can change over time as your logging evolves. To see patterns on the &lt;strong&gt;Patterns&lt;/strong&gt; tab, you must have the &lt;a href=&#34;/docs/loki/latest/configure/#supported-contents-and-default-values-of-lokiyaml&#34;&gt;pattern ingester enabled&lt;/a&gt; in your Loki configuration file. If you don&amp;rsquo;t see any patterns, refer to &lt;a href=&#34;../troubleshooting/#there-are-no-patterns&#34;&gt;Troubleshooting&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;pattern-extraction&#34;&gt;Pattern extraction&lt;/h2&gt;
&lt;p&gt;Loki extracts patterns from a stream of log lines.&lt;/p&gt;
&lt;p&gt;For example, if your service logs lines like this:&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;console&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-console&#34;&gt;duration=255ms trace_id=abc001 GET /path/to/endpoint/2
user loaded: 25666
user loaded: 14544
duration=255ms trace_id=abc002 POST /path/to/endpoint/2
user loaded: 25666
duration=355ms trace_id=abc003 GET /path/to/endpoint/1
duration=355ms trace_id=abc004 POST /path/to/endpoint/1
duration=255ms trace_id=abc005 POST /path/to/endpoint/2
user loaded: 89255
duration=4244ms trace_id=abc006 GET /path/to/endpoint/1
user loaded: 25666
duration=255ms trace_id=abc007 GET /path/to/endpoint/2&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Two patterns would emerge where the static tokens are preserved literally, and dynamic values are turned into placeholders:&lt;/p&gt;
&lt;p&gt;Pattern 1: &lt;code&gt;duration=&amp;lt;_&amp;gt; trace_id=&amp;lt;_&amp;gt; &amp;lt;_&amp;gt; /path/to/endpoint/&amp;lt;_&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Pattern 2: &lt;code&gt;user loaded: &amp;lt;_&amp;gt;&lt;/code&gt;&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;Since Loki 3.0, you can make queries using this simplified &lt;a href=&#34;/docs/loki/latest/query/#pattern-match-filter-operators&#34;&gt;pattern match filter operator&lt;/a&gt; which is much faster than using regex.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;pattern-use-cases&#34;&gt;Pattern use cases&lt;/h2&gt;
&lt;p&gt;Using log patterns you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Browse the log volume over time of different types of logs.&lt;/li&gt;
&lt;li&gt;Simplify log management by grouping similar log entries.&lt;/li&gt;
&lt;li&gt;Enhance log searches by focusing on relevant patterns.&lt;/li&gt;
&lt;li&gt;Improve troubleshooting efficiency by highlighting critical log lines.&lt;/li&gt;
&lt;li&gt;Reduce storage requirements by minimizing log data.&lt;/li&gt;
&lt;li&gt;Filter out noisy log lines during exploration.&lt;/li&gt;
&lt;li&gt;Identify specific log lines for targeted analysis.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;patterns-tab-user-interface-overview&#34;&gt;Patterns tab user interface overview&lt;/h2&gt;
&lt;p&gt;Let&amp;rsquo;s take a closer look at what you can do on the Patterns tab.&lt;/p&gt;
&lt;p&gt;The top navigation bar is common across the Grafana interface.
The next section is common across all the Logs Drilldown pages.&lt;/p&gt;
&lt;!-- Make updating the screenshots easier by putting the Logs Drilldown version in the file name. This lets everyone know the last time the screenshots were updated.--&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p &#34;
    style=&#34;max-width: 1009px;&#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/explore-logs/v2/logs-drilldown-patterns.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/explore-logs/v2/logs-drilldown-patterns.png&#34;data-srcset=&#34;/media/docs/explore-logs/v2/logs-drilldown-patterns.png?w=320 320w, /media/docs/explore-logs/v2/logs-drilldown-patterns.png?w=550 550w, /media/docs/explore-logs/v2/logs-drilldown-patterns.png?w=750 750w, /media/docs/explore-logs/v2/logs-drilldown-patterns.png?w=900 900w, /media/docs/explore-logs/v2/logs-drilldown-patterns.png?w=1040 1040w, /media/docs/explore-logs/v2/logs-drilldown-patterns.png?w=1240 1240w, /media/docs/explore-logs/v2/logs-drilldown-patterns.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Grafana Logs Drilldown Patterns tab&#34;width=&#34;1009&#34;height=&#34;655&#34;title=&#34;Patterns tab&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/explore-logs/v2/logs-drilldown-patterns.png&#34;
            alt=&#34;Grafana Logs Drilldown Patterns tab&#34;width=&#34;1009&#34;height=&#34;655&#34;title=&#34;Patterns tab&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Patterns tab&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;Patterns tab user interface:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Search patterns&lt;/strong&gt; field: Lets you search for text that appears in patterns, for example HTTP methods or response codes.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&amp;gt;&lt;/strong&gt;: Expand or collapse a pattern row to view log lines with that pattern.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Patterns&lt;/strong&gt; graph: The graph shows you the patterns alongside their log volumes.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Include&lt;/strong&gt; and &lt;strong&gt;Exclude&lt;/strong&gt; buttons: Lets you include or exclude the log pattern from the log view.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When you expand a pattern row to view log lines with that pattern, each row has a menu with the following options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Show/Hide log details&lt;/strong&gt;: Select from the menu for the individual log line to view the log line, index labels, parsed fields, and structured metadata. For more information, refer to &lt;a href=&#34;../view-logs/&#34;&gt;View logs&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Show context&lt;/strong&gt;: Select from the menu to view the log line in the context of the logs that occurred before and after that specific log.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Copy log line&lt;/strong&gt;: Select from the menu to copy individual log lines to the clipboard.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The patterns table includes infinite scroll. Scroll to the bottom of the list to load more results.&lt;/p&gt;
&lt;h2 id=&#34;guided-tour-of-log-patterns&#34;&gt;Guided tour of log patterns&lt;/h2&gt;
&lt;p&gt;You can follow these steps to perform some common use cases using your own instance or &lt;a href=&#34;https://play.grafana.org/a/grafana-lokiexplore-app/explore&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Grafana Play&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;browse-log-volumes-by-type&#34;&gt;Browse log volumes by type&lt;/h3&gt;
&lt;p&gt;Grafana Logs Drilldown proactively visualizes your log volume data per detected pattern, broken down in various ways. At a glance you can immediately spot spikes or other changes.&lt;/p&gt;
&lt;p&gt;For example, if your HTTP service is suffering from a DDoS attack, the relevant graphs will clearly show the spikes. From here you can drill down to discover enough details about the attack to counter it.&lt;/p&gt;
&lt;h3 id=&#34;target-your-analysis&#34;&gt;Target your analysis&lt;/h3&gt;
&lt;p&gt;If you know the kind of log line you&amp;rsquo;re looking for, log patterns are an easy way to remove unwanted log lines from the view.&lt;/p&gt;
&lt;p&gt;To view only a specific set of patterns, perform the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;From the Grafana main menu, select &lt;strong&gt;Drilldown&lt;/strong&gt; &amp;gt; &lt;strong&gt;Logs&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Show logs&lt;/strong&gt; for the relevant service.&lt;/li&gt;
&lt;li&gt;On the service details page, click the &lt;strong&gt;Patterns&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Identify a pattern that matches the type of logs you&amp;rsquo;re interested in viewing.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Include&lt;/strong&gt; button for the pattern.&lt;/li&gt;
&lt;li&gt;Return to the &lt;strong&gt;Logs&lt;/strong&gt; tab and note the view only shows log lines that match your selected pattern.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can repeat steps 4 and 5 to include multiple patterns.&lt;/p&gt;
&lt;h3 id=&#34;hide-noisy-log-lines&#34;&gt;Hide noisy log lines&lt;/h3&gt;
&lt;p&gt;To hide noisy log lines, perform the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;From the Grafana main menu, select &lt;strong&gt;Drilldown&lt;/strong&gt; &amp;gt; &lt;strong&gt;Logs&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Show logs&lt;/strong&gt; for the relevant service.&lt;/li&gt;
&lt;li&gt;On the service details page, click the &lt;strong&gt;Patterns&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Identify a pattern that represents noise in the logs that you want to remove.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Exclude&lt;/strong&gt; button to exclude that pattern.&lt;/li&gt;
&lt;li&gt;Return to the &lt;strong&gt;Logs&lt;/strong&gt; tab and notice the noisy pattern has been removed.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can repeat steps 4 and 5 to exclude multiple patterns.&lt;/p&gt;
]]></content><description>&lt;h1 id="log-patterns">Log patterns&lt;/h1>
&lt;p>Log patterns let you work with groups of similar log lines. You can hide log patterns that are noisy, or focus only on the patterns that are most useful.&lt;/p></description></item><item><title>Logs Drilldown JSON viewer</title><link>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/viewing-json-logs/</link><pubDate>Fri, 03 Apr 2026 12:35:46 -0500</pubDate><guid>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/viewing-json-logs/</guid><content><![CDATA[&lt;h1 id=&#34;logs-drilldown-json-viewer&#34;&gt;Logs Drilldown JSON viewer&lt;/h1&gt;
&lt;p&gt;You can easily view and interact with your JSON formatted logs using the Logs Drilldown JSON viewer. This view will help you read your JSON style logs, and filter through them to make your related visualizations more relevant and focused.&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;To use this feature, you must be running Loki 3.5.0 or later.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;viewing-json-logs&#34;&gt;Viewing JSON logs&lt;/h2&gt;
&lt;p&gt;To interact with the JSON view, select &lt;strong&gt;Show logs&lt;/strong&gt; for your service in Logs Drilldown.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p &#34;
    style=&#34;max-width: 350px;&#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/explore-logs/v2/logs-drilldown-show-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/explore-logs/v2/logs-drilldown-show-logs.png&#34;data-srcset=&#34;/media/docs/explore-logs/v2/logs-drilldown-show-logs.png?w=320 320w, /media/docs/explore-logs/v2/logs-drilldown-show-logs.png?w=550 550w, /media/docs/explore-logs/v2/logs-drilldown-show-logs.png?w=750 750w, /media/docs/explore-logs/v2/logs-drilldown-show-logs.png?w=900 900w, /media/docs/explore-logs/v2/logs-drilldown-show-logs.png?w=1040 1040w, /media/docs/explore-logs/v2/logs-drilldown-show-logs.png?w=1240 1240w, /media/docs/explore-logs/v2/logs-drilldown-show-logs.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Logs Drilldown service panel with Show logs highlighted&#34;width=&#34;350&#34;height=&#34;200&#34;title=&#34;Show logs button&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/explore-logs/v2/logs-drilldown-show-logs.png&#34;
            alt=&#34;Logs Drilldown service panel with Show logs highlighted&#34;width=&#34;350&#34;height=&#34;200&#34;title=&#34;Show logs button&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Show logs button&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;On the &lt;strong&gt;Logs&lt;/strong&gt; tab, select the &lt;strong&gt;JSON&lt;/strong&gt; radio button in the panel header (next to &lt;strong&gt;Logs&lt;/strong&gt; and &lt;strong&gt;Table&lt;/strong&gt;) to switch to the JSON viewer. Your logs are displayed in a structured, collapsible tree view, enabling you to browse, expand, and collapse JSON fields.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p &#34;
    style=&#34;max-width: 1440px;&#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/explore-logs/v2/logs-drilldown-json-viewer.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/explore-logs/v2/logs-drilldown-json-viewer.png&#34;data-srcset=&#34;/media/docs/explore-logs/v2/logs-drilldown-json-viewer.png?w=320 320w, /media/docs/explore-logs/v2/logs-drilldown-json-viewer.png?w=550 550w, /media/docs/explore-logs/v2/logs-drilldown-json-viewer.png?w=750 750w, /media/docs/explore-logs/v2/logs-drilldown-json-viewer.png?w=900 900w, /media/docs/explore-logs/v2/logs-drilldown-json-viewer.png?w=1040 1040w, /media/docs/explore-logs/v2/logs-drilldown-json-viewer.png?w=1240 1240w, /media/docs/explore-logs/v2/logs-drilldown-json-viewer.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Logs Drilldown JSON viewer with structured log rows&#34;width=&#34;1440&#34;height=&#34;1100&#34;title=&#34;The JSON viewer&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/explore-logs/v2/logs-drilldown-json-viewer.png&#34;
            alt=&#34;Logs Drilldown JSON viewer with structured log rows&#34;width=&#34;1440&#34;height=&#34;1100&#34;title=&#34;The JSON viewer&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;The JSON viewer&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;The &lt;strong&gt;Line wrapping&lt;/strong&gt; control in the log controls panel also offers an &lt;strong&gt;Enabled with JSON formatting&lt;/strong&gt; option. This pretty-prints JSON within the standard Logs view but does not open the dedicated JSON viewer. For more information about line wrapping, refer to &lt;a href=&#34;../view-logs/&#34;&gt;View logs&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;filtering-log-lines-with-the-json-view&#34;&gt;Filtering log lines with the JSON view&lt;/h2&gt;
&lt;p&gt;You can include and exclude specific log data from your visualizations by clicking on individual log lines to open the &lt;strong&gt;Log Details&lt;/strong&gt; panel. Within Log Details, you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click the &lt;strong&gt;Include/Exclude&lt;/strong&gt; (plus/minus) icons next to fields to add them to your filter.&lt;/li&gt;
&lt;li&gt;Click the eye icon to select specific fields to display in the logs list.&lt;/li&gt;
&lt;li&gt;View field statistics by clicking the stats icon.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For example: Given a set of logs from an API request service, you can click on a log line, then select the &lt;strong&gt;Exclude&lt;/strong&gt; button next to the &lt;code&gt;method&lt;/code&gt; field with value &amp;ldquo;GET&amp;rdquo;. This will result in the Log Volume visualization showing only requests of other method types (DELETE/PATCH/POST/PUT).&lt;/p&gt;
&lt;p&gt;To include filtered log data again, remove the excluded data from the &lt;strong&gt;Fields&lt;/strong&gt; filter above the Log Volume visualization.&lt;/p&gt;
&lt;h2 id=&#34;supported-json-log-types&#34;&gt;Supported JSON log types&lt;/h2&gt;
&lt;p&gt;Log lines entirely formatted as JSON are supported.&lt;/p&gt;
&lt;p&gt;Log lines with only certain fields or metadata structured as JSON are not currently supported.&lt;/p&gt;
]]></content><description>&lt;h1 id="logs-drilldown-json-viewer">Logs Drilldown JSON viewer&lt;/h1>
&lt;p>You can easily view and interact with your JSON formatted logs using the Logs Drilldown JSON viewer. This view will help you read your JSON style logs, and filter through them to make your related visualizations more relevant and focused.&lt;/p></description></item><item><title>Sorting and ordering</title><link>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/ordering/</link><pubDate>Fri, 03 Apr 2026 12:35:46 -0500</pubDate><guid>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/ordering/</guid><content><![CDATA[&lt;h1 id=&#34;sorting-and-ordering&#34;&gt;Sorting and ordering&lt;/h1&gt;
&lt;p&gt;By default, graphs are sorted by most relevant, which prioritizes graphs with more volatile data or higher volume. For example, graphs with the most spikes or dips appear first.&lt;/p&gt;
&lt;p&gt;Some pages in Grafana Logs Drilldown can display a large number of graphs. You may want to sort the graphs differently, depending on what you&amp;rsquo;re looking for.&lt;/p&gt;
&lt;h2 id=&#34;sorting-log-lines&#34;&gt;Sorting log lines&lt;/h2&gt;
&lt;p&gt;When viewing log lines, you can use the &lt;strong&gt;Sort direction&lt;/strong&gt; control in the log controls panel to change the display order:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Newest logs first&lt;/strong&gt; (descending): Shows the most recent log lines at the top.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Oldest logs first&lt;/strong&gt; (ascending): Shows the oldest log lines at the top.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The log controls can be accessed by clicking the expand/collapse button on the right side of the logs panel. For more information about log controls, refer to &lt;a href=&#34;../view-logs/&#34;&gt;View logs&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When using infinite scroll to load more results, the sort direction determines which logs are loaded next:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Newest logs first&lt;/strong&gt;: Scrolling to the bottom loads older logs.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Oldest logs first&lt;/strong&gt;: Scrolling to the bottom loads newer logs.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;sorting-visualizations&#34;&gt;Sorting visualizations&lt;/h2&gt;
&lt;!-- Make updating the screenshots easier by putting the Logs Drilldown version in the file name. This lets everyone know the last time the screenshots were updated.--&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p &#34;
    style=&#34;max-width: 1440px;&#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/explore-logs/v2/logs-drilldown-sort-by-menu.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/explore-logs/v2/logs-drilldown-sort-by-menu.png&#34;data-srcset=&#34;/media/docs/explore-logs/v2/logs-drilldown-sort-by-menu.png?w=320 320w, /media/docs/explore-logs/v2/logs-drilldown-sort-by-menu.png?w=550 550w, /media/docs/explore-logs/v2/logs-drilldown-sort-by-menu.png?w=750 750w, /media/docs/explore-logs/v2/logs-drilldown-sort-by-menu.png?w=900 900w, /media/docs/explore-logs/v2/logs-drilldown-sort-by-menu.png?w=1040 1040w, /media/docs/explore-logs/v2/logs-drilldown-sort-by-menu.png?w=1240 1240w, /media/docs/explore-logs/v2/logs-drilldown-sort-by-menu.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Sorting in Grafana Logs Drilldown&#34;width=&#34;1440&#34;height=&#34;1100&#34;title=&#34;Sorting controls&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/explore-logs/v2/logs-drilldown-sort-by-menu.png&#34;
            alt=&#34;Sorting in Grafana Logs Drilldown&#34;width=&#34;1440&#34;height=&#34;1100&#34;title=&#34;Sorting controls&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Sorting controls&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;After selecting a specific label or field, you can sort graphs. Depending on the page and visualization, several sort options can be available.&lt;/p&gt;
&lt;p&gt;Some pages let you modify sort order directly from table or panel sort controls.
For example, on the &lt;strong&gt;Patterns&lt;/strong&gt; tab, you can sort by clicking the &lt;strong&gt;Count&lt;/strong&gt; or &lt;strong&gt;%&lt;/strong&gt; column headers. On the &lt;strong&gt;Labels&lt;/strong&gt; and &lt;strong&gt;Fields&lt;/strong&gt; tabs, a &lt;strong&gt;Sort by&lt;/strong&gt; dropdown appears after you select a specific label or field.&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;Sort by 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;Most relevant&lt;/td&gt;
              &lt;td&gt;Sorts graphs based on the most significant spikes in data.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Outlying values&lt;/td&gt;
              &lt;td&gt;Sorts graphs by the amount of outlying values in the data.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Widest spread&lt;/td&gt;
              &lt;td&gt;Sorts graphs by deviation from the average value.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Name&lt;/td&gt;
              &lt;td&gt;Sorts graphs alphabetically by name.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Count&lt;/td&gt;
              &lt;td&gt;Sorts graphs by total number of logs.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Highest spike&lt;/td&gt;
              &lt;td&gt;Sorts graphs by the highest values (max).&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Lowest dip&lt;/td&gt;
              &lt;td&gt;Sorts graphs by the smallest values (min).&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Percentiles&lt;/td&gt;
              &lt;td&gt;Sorts graphs by supported percentiles (&lt;code&gt;p10&lt;/code&gt;, &lt;code&gt;p25&lt;/code&gt;, &lt;code&gt;p75&lt;/code&gt;, &lt;code&gt;p90&lt;/code&gt;, &lt;code&gt;p99&lt;/code&gt;).&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&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;We are keen to improve this feature. &lt;a href=&#34;https://forms.gle/1sYWCTPvD72T1dPH9&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Contact us&lt;/a&gt; if there is something that would help you find the signal in the noise.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

]]></content><description>&lt;h1 id="sorting-and-ordering">Sorting and ordering&lt;/h1>
&lt;p>By default, graphs are sorted by most relevant, which prioritizes graphs with more volatile data or higher volume. For example, graphs with the most spikes or dips appear first.&lt;/p></description></item><item><title>Troubleshooting Grafana Logs Drilldown</title><link>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/troubleshooting/</link><pubDate>Fri, 03 Apr 2026 12:35:46 -0500</pubDate><guid>https://grafana.com/docs/grafana/v12.4/visualizations/simplified-exploration/logs/troubleshooting/</guid><content><![CDATA[&lt;h1 id=&#34;troubleshooting&#34;&gt;Troubleshooting&lt;/h1&gt;


&lt;div data-shared=&#34;troubleshoot-logs-drilldown.md&#34;&gt;
            &lt;p&gt;This page addresses common issues when getting started and using Grafana Logs Drilldown.&lt;/p&gt;
&lt;h2 id=&#34;cant-see-logs-drilldown-in-the-menu&#34;&gt;Can&amp;rsquo;t see Logs Drilldown in the menu&lt;/h2&gt;
&lt;p&gt;Grafana Explore Logs is installed by default in Grafana versions v11.3.0 through v11.5.&lt;/p&gt;
&lt;p&gt;Grafana Logs Drilldown is installed by default in Grafana versions v11.6.11 and later.&lt;/p&gt;
&lt;p&gt;In Grafana v12 and later, the &lt;strong&gt;Drilldown&lt;/strong&gt; menu includes all Drilldown apps by default.&lt;/p&gt;
&lt;p&gt;For more information about the name change for this feature, see this &lt;a href=&#34;/blog/2025/02/20/grafana-drilldown-apps-the-improved-queryless-experience-formerly-known-as-the-explore-apps/&#34;&gt;blog post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you do not see Logs Drilldown under either name, then check to make sure you have the &lt;a href=&#34;/grafana/plugins/grafana-lokiexplore-app/&#34;&gt;Grafana Logs Drilldown plugin&lt;/a&gt; installed and configured.&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;Your instance needs internet connection in order to download the Logs Drilldown plugin. If you are working in an offline environment, you can download the Logs Drilldown plugin separately and add it to your Grafana &lt;code&gt;/plugins&lt;/code&gt; repository.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;ensure-loki-is-properly-configured&#34;&gt;Ensure Loki is properly configured&lt;/h2&gt;
&lt;p&gt;To use Grafana Logs Drilldown, you need to have Loki properly configured. You can find full instructions in &lt;a href=&#34;/docs/grafana/latest/explore/simplified-exploration/logs/access/&#34;&gt;Access or install Grafana Logs Drilldown&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;service-selection-errors&#34;&gt;Service selection errors&lt;/h2&gt;
&lt;p&gt;This section covers errors on the service selection page.&lt;/p&gt;
&lt;h3 id=&#34;there-are-no-services&#34;&gt;There are no services&lt;/h3&gt;
&lt;p&gt;If everything is presented as an &lt;code&gt;unknown_service&lt;/code&gt; when you access Grafana Logs Drilldown, you can try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Ensure the Volume API is enabled by setting the &lt;a href=&#34;/docs/loki/latest/configure/#:~:text=volume_enabled&#34;&gt;&lt;code&gt;volume_enabled&lt;/code&gt; configuration value&lt;/a&gt; in Loki. Enabled by default in Loki 3.1 and later.&lt;/li&gt;
&lt;li&gt;Specify the label to use to identify services by setting the &lt;a href=&#34;/docs/loki/latest/configure/#:~:text=discover_service_name&#34;&gt;&lt;code&gt;discover_service_name&lt;/code&gt; configuration value&lt;/a&gt; in Loki.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;no-logs-found-in-label&#34;&gt;No logs found in [label]&lt;/h3&gt;
&lt;p&gt;This message appears when the selected label has no log volume data for the current time range.&lt;/p&gt;
&lt;p&gt;Try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Expand your time range to find when logs were last recorded for this label.&lt;/li&gt;
&lt;li&gt;Select a different label or service that has active log data.&lt;/li&gt;
&lt;li&gt;Verify that logs are being ingested for this label by checking your log collection pipeline.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;log-volume-has-not-been-configured&#34;&gt;Log volume has not been configured&lt;/h3&gt;
&lt;p&gt;This error indicates that Loki&amp;rsquo;s volume API is not enabled, which Logs Drilldown requires to display service volumes.&lt;/p&gt;
&lt;p&gt;To fix this, enable volume in your Loki configuration:&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;YAML&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-yaml&#34;&gt;limits_config:
  volume_enabled: true&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Refer to the &lt;a href=&#34;/docs/loki/latest/configure/#limits_config&#34;&gt;Loki configuration documentation&lt;/a&gt; for more details.&lt;/p&gt;
&lt;h3 id=&#34;no-service-matched-your-search&#34;&gt;No service matched your search&lt;/h3&gt;
&lt;p&gt;This message appears when searching for services on the service selection page and no results match your search term.&lt;/p&gt;
&lt;p&gt;Try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check your search term for typos.&lt;/li&gt;
&lt;li&gt;Try a partial match or different search term.&lt;/li&gt;
&lt;li&gt;Clear the search to see all available services.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;there-are-no-detected-levels&#34;&gt;There are no detected levels&lt;/h2&gt;
&lt;p&gt;If you do not see &lt;code&gt;detected_level&lt;/code&gt; values in Grafana Logs Drilldown, you can try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Ensure level detection is enabled by setting the &lt;a href=&#34;/docs/loki/latest/configure/#:~:text=discover_log_levels&#34;&gt;&lt;code&gt;discover_log_levels&lt;/code&gt; configuration value&lt;/a&gt;. Enabled by default in Loki 3.1 and later.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;label-and-field-errors&#34;&gt;Label and field errors&lt;/h2&gt;
&lt;p&gt;This section covers errors related to labels and fields in Logs Drilldown.&lt;/p&gt;
&lt;h3 id=&#34;there-are-no-labels&#34;&gt;There are no labels&lt;/h3&gt;
&lt;p&gt;If you do not see any labels in Grafana Logs Drilldown, you can try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Ensure your collector is properly configured to attach them.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To learn more about Labels, refer to the &lt;a href=&#34;/docs/loki/latest/get-started/labels/&#34;&gt;Loki labels documentation&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;no-labels-selected&#34;&gt;No labels selected&lt;/h3&gt;
&lt;p&gt;This message appears when you haven&amp;rsquo;t selected any labels to filter your logs. Logs Drilldown requires at least one label filter to display results.&lt;/p&gt;
&lt;p&gt;To fix this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Select a service or other primary label from the service selection page.&lt;/li&gt;
&lt;li&gt;If you removed all labels, click the &lt;strong&gt;Reset filters&lt;/strong&gt; button to restore the default selection.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;invalid-labels-selected&#34;&gt;Invalid labels selected&lt;/h3&gt;
&lt;p&gt;This error occurs when your label filters are in an invalid state, typically when all remaining filters use negative matching (not equal, not regex match).&lt;/p&gt;
&lt;p&gt;Try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Ensure you have at least one label filter with positive (inclusive) matching.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Reset filters&lt;/strong&gt; button to restore a valid label selection.&lt;/li&gt;
&lt;li&gt;Add a new label filter that includes (rather than excludes) logs.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;the-labels-are-not-available-at-this-moment&#34;&gt;The labels are not available at this moment&lt;/h3&gt;
&lt;p&gt;This warning appears when Logs Drilldown temporarily cannot fetch label information from Loki.&lt;/p&gt;
&lt;p&gt;Try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Wait a moment and refresh the page.&lt;/li&gt;
&lt;li&gt;Try selecting a different time range.&lt;/li&gt;
&lt;li&gt;Check your Loki data source connection in Grafana&amp;rsquo;s data source settings.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;no-labelsfields-match-these-filters&#34;&gt;No labels/fields match these filters&lt;/h3&gt;
&lt;p&gt;This message appears when your current filters don&amp;rsquo;t match any available labels or fields.&lt;/p&gt;
&lt;p&gt;Try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Clear your current filters using the &lt;strong&gt;Clear filters&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;Broaden your time range.&lt;/li&gt;
&lt;li&gt;Check that your label filter values are correct and exist in your log data.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;we-did-not-find-any-fields-for-the-given-time-range&#34;&gt;We did not find any fields for the given time range&lt;/h3&gt;
&lt;p&gt;This message indicates that no detected fields (structured metadata or parsed fields) were found for your current selection and time range.&lt;/p&gt;
&lt;p&gt;Try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Expand your time range to include more log data.&lt;/li&gt;
&lt;li&gt;Verify that your logs contain structured data (JSON, logfmt, or other parsable formats).&lt;/li&gt;
&lt;li&gt;Check that &lt;a href=&#34;/docs/loki/latest/get-started/labels/structured-metadata/&#34;&gt;structured metadata&lt;/a&gt; is enabled in your Loki configuration by setting &lt;code&gt;allow_structured_metadata: true&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;default-fields-tab-not-appearing&#34;&gt;Default fields tab not appearing&lt;/h3&gt;
&lt;p&gt;If the &lt;strong&gt;Default fields&lt;/strong&gt; tab does not appear in the Logs Drilldown plugin settings, or if it displays an unsupported message, check the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Ensure you are running Grafana 12.4 or later. Default fields requires this minimum version.&lt;/li&gt;
&lt;li&gt;Verify that the &lt;code&gt;kubernetesLogsDrilldown&lt;/code&gt; feature flag is enabled in your Grafana configuration.&lt;/li&gt;
&lt;li&gt;Confirm that you have the Org Admin role in your organization.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For more information about configuring Default fields, refer to &lt;a href=&#34;/docs/grafana/latest/explore/simplified-exploration/logs/access/configure/#default-fields-beta&#34;&gt;Configure Logs Drilldown&lt;/a&gt;.&lt;/p&gt;
&lt;!-- Uncomment when Grafana 13.0 is released:

### Landing page default labels not appearing

If the **Landing Page** tab does not appear in the Logs Drilldown plugin settings, or if it displays an unsupported message, check the following:

1. Ensure you are running Grafana 13.0 or later. Landing Page default labels requires this minimum version.
1. Verify that the `kubernetesLogsDrilldown` feature flag is enabled in your Grafana configuration.
1. Confirm that you have the Org Admin role in your organization.
1. After saving changes, verify the correct Loki data source is selected. Landing page label configuration is per data source.
1. Check that the labels you are configuring exist in the selected Loki data source.

For more information about configuring Landing Page default labels, refer to [Configure Logs Drilldown](https://grafana.com/docs/grafana/latest/explore/simplified-exploration/logs/access/configure/#landing-page-default-labels-beta).

--&gt;
&lt;h2 id=&#34;there-are-no-color-levels&#34;&gt;There are no color levels&lt;/h2&gt;
&lt;p&gt;Color coding for log severity levels is a setting in Loki. You must have &lt;code&gt;discover_log_levels: true&lt;/code&gt; in your &lt;a href=&#34;/docs/loki/latest/configure/#limits_config&#34;&gt;Loki configuration file&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;query-and-results-errors&#34;&gt;Query and results errors&lt;/h2&gt;
&lt;p&gt;This section covers common error messages you may encounter when querying logs.&lt;/p&gt;
&lt;h3 id=&#34;no-logs-match-your-search&#34;&gt;No logs match your search&lt;/h3&gt;
&lt;p&gt;If you see the message &amp;ldquo;No logs match your search. Please review your filters or try a different time range.&amp;rdquo; it means your current combination of filters and time range returns no results.&lt;/p&gt;
&lt;p&gt;Try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Expand the time range to include a larger window of logs.&lt;/li&gt;
&lt;li&gt;Review your label filters and remove any that may be too restrictive.&lt;/li&gt;
&lt;li&gt;Check your line filter (search text) for typos or overly specific patterns.&lt;/li&gt;
&lt;li&gt;If you have active pattern filters (&lt;code&gt;include&lt;/code&gt; or &lt;code&gt;exclude&lt;/code&gt;), try clearing them to see if logs appear.&lt;/li&gt;
&lt;/ol&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;You can click the &lt;strong&gt;Clear filters&lt;/strong&gt; button that appears with the error message to reset all filters and start fresh.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h3 id=&#34;logs-could-not-be-retrieved-due-to-invalid-filter-parameters&#34;&gt;Logs could not be retrieved due to invalid filter parameters&lt;/h3&gt;
&lt;p&gt;This error occurs when the query contains invalid syntax, typically from a malformed regular expression in a line filter.&lt;/p&gt;
&lt;p&gt;Try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check your line filter for invalid regex syntax. Loki uses &lt;a href=&#34;https://github.com/google/re2/wiki/Syntax&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;RE2 syntax&lt;/a&gt; for regular expressions.&lt;/li&gt;
&lt;li&gt;If you&amp;rsquo;re using special characters like &lt;code&gt;(&lt;/code&gt;, &lt;code&gt;)&lt;/code&gt;, &lt;code&gt;[&lt;/code&gt;, &lt;code&gt;]&lt;/code&gt;, &lt;code&gt;{&lt;/code&gt;, &lt;code&gt;}&lt;/code&gt;, &lt;code&gt;.&lt;/code&gt;, &lt;code&gt;*&lt;/code&gt;, &lt;code&gt;&#43;&lt;/code&gt;, &lt;code&gt;?&lt;/code&gt;, &lt;code&gt;^&lt;/code&gt;, &lt;code&gt;$&lt;/code&gt;, &lt;code&gt;|&lt;/code&gt;, or &lt;code&gt;\&lt;/code&gt;, ensure they are properly escaped.&lt;/li&gt;
&lt;li&gt;Toggle off the regex mode in the line filter if you&amp;rsquo;re searching for literal text.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;the-response-is-too-large-to-process&#34;&gt;The response is too large to process&lt;/h3&gt;
&lt;p&gt;This error appears when Loki returns more data than it can handle in a single response.&lt;/p&gt;
&lt;p&gt;Try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Narrow your time range to reduce the amount of data returned.&lt;/li&gt;
&lt;li&gt;Add more specific label filters to target a smaller subset of logs.&lt;/li&gt;
&lt;li&gt;Use a line filter to search for specific text, which reduces the response size.&lt;/li&gt;
&lt;li&gt;If you&amp;rsquo;re an administrator, consider adjusting the &lt;a href=&#34;/docs/loki/latest/configure/#server&#34;&gt;&lt;code&gt;max_recv_msg_size&lt;/code&gt;&lt;/a&gt; in your Loki server configuration.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;max-entries-limit-per-query-exceeded&#34;&gt;Max entries limit per query exceeded&lt;/h3&gt;
&lt;p&gt;This error means your query is trying to return more log lines than the configured limit allows. Loki has a default limit on the number of log entries that can be returned in a single query.&lt;/p&gt;
&lt;p&gt;Try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Reduce the &lt;strong&gt;Line limit&lt;/strong&gt; setting in the Logs Drilldown interface. You can find this option next to the line filter on the &lt;strong&gt;Logs&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Narrow your time range to return fewer results.&lt;/li&gt;
&lt;li&gt;Add more specific filters to reduce the number of matching logs.&lt;/li&gt;
&lt;li&gt;If you&amp;rsquo;re an administrator and need higher limits, adjust the &lt;a href=&#34;/docs/loki/latest/configure/#limits_config&#34;&gt;&lt;code&gt;max_entries_limit_per_query&lt;/code&gt;&lt;/a&gt; in your Loki configuration.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;max-series-limit-exceeded&#34;&gt;Max series limit exceeded&lt;/h3&gt;
&lt;p&gt;If you see &amp;ldquo;Max series limit exceeded&amp;rdquo; when viewing a field breakdown, it means the query returned more unique label value combinations than Loki allows.&lt;/p&gt;
&lt;p&gt;Try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Reduce the time range to lower the number of unique series.&lt;/li&gt;
&lt;li&gt;Add additional filters to narrow down the results before viewing the field breakdown.&lt;/li&gt;
&lt;li&gt;Choose a different field with fewer unique values to break down.&lt;/li&gt;
&lt;li&gt;If you&amp;rsquo;re an administrator, you can increase the &lt;a href=&#34;/docs/loki/latest/configure/#limits_config&#34;&gt;&lt;code&gt;max_query_series&lt;/code&gt;&lt;/a&gt; limit in your Loki configuration, though be aware this may impact query performance.&lt;/li&gt;
&lt;/ol&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;Fields with high cardinality (many unique values) like &lt;code&gt;trace_id&lt;/code&gt;, &lt;code&gt;request_id&lt;/code&gt;, or timestamps are more likely to hit this limit. Consider filtering by other labels first before exploring high-cardinality fields.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h3 id=&#34;showing-partial-results&#34;&gt;Showing partial results&lt;/h3&gt;
&lt;p&gt;If you see &amp;ldquo;Showing partial results for [field]&amp;rdquo; it means the query encountered an error but was still able to return some data. This commonly happens with timeout errors on large queries.&lt;/p&gt;
&lt;p&gt;Try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Narrow your time range to make the query faster.&lt;/li&gt;
&lt;li&gt;Add more filters to reduce the amount of data being processed.&lt;/li&gt;
&lt;li&gt;If timeouts persist, contact your administrator to check Loki query timeout settings.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;pattern-errors&#34;&gt;Pattern errors&lt;/h2&gt;
&lt;p&gt;This section covers error messages related to the Patterns feature.&lt;/p&gt;
&lt;h3 id=&#34;there-are-no-pattern-matches&#34;&gt;There are no pattern matches&lt;/h3&gt;
&lt;p&gt;Pattern matching has not been configured.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Ensure pattern extraction is enabled by setting &lt;code&gt;pattern_ingester.enabled=true&lt;/code&gt; in your Loki config. &lt;a href=&#34;/docs/grafana/latest/explore/simplified-exploration/logs/access/&#34;&gt;Learn about other necessary config&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Ensure the volume endpoint is enabled by setting &lt;code&gt;volume_enabled=true&lt;/code&gt; within your &lt;a href=&#34;/docs/loki/latest/configure/#limits_config&#34;&gt;Loki configuration file&lt;/a&gt;.&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;The Patterns feature does not support multi-tenant or cross-stack data sources.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;If you see a message in the UI on the Patterns tab that says &amp;ldquo;An error occurred within the plugin.&amp;rdquo; or receive an error message HTTP 500 with the message &lt;code&gt;multiple org IDs present&lt;/code&gt; you have two options to work around the issue:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use a single-stack Loki data source to restore Patterns.&lt;/li&gt;
&lt;li&gt;Disable log patterns to continue using the other Logs Drilldown features with your multi-tenant or cross-stack data source. Go to &lt;strong&gt;Administration&lt;/strong&gt; &amp;gt; &lt;strong&gt;Plugins and data&lt;/strong&gt; &amp;gt; &lt;strong&gt;Plugins&lt;/strong&gt; &amp;gt; &lt;strong&gt;Grafana Logs Drilldown&lt;/strong&gt; and select the &lt;strong&gt;Disable patterns&lt;/strong&gt; check box. This will disable use of the Patterns API and hide the &lt;strong&gt;Patterns&lt;/strong&gt; tab in the user interface.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;sorry-we-could-not-detect-any-patterns&#34;&gt;Sorry, we could not detect any patterns&lt;/h3&gt;
&lt;p&gt;This message appears when Loki&amp;rsquo;s pattern ingester is enabled but no patterns were extracted from your logs. This is rare but can happen with certain log formats.&lt;/p&gt;
&lt;p&gt;Try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check back later as patterns are continuously extracted from incoming logs.&lt;/li&gt;
&lt;li&gt;Verify that your logs have enough volume for pattern detection to work effectively.&lt;/li&gt;
&lt;li&gt;If the issue persists, reach out in the &lt;a href=&#34;https://slack.grafana.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Grafana Labs community Slack channel&lt;/a&gt; or &lt;a href=&#34;https://github.com/grafana/explore-logs/issues/new&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;open an issue on GitHub&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;patterns-are-only-available-for-the-most-recent-3-hours-of-data&#34;&gt;Patterns are only available for the most recent 3 hours of data&lt;/h3&gt;
&lt;p&gt;Patterns in Loki are ephemeral and only stored for the most recent three hours. And patterns can change over time as your logging evolves. If your selected time range is entirely older than three hours ago, you won&amp;rsquo;t see any patterns.&lt;/p&gt;
&lt;p&gt;To view patterns:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Adjust your time range to include some portion of the last three hours.&lt;/li&gt;
&lt;li&gt;Use the time picker to select a more recent time window.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;this-pattern-returns-no-logs&#34;&gt;This pattern returns no logs&lt;/h3&gt;
&lt;p&gt;This error appears when viewing a pattern&amp;rsquo;s sample logs and the pattern query fails to return results. This can happen if the pattern was detected from logs that have since aged out or been deleted.&lt;/p&gt;
&lt;p&gt;No action is typically needed. Try selecting a different pattern or adjusting your time range.&lt;/p&gt;
&lt;h3 id=&#34;the-logs-returned-by-this-pattern-do-not-match-the-current-query-filters&#34;&gt;The logs returned by this pattern do not match the current query filters&lt;/h3&gt;
&lt;p&gt;This warning appears when you have active filters that exclude the logs matching the selected pattern. The pattern exists in your overall log data, but your current filters prevent those logs from appearing.&lt;/p&gt;
&lt;p&gt;Try the following fixes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click the &lt;strong&gt;Clear filters&lt;/strong&gt; button to remove conflicting filters.&lt;/li&gt;
&lt;li&gt;Review your current label and line filters to understand why they exclude this pattern.&lt;/li&gt;
&lt;li&gt;Adjust your filters to include the logs you want to see.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;json-panel-issues&#34;&gt;JSON panel issues&lt;/h2&gt;
&lt;p&gt;This section covers issues specific to the JSON visualization panel.&lt;/p&gt;
&lt;h3 id=&#34;json-filtering-requires-loki-350&#34;&gt;JSON filtering requires Loki 3.5.0&lt;/h3&gt;
&lt;p&gt;If you see &amp;ldquo;JSON filtering requires Loki 3.5.0. This view will be read only until Loki is upgraded to 3.5.0&amp;rdquo; it means your Loki instance doesn&amp;rsquo;t support the JSON filtering feature.&lt;/p&gt;
&lt;p&gt;The JSON panel will still display your logs, but you won&amp;rsquo;t be able to filter by clicking on JSON field values.&lt;/p&gt;
&lt;p&gt;To enable filtering:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Upgrade your Loki instance to version 3.5.0 or later.&lt;/li&gt;
&lt;li&gt;Alternatively, switch to the &lt;strong&gt;Logs&lt;/strong&gt; or &lt;strong&gt;Table&lt;/strong&gt; visualization where filtering works with all Loki versions.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;no-json-fields-detected&#34;&gt;No JSON fields detected&lt;/h3&gt;
&lt;p&gt;This message appears when viewing the JSON panel but your log lines aren&amp;rsquo;t in JSON format.&lt;/p&gt;
&lt;p&gt;This is informational rather than an error. If your logs aren&amp;rsquo;t JSON formatted:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Switch to the &lt;strong&gt;Logs&lt;/strong&gt; or &lt;strong&gt;Table&lt;/strong&gt; view for a better experience.&lt;/li&gt;
&lt;li&gt;The JSON view is optimized for JSON-formatted log lines and may not display other formats correctly.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;i-cannot-find-something&#34;&gt;I cannot find something&lt;/h2&gt;
&lt;p&gt;Please &lt;a href=&#34;https://github.com/grafana/explore-logs/issues/new&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;open an issue on GitHub&lt;/a&gt; or &lt;a href=&#34;https://forms.gle/1sYWCTPvD72T1dPH9&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;get in touch privately&lt;/a&gt; and let us know what&amp;rsquo;s not working for you.&lt;/p&gt;
&lt;p&gt;If you have something urgent, please &lt;a href=&#34;/help/&#34;&gt;get in touch via support&lt;/a&gt;. Grafana Cloud users can &lt;a href=&#34;/profile/org#support&#34;&gt;open a support ticket here&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;

        
]]></content><description>&lt;h1 id="troubleshooting">Troubleshooting&lt;/h1>
&lt;div data-shared="troubleshoot-logs-drilldown.md">
&lt;p>This page addresses common issues when getting started and using Grafana Logs Drilldown.&lt;/p>
&lt;h2 id="cant-see-logs-drilldown-in-the-menu">Can&amp;rsquo;t see Logs Drilldown in the menu&lt;/h2>
&lt;p>Grafana Explore Logs is installed by default in Grafana versions v11.3.0 through v11.5.&lt;/p></description></item></channel></rss>