<?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: Unable to use tstats against child dataset in a datamodel in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Unable-to-use-tstats-against-child-dataset-in-a-datamodel/m-p/480176#M7672</link>
    <description>&lt;P&gt;Yes, I've seen that, too.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Apr 2020 12:15:36 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-04-27T12:15:36Z</dc:date>
    <item>
      <title>Unable to use tstats against child dataset in a datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Unable-to-use-tstats-against-child-dataset-in-a-datamodel/m-p/480173#M7669</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;I am unable to run tstats command against the sub-dataset in a datamodel. Whenever I try to, it throws below error:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Error in 'DataModelCache': Invalid or unaccelerable root object for datamodel
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I am not even using the summariesonly in my query for the Datamodels to be accelerated. (Its accelerated though..!!).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;| from datamodel:Intrusion_Detection.Network_IDS_Attacks | stats count
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Above query gives me right answer, however when I use tstats like in below query, it all goes haywire.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;| tstats count from datamodel=Intrusion_Detection.Network_IDS_Attacks
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Could someone point out to me what is it I'm doing wrong?&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 16:32:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Unable-to-use-tstats-against-child-dataset-in-a-datamodel/m-p/480173#M7669</guid>
      <dc:creator>harishbenne2</dc:creator>
      <dc:date>2020-06-07T16:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use tstats against child dataset in a datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Unable-to-use-tstats-against-child-dataset-in-a-datamodel/m-p/480174#M7670</link>
      <description>&lt;P&gt;Use &lt;CODE&gt;nodename&lt;/CODE&gt;.  This option is buried in the &lt;CODE&gt;tstats&lt;/CODE&gt; docs.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count from datamodel=Intrusion_Detection where nodename=Intrusion_Detection.Network_IDS_Attacks
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Apr 2020 14:50:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Unable-to-use-tstats-against-child-dataset-in-a-datamodel/m-p/480174#M7670</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-17T14:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use tstats against child dataset in a datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Unable-to-use-tstats-against-child-dataset-in-a-datamodel/m-p/480175#M7671</link>
      <description>&lt;P&gt;So, I've noticed that this does not work for the Endpoint datamodel. For Endpoint, it has to be datamodel=Endpoint. without a nodename. It seems to be the only datamodel that this is occurring for at this time. Is this an issue that you've come across? &lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 18:27:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Unable-to-use-tstats-against-child-dataset-in-a-datamodel/m-p/480175#M7671</guid>
      <dc:creator>kprior201_lilly</dc:creator>
      <dc:date>2020-04-23T18:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use tstats against child dataset in a datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Unable-to-use-tstats-against-child-dataset-in-a-datamodel/m-p/480176#M7672</link>
      <description>&lt;P&gt;Yes, I've seen that, too.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 12:15:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Unable-to-use-tstats-against-child-dataset-in-a-datamodel/m-p/480176#M7672</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-27T12:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use tstats against child dataset in a datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Unable-to-use-tstats-against-child-dataset-in-a-datamodel/m-p/480177#M7673</link>
      <description>&lt;P&gt;But I see it on all the datamodels when I try to work with the child datasets. the nodename works to an extent, but not completely. &lt;/P&gt;

&lt;P&gt;I do not know why it doesn't work anymore.&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 19:35:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Unable-to-use-tstats-against-child-dataset-in-a-datamodel/m-p/480177#M7673</guid>
      <dc:creator>harishbenne2</dc:creator>
      <dc:date>2020-05-05T19:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use tstats against child dataset in a datamodel</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Unable-to-use-tstats-against-child-dataset-in-a-datamodel/m-p/480178#M7674</link>
      <description>&lt;P&gt;I have a support ticket open about this, and below is the latest update. Basically, there is a discrepancy between the way tstats works with the different combinations of events/search definitions in data models. Splunk has a JIRA ticket open to address this discrepancy, but no resolution is defined as of yet.&lt;/P&gt;

&lt;P&gt;"As we discuss with my colleague as well the tstats searches against accelerated DMs relying on a Root Search Dataset, but part of a Mixed Model (which means that it contains at least also one Root Event Dataset will always fail regardless if the constraint search is or is NOT a streaming search, as this is currently not supported.&lt;BR /&gt;
Basically this is what happens on our case and the SPL ticket states.&lt;/P&gt;

&lt;P&gt;Here is the SPL ticket in case you want to verify SPL-167885.&lt;/P&gt;

&lt;P&gt;As we saw other option to add using in the search are using the "| datamodel" or the "| from" command.&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/SearchReference/Datamodel"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/SearchReference/Datamodel&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/SearchReference/From"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/SearchReference/From&lt;/A&gt; "&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 13:44:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Unable-to-use-tstats-against-child-dataset-in-a-datamodel/m-p/480178#M7674</guid>
      <dc:creator>kprior201_lilly</dc:creator>
      <dc:date>2020-05-06T13:44:27Z</dc:date>
    </item>
  </channel>
</rss>

