<?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 summariesonly=t gets no results on accelerated data models in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355202#M105102</link>
    <description>&lt;P&gt;Try removing part of the datamodel objects in the search.  so try&lt;/P&gt;

&lt;P&gt;| tstats &lt;CODE&gt;summariesonly&lt;/CODE&gt; count from datamodel=Network_Traffic where * by All_Traffic.src&lt;/P&gt;

&lt;P&gt;Instead of:&lt;/P&gt;

&lt;P&gt;| tstats &lt;CODE&gt;summariesonly&lt;/CODE&gt; count from datamodel=Network_Traffic.All_Traffic where * by All_Traffic.src&lt;/P&gt;

&lt;P&gt;Let meknow if that work. &lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 23:55:24 GMT</pubDate>
    <dc:creator>khowson</dc:creator>
    <dc:date>2020-09-29T23:55:24Z</dc:date>
    <item>
      <title>tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355187#M105087</link>
      <description>&lt;P&gt;I have installed the CIM app done all of the event typing and tagging to get my data into the data models relevant to my environment.  I have accelerated those data models.  It's a clustered environment with six indexers and a single search head.&lt;/P&gt;

&lt;P&gt;If I run the tstats command with the summariesonly=t, I always get no results.  &lt;/P&gt;

&lt;P&gt;I've looked in the internal logs to see if there are any errors or warnings around acceleration or the name of the data model, but all I see are the successful searches that show the execution time and amount of events discovered.&lt;/P&gt;

&lt;P&gt;Any ideas on how to troubleshoot this?  I'd prefer for my dashboards to run only of the TSIDX data rather than raw events.&lt;/P&gt;

&lt;P&gt;Thx.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2018 18:49:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355187#M105087</guid>
      <dc:creator>responsys_cm</dc:creator>
      <dc:date>2018-02-03T18:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355188#M105088</link>
      <description>&lt;P&gt;Have you checked the status of the acceleration?&lt;/P&gt;

&lt;P&gt;Settings -&amp;gt; Data models -&amp;gt; Expand arrow next to the datamodel in question&lt;/P&gt;

&lt;P&gt;Under "Acceleration" you should see statistics relevant to the acceleration of this specific datamodel, including percent complete.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2018 20:15:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355188#M105088</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-02-03T20:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355189#M105089</link>
      <description>&lt;P&gt;They're stuck at "Building" with zero disk space usage.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 19:55:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355189#M105089</guid>
      <dc:creator>responsys_cm</dc:creator>
      <dc:date>2018-02-05T19:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355190#M105090</link>
      <description>&lt;P&gt;The datamodels haven't been summarized, likely due to not having matched events to summarize, so searching with &lt;CODE&gt;summariesonly=true&lt;/CODE&gt; is expected to return zero results.&lt;/P&gt;

&lt;P&gt;Have you tried searching the data without &lt;CODE&gt;summariesonly=true&lt;/CODE&gt; or via &lt;CODE&gt;datamodel &amp;lt;datamodel name&amp;gt; search&lt;/CODE&gt; to see if it seems like the datamodel actually finds any data?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 20:03:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355190#M105090</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-02-05T20:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355191#M105091</link>
      <description>&lt;P&gt;Using | datamodel bla bla search returns results.  As does searching without summariesonly=true and tstats.&lt;/P&gt;

&lt;P&gt;We enabled acceleration on these data models a while back, so something else is the issue...&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 20:20:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355191#M105091</guid>
      <dc:creator>responsys_cm</dc:creator>
      <dc:date>2018-02-05T20:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355192#M105092</link>
      <description>&lt;P&gt;I think the issue is that the backfill value is too high and the searches are timing out before the initial acceleration.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 23:33:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355192#M105092</guid>
      <dc:creator>responsys_cm</dc:creator>
      <dc:date>2018-02-05T23:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355193#M105093</link>
      <description>&lt;P&gt;you can search an datamodel without the acceleration built out, which is why the tstats and datamodel commands bring back data. what summary range are you accelerating? are you using Parallel summarization?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 12:56:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355193#M105093</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2018-02-06T12:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355194#M105094</link>
      <description>&lt;P&gt;Can you include your search strings for both the working and non-working searches?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 14:41:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355194#M105094</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-02-06T14:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355195#M105095</link>
      <description>&lt;P&gt;Here is what I see in the logs for the Change Analysis data model:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;02-06-2018 17:12:17.529 +0000 INFO  SavedSplunker - savedsearch_id="nobody;Splunk_SA_CIM;_ACCELERATE_DM_Splunk_SA_CIM_Change_Analysis_ACCELERATE_", search_type="datamodel_acceleration", user="nobody", app="Splunk_SA_CIM", savedsearch_name="_ACCELERATE_DM_Splunk_SA_CIM_Change_Analysis_ACCELERATE_", priority=highest, status=success, digest_mode=1, scheduled_time=1517937120, window_time=0, dispatch_time=1517937120, run_time=0.492, result_count=0, alert_actions="", sid="scheduler__nobody_U3BsdW5rX1NBX0NJTQ__RMD554b34bdbf03a626a_at_1517937120_10599", suppressed=0, thread_id="AlertNotifierWorker-2"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It runs every 5 minutes, but the result count is always zero.&lt;/P&gt;

&lt;P&gt;Yet &lt;CODE&gt;| datamodel Change_Analysis search earliest=-5m@m&lt;/CODE&gt; returns several hundred results.&lt;/P&gt;

&lt;P&gt;I have the backfill period set to 1 day and the timeout for the acceleration search is set to 86400 seconds.  Parallelization is set to the default of 3.&lt;/P&gt;

&lt;P&gt;This search works: &lt;CODE&gt;| tstats prestats=t count(Malware_Attacks.signature) FROM datamodel="Malware" BY _time span=1d&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This does not: &lt;CODE&gt;| tstats summariesonly =t prestats=t count(Malware_Attacks.signature) FROM datamodel="Malware" BY _time span=1d&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 17:25:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355195#M105095</guid>
      <dc:creator>responsys_cm</dc:creator>
      <dc:date>2018-02-06T17:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355196#M105096</link>
      <description>&lt;P&gt;Hi  @responsys_cm,&lt;/P&gt;

&lt;P&gt;You are not getting any data in &lt;CODE&gt;tstats&lt;/CODE&gt; search &lt;STRONG&gt;with&lt;/STRONG&gt; and &lt;STRONG&gt;without&lt;/STRONG&gt; &lt;CODE&gt;summariesonly&lt;/CODE&gt;, right? &lt;BR /&gt;
Well I assume you did all configuration check from data model side So is it possible to validate event side configurations? Can you please check it by executing search from constraint in data model, with each level (if any). This will return error if any. If it is then it would be cause to make data model in building state(Not build state) . Verify the &lt;CODE&gt;eventtype&lt;/CODE&gt; and &lt;CODE&gt;tag&lt;/CODE&gt; by executing search if it is used in any constraint.  I hope this will help you.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 06:16:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355196#M105096</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2018-02-07T06:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355197#M105097</link>
      <description>&lt;P&gt;With summariesonly=t, I get nothing.  Without summariesonly=t, I get results.&lt;/P&gt;

&lt;P&gt;The problem seems to be that when the acceleration searches run, they find no results.  And yet | datamodel XXXX search does.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 17:04:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355197#M105097</guid>
      <dc:creator>responsys_cm</dc:creator>
      <dc:date>2018-02-07T17:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355198#M105098</link>
      <description>&lt;P&gt;summariesonly=t flag, this tells the data model only to look at existing accelerated data (tsidx data) that has been automatically generated by the acceleration and non-summarized data will not be provided&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 17:21:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355198#M105098</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-07T17:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355199#M105099</link>
      <description>&lt;P&gt;Without &lt;CODE&gt;summariesonly=t&lt;/CODE&gt; you get results. Well means the datamodel don't have any accelerated data as @493669 mentioned.  @responsys_cm can you please let us know the acceleration period and the volume of events for that particular period?  As you mentioned above, your data-model is stuck in building state So might be this information helpful to us.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 18:40:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355199#M105099</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2018-02-07T18:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355200#M105100</link>
      <description>&lt;P&gt;For the high volume data sources (tens of millions of daily events), I've tried setting the backfill to only be a day.  For the lower volume ones with periodic data, like vulnerability scans, those are set to a week.&lt;/P&gt;

&lt;P&gt;But even the data models that have a relatively small amount of data and a modest backfill aren't accelerating...&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 19:30:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355200#M105100</guid>
      <dc:creator>responsys_cm</dc:creator>
      <dc:date>2018-02-07T19:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355201#M105101</link>
      <description>&lt;P&gt;@responsys_cm  I am having the same issue. Any luck for you in fixing this?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2018 15:47:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355201#M105101</guid>
      <dc:creator>graju89</dc:creator>
      <dc:date>2018-11-01T15:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355202#M105102</link>
      <description>&lt;P&gt;Try removing part of the datamodel objects in the search.  so try&lt;/P&gt;

&lt;P&gt;| tstats &lt;CODE&gt;summariesonly&lt;/CODE&gt; count from datamodel=Network_Traffic where * by All_Traffic.src&lt;/P&gt;

&lt;P&gt;Instead of:&lt;/P&gt;

&lt;P&gt;| tstats &lt;CODE&gt;summariesonly&lt;/CODE&gt; count from datamodel=Network_Traffic.All_Traffic where * by All_Traffic.src&lt;/P&gt;

&lt;P&gt;Let meknow if that work. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:55:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355202#M105102</guid>
      <dc:creator>khowson</dc:creator>
      <dc:date>2020-09-29T23:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355203#M105103</link>
      <description>&lt;P&gt;If it doesn't work with &lt;CODE&gt;summariesonly=f&lt;/CODE&gt; then it never will with &lt;CODE&gt;summariesonly=t&lt;/CODE&gt;.  You have to ensure that you did your CIM-mapping correctly and it sounds like you did not.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 04:59:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355203#M105103</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-04-02T04:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: tstats summariesonly=t gets no results on accelerated data models</title>
      <link>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355204#M105104</link>
      <description>&lt;P&gt;You're missing the point. That's okay. &lt;/P&gt;

&lt;P&gt;It does work with summariesonly=f. The issue is with summariesonly=true and the path the data is contained on the indexer. &lt;/P&gt;

&lt;P&gt;This does not work:&lt;BR /&gt;
| tstats summariesonly=true count from datamodel=Network_Traffic.All_Traffic where * by All_Traffic.src&lt;/P&gt;

&lt;P&gt;however this does:&lt;BR /&gt;
| tstats summariesonly=true count from datamodel=Network_Traffic where * by All_Traffic.src&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:01:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/tstats-summariesonly-t-gets-no-results-on-accelerated-data/m-p/355204#M105104</guid>
      <dc:creator>khowson</dc:creator>
      <dc:date>2020-09-30T00:01:07Z</dc:date>
    </item>
  </channel>
</rss>

