<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: tstats where index=_internal no results in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/561302#M7898</link>
    <description>&lt;P&gt;Yes, thats exactly the behaviour. &amp;nbsp;To be more precise - tstats does not fail, it just doesnt return any results. To make things even more challenging - same tstats command works on other indexes.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jul 2021 09:57:58 GMT</pubDate>
    <dc:creator>MaverickT</dc:creator>
    <dc:date>2021-07-29T09:57:58Z</dc:date>
    <item>
      <title>Why does the tstats search "where index=_internal" returns no results?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/561205#M5158</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am trying to run the following tstats search on indexer cluster, recently updated to splunk 8.2.1:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| tstats count where index=_internal by host&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The search returns no results, I suspect that the reason is this message in search log of the indexer:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Mixed mode is disabled, skipping search for bucket with no TSIDX data: \opt\splunkhot\_internaldb\db\hot_v1_4334&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I check the specified bucket folder, I can see the tsidx files inside.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interesting fact is, that this issue occurs only with _internal index, same command works fine with other indexes. I have datamodel "Splunk's Internal Server Logs" enabled and accelerated.&lt;/P&gt;
&lt;P&gt;Any suggestions where to start troubleshooting this issue?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 13:41:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/561205#M5158</guid>
      <dc:creator>MaverickT</dc:creator>
      <dc:date>2022-03-25T13:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: tstats where index=_internal no results</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/561234#M5159</link>
      <description>&lt;P&gt;Why are you running the search on an indexer and not a search head? A given indexer is only going to know about what it has stored locally whereas a SH/SHC member will be able to search across the entire instance.&lt;/P&gt;&lt;P&gt;Another thing to check would be to verify all your nodes are forwarding their internal logs. If you have a DMC the first/easiest place to check is Forwardeers &amp;gt; Forwarders Deployment &amp;gt; Show instances forwarding internal logs.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 16:46:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/561234#M5159</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2021-07-28T16:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: tstats where index=_internal no results</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/561253#M6560</link>
      <description>&lt;P&gt;Thanks for your reply. I guess I wasn't clear enough.&lt;/P&gt;&lt;P&gt;I run search on search head, the search log is taken from search head, but also includes log from indexer. It is taken from here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$SPLUNK_HOME/var/run/splunk/dispatch/$SEARCH_JOB_ID/remote_logs/$INDEXER.search.log&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sure all logs from search heads, heavy and universal forwarders are forwarded to indexer tier, since normal search (eg. index=_internal | stats count by host) produces results.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 09:56:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/561253#M6560</guid>
      <dc:creator>MaverickT</dc:creator>
      <dc:date>2021-07-29T09:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: tstats where index=_internal no results</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/561265#M6580</link>
      <description>&lt;P&gt;So tstats fails&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats count where index=_internal by host&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;but this works?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal | stats count by host&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 21:43:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/561265#M6580</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2021-07-28T21:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: tstats where index=_internal no results</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/561302#M7898</link>
      <description>&lt;P&gt;Yes, thats exactly the behaviour. &amp;nbsp;To be more precise - tstats does not fail, it just doesnt return any results. To make things even more challenging - same tstats command works on other indexes.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 09:57:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/561302#M7898</guid>
      <dc:creator>MaverickT</dc:creator>
      <dc:date>2021-07-29T09:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: tstats where index=_internal no results</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/561375#M8453</link>
      <description>&lt;P&gt;Have you checked the job inspector logs for clues about what's happening?&lt;BR /&gt;Run your search that returns no results then go to:&amp;nbsp; Job &amp;gt; Inspect Job &amp;gt; search.log&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 14:07:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/561375#M8453</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2021-07-29T14:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: tstats where index=_internal no results</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/562096#M8468</link>
      <description>&lt;P&gt;Any luck with this? I actually have the same issue.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 14:50:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/562096#M8468</guid>
      <dc:creator>splunk219783</dc:creator>
      <dc:date>2021-08-04T14:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: tstats where index=_internal no results</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/563077#M8524</link>
      <description>&lt;P&gt;I have a nearly identical issue.&amp;nbsp;&amp;nbsp; This gives me three hosts out of ~600.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats count where index=_internal by host&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this search returns 600 hosts, however it takes forever to run.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal | stats count by host&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 13:27:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/563077#M8524</guid>
      <dc:creator>splunk219783</dc:creator>
      <dc:date>2021-08-12T13:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: tstats where index=_internal no results</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/563096#M8525</link>
      <description>&lt;P&gt;Make sure everything under $SPLUNK_HOME is owned by the Splunk user.&lt;/P&gt;&lt;P&gt;Using a chown -RP splunk:splunk $SPLUNK_HOME&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 16:04:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/563096#M8525</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2021-08-12T16:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: tstats where index=_internal no results</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/574925#M8686</link>
      <description>&lt;P&gt;Including&lt;/P&gt;&lt;LI-CODE lang="c"&gt;include_reduced_buckets=t&lt;/LI-CODE&gt;&lt;P&gt;in your tstats parameters should work around the 8.2 _internal tstats issue.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 13:50:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/574925#M8686</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2021-11-15T13:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: tstats where index=_internal no results</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/580617#M8760</link>
      <description>&lt;P&gt;Thanks for the tip, i cannot find this in knows issues though.&lt;/P&gt;&lt;P&gt;Are there any docs that state this bug?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 14:51:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/580617#M8760</guid>
      <dc:creator>MattibergB</dc:creator>
      <dc:date>2022-01-11T14:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: tstats where index=_internal no results</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/580626#M8761</link>
      <description>&lt;P&gt;Not that I'm aware of, no.&lt;/P&gt;&lt;P&gt;Support may have an SPL-Number to track.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 15:24:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/580626#M8761</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2022-01-11T15:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: tstats where index=_internal no results</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/580703#M8764</link>
      <description>&lt;P&gt;I've been advised that 8.2.5 should likely have the fix (this may change, no guarantees), but I do not have a jira number...&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 01:40:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/580703#M8764</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2022-01-12T01:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: tstats where index=_internal no results</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/590865#M8845</link>
      <description>&lt;P&gt;Sorry to say, but I just installed 8.2.5 and ran straight into this issue &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;VGVG&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 13:31:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/590865#M8845</guid>
      <dc:creator>vgrote</dc:creator>
      <dc:date>2022-03-25T13:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: tstats where index=_internal no results</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/590936#M8846</link>
      <description>&lt;P&gt;Also hit the same issue in 8.2.5, logged a new case&lt;/P&gt;&lt;P&gt;Note that adding the option &amp;nbsp;include_reduced_buckets=t works in most cases, I've found it doesn't work when combined with PREFIX&lt;/P&gt;</description>
      <pubDate>Sat, 26 Mar 2022 06:57:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-tstats-search-quot-where-index-internal-quot/m-p/590936#M8846</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2022-03-26T06:57:14Z</dc:date>
    </item>
  </channel>
</rss>

