<?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: what makes tstats on _internal go wrong? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/what-makes-tstats-on-internal-go-wrong/m-p/572133#M10445</link>
    <description>&lt;P&gt;Which splunk version? I've hit an issue that appears to be a known issue with tstats and the internal index in 8.2.2...&lt;/P&gt;</description>
    <pubDate>Sun, 24 Oct 2021 05:49:17 GMT</pubDate>
    <dc:creator>gjanders</dc:creator>
    <dc:date>2021-10-24T05:49:17Z</dc:date>
    <item>
      <title>what makes tstats on _internal go wrong?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/what-makes-tstats-on-internal-go-wrong/m-p/572087#M10441</link>
      <description>&lt;P&gt;My teammate and I have been trying to summarize our environment to automatically build a data dictionary.&amp;nbsp; Our last feature was to add a lastSeen time to use as a rudimentary data integrity check.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Recently this has stopped working on the _internal index.&amp;nbsp; As in tstats max time on _internal is a week ago, even though a straight SPL search on index=_internal returns results for today or any other arbitrary slice of time I query over the last week.&amp;nbsp; This suggests to me that the tsidx is messed up for _internal.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But to make matters more confusing, yesterday I was able to submit the same query and get a correct max(_time) for index=_internal.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have an idea of what is going on with this behavior? Better yet, what I need to do to fix it?&lt;/P&gt;&lt;P&gt;If it matters, this is a clustered search head environment and we also have quite a few indexers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;usual results&lt;/P&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;LI-CODE lang="markup"&gt;| tstats count max(_time) as lastSeen where index=_* earliest=-20d@d latest=@m by index
| convert ctime(lastSeen)&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;index count lastSeen&lt;/P&gt;&lt;TABLE border="1" width="99.87096774193547%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="30.193548387096776%" height="25px"&gt;_audit&lt;/TD&gt;&lt;TD width="25.41935483870968%" height="25px"&gt;999999999&lt;/TD&gt;&lt;TD width="44.25806451612903%" height="25px"&gt;10/22/2021 15:39:59&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="30.193548387096776%" height="25px"&gt;_internal&lt;/TD&gt;&lt;TD width="25.41935483870968%" height="25px"&gt;9999999&lt;/TD&gt;&lt;TD width="44.25806451612903%" height="25px"&gt;10/14/2021 20:09:35&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="30.193548387096776%" height="25px"&gt;_introspection&lt;/TD&gt;&lt;TD width="25.41935483870968%" height="25px"&gt;999999999&lt;/TD&gt;&lt;TD width="44.25806451612903%" height="25px"&gt;10/22/2021 15:39:59&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="30.193548387096776%" height="25px"&gt;_telemetry&lt;/TD&gt;&lt;TD width="25.41935483870968%" height="25px"&gt;999&lt;/TD&gt;&lt;TD width="44.25806451612903%" height="25px"&gt;10/22/2021 12:05:05&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 22 Oct 2021 21:20:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/what-makes-tstats-on-internal-go-wrong/m-p/572087#M10441</guid>
      <dc:creator>MonkeyK</dc:creator>
      <dc:date>2021-10-22T21:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: what makes tstats on _internal go wrong?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/what-makes-tstats-on-internal-go-wrong/m-p/572133#M10445</link>
      <description>&lt;P&gt;Which splunk version? I've hit an issue that appears to be a known issue with tstats and the internal index in 8.2.2...&lt;/P&gt;</description>
      <pubDate>Sun, 24 Oct 2021 05:49:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/what-makes-tstats-on-internal-go-wrong/m-p/572133#M10445</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2021-10-24T05:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: what makes tstats on _internal go wrong?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/what-makes-tstats-on-internal-go-wrong/m-p/572281#M10453</link>
      <description>&lt;P&gt;I'm on 8.2.2 as well.&lt;BR /&gt;If the problem is really just _internal, I'm not super concerned.&amp;nbsp; But it really makes me uncomfortable that there might be errors with other indexes.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 14:10:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/what-makes-tstats-on-internal-go-wrong/m-p/572281#M10453</guid>
      <dc:creator>MonkeyK</dc:creator>
      <dc:date>2021-10-25T14:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: what makes tstats on _internal go wrong?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/what-makes-tstats-on-internal-go-wrong/m-p/572332#M10457</link>
      <description>&lt;P&gt;It's a known issue but not currently listed on&amp;nbsp; the known issues page (I have an active support case open on it).&lt;/P&gt;&lt;P&gt;I did ask why it's not on the known issues page, I'll ask support again for it to be listed...&lt;/P&gt;&lt;P&gt;Basically for tstats on the internal index you can add&amp;nbsp;include_reduced_buckets=t, and that should make your results accurate.&lt;/P&gt;&lt;P&gt;However I found this made the search dramatically slower so it was better to not use tstats, they haven't provided a version with a bugfix yet...&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 20:26:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/what-makes-tstats-on-internal-go-wrong/m-p/572332#M10457</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2021-10-25T20:26:15Z</dc:date>
    </item>
  </channel>
</rss>

