<?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 Why is tstats not working on docker image datasets? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-tstats-not-working-on-docker-image-datasets/m-p/656682#M226807</link>
    <description>&lt;P&gt;I'm totally and utterly new to splunk. Just ran the dockerhub sample, and followed the instructions:&amp;nbsp;&lt;A href="https://hub.docker.com/r/splunk/splunk/" target="_blank" rel="noopener"&gt;https://hub.docker.com/r/splunk/splunk/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I opened the search tab and most search commands seem to work fine.&amp;nbsp; For example, the following command:&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;| from datamodel:"internal_server.server"
| stats count&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;Returns a count of 33350.&lt;/P&gt;
&lt;P&gt;While this command:&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 from datamodel:"internal_server.server"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as well as this one:&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&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;both return zero.&lt;/P&gt;
&lt;P&gt;How can I get tstats working in this docker env with the sample datasets?&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2023 19:46:20 GMT</pubDate>
    <dc:creator>joniba</dc:creator>
    <dc:date>2023-09-05T19:46:20Z</dc:date>
    <item>
      <title>Why is tstats not working on docker image datasets?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-tstats-not-working-on-docker-image-datasets/m-p/656682#M226807</link>
      <description>&lt;P&gt;I'm totally and utterly new to splunk. Just ran the dockerhub sample, and followed the instructions:&amp;nbsp;&lt;A href="https://hub.docker.com/r/splunk/splunk/" target="_blank" rel="noopener"&gt;https://hub.docker.com/r/splunk/splunk/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I opened the search tab and most search commands seem to work fine.&amp;nbsp; For example, the following command:&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;| from datamodel:"internal_server.server"
| stats count&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;Returns a count of 33350.&lt;/P&gt;
&lt;P&gt;While this command:&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 from datamodel:"internal_server.server"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as well as this one:&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&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;both return zero.&lt;/P&gt;
&lt;P&gt;How can I get tstats working in this docker env with the sample datasets?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 19:46:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-tstats-not-working-on-docker-image-datasets/m-p/656682#M226807</guid>
      <dc:creator>joniba</dc:creator>
      <dc:date>2023-09-05T19:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why is tstats not working on docker image datasets?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-tstats-not-working-on-docker-image-datasets/m-p/656726#M226826</link>
      <description>&lt;P&gt;I don't know what dataset you're working with but the first thing that comes to mind is that your datamodel is not accelerated. If you don't have accelerated summaries, tstats has nothing to operate on.&lt;/P&gt;&lt;P&gt;And it's completely irrelevant if it's a docker image, VM or bare metal install.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 20:36:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-tstats-not-working-on-docker-image-datasets/m-p/656726#M226826</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-09-05T20:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why is tstats not working on docker image datasets?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-tstats-not-working-on-docker-image-datasets/m-p/656798#M226855</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;, I went into the settings for the dataset and enabled acceleration (via Edit Acceleration). Also the dataset shows up as accelerated in the list of datasets. Shouldn't that have resolved the issue?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also, why do you say it's irrelevant on a docker image? Is it not supposed to work on docker?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know of any documentation describing this?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 10:25:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-tstats-not-working-on-docker-image-datasets/m-p/656798#M226855</guid>
      <dc:creator>joniba</dc:creator>
      <dc:date>2023-09-06T10:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why is tstats not working on docker image datasets?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-tstats-not-working-on-docker-image-datasets/m-p/656804#M226856</link>
      <description>&lt;P&gt;OK. The tstats command has a bit different way of specifying dataset than the from command.&lt;/P&gt;&lt;P&gt;So you should be doing&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats count from datamodel=internal_server.server&lt;/LI-CODE&gt;&lt;P&gt;And it's irrelevant whether it's a docker container or any other way of deploying Splunk because the commands work the same way regardless of how the software is deployed.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 10:54:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-tstats-not-working-on-docker-image-datasets/m-p/656804#M226856</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-09-06T10:54:29Z</dc:date>
    </item>
  </channel>
</rss>

