<?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: Accelerated data model and _indextime field in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Accelerated-data-model-and-indextime-field/m-p/462820#M7449</link>
    <description>&lt;P&gt;@simpkins1958 did you ever get this to work? I am currently running into the same problem. &lt;/P&gt;</description>
    <pubDate>Fri, 24 Jan 2020 20:09:38 GMT</pubDate>
    <dc:creator>ninjaunicorn101</dc:creator>
    <dc:date>2020-01-24T20:09:38Z</dc:date>
    <item>
      <title>Accelerated data model and _indextime field</title>
      <link>https://community.splunk.com/t5/Reporting/Accelerated-data-model-and-indextime-field/m-p/462817#M7446</link>
      <description>&lt;P&gt;We have an accelerated data model and would like to be able to use a where clause from TSTATS that includes:&lt;/P&gt;

&lt;P&gt;_index_earliest=-h@h AND _index_latest=@h&lt;/P&gt;

&lt;P&gt;_indextime does seem to be a field that is available in the DMA. But trying to use the where clause above does not work.&lt;/P&gt;

&lt;P&gt;We want to generate TSTATS values for events that have been indexed in the previous hour.&lt;/P&gt;

&lt;P&gt;Here is the full SPL:&lt;BR /&gt;
    | tstats &lt;BR /&gt;
        min(_time) as _time &lt;BR /&gt;
        sum(nmds_app_dest_survey.bytes) as bytes &lt;BR /&gt;
        sum(nmds_app_dest_survey.flow_count) as flow_count &lt;BR /&gt;
        FROM datamodel=nmdm_app_dest_survey &lt;BR /&gt;
        WHERE _index_earliest=-h@h AND _index_latest=@h&lt;BR /&gt;
        BY nmds_app_dest_survey.dest_and_port&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:54:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Accelerated-data-model-and-indextime-field/m-p/462817#M7446</guid>
      <dc:creator>simpkins1958</dc:creator>
      <dc:date>2020-09-30T01:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerated data model and _indextime field</title>
      <link>https://community.splunk.com/t5/Reporting/Accelerated-data-model-and-indextime-field/m-p/462818#M7447</link>
      <description>&lt;P&gt;if you switch this to  |tstats _index_earliest=-h@h AND _index_latest=@h&lt;BR /&gt;
and remove the where condition, does it work?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:54:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Accelerated-data-model-and-indextime-field/m-p/462818#M7447</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2020-09-30T01:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerated data model and _indextime field</title>
      <link>https://community.splunk.com/t5/Reporting/Accelerated-data-model-and-indextime-field/m-p/462819#M7448</link>
      <description>&lt;P&gt;No. That does not work either.&lt;BR /&gt;
Error in 'stats' command: The argument '_index_earliest=-h@h' is invalid.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:54:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Accelerated-data-model-and-indextime-field/m-p/462819#M7448</guid>
      <dc:creator>simpkins1958</dc:creator>
      <dc:date>2020-09-30T01:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerated data model and _indextime field</title>
      <link>https://community.splunk.com/t5/Reporting/Accelerated-data-model-and-indextime-field/m-p/462820#M7449</link>
      <description>&lt;P&gt;@simpkins1958 did you ever get this to work? I am currently running into the same problem. &lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 20:09:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Accelerated-data-model-and-indextime-field/m-p/462820#M7449</guid>
      <dc:creator>ninjaunicorn101</dc:creator>
      <dc:date>2020-01-24T20:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerated data model and _indextime field</title>
      <link>https://community.splunk.com/t5/Reporting/Accelerated-data-model-and-indextime-field/m-p/462821#M7450</link>
      <description>&lt;P&gt;At this time _indextime fields are not included in the datamodel accelerations. I imagine this is due to optimization with regards to both disk space and memory usage during the acceleration process. &lt;/P&gt;

&lt;P&gt;If you are interested in having a field that tracks the time the accelerated event gets written to disk, then I encourage you to submit the idea to the ideas portal at &lt;A href="https://ideas.splunk.com/"&gt;https://ideas.splunk.com/&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 20:24:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Accelerated-data-model-and-indextime-field/m-p/462821#M7450</guid>
      <dc:creator>cstump_splunk</dc:creator>
      <dc:date>2020-04-10T20:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerated data model and _indextime field</title>
      <link>https://community.splunk.com/t5/Reporting/Accelerated-data-model-and-indextime-field/m-p/522667#M8485</link>
      <description>&lt;P&gt;Why don't you add a new field to your datamodel and assign it the _indextime value ?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 13:20:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Accelerated-data-model-and-indextime-field/m-p/522667#M8485</guid>
      <dc:creator>samsplunks</dc:creator>
      <dc:date>2020-10-02T13:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Accelerated data model and _indextime field</title>
      <link>https://community.splunk.com/t5/Reporting/Accelerated-data-model-and-indextime-field/m-p/685366#M12444</link>
      <description>&lt;P&gt;| tstats count WHERE index=_internal _index_earliest=-1h _index_latest=now&lt;BR /&gt;&lt;BR /&gt;Just set your time range for the search to be greater than the expected delay&lt;/P&gt;&lt;P&gt;* earliest_time = &lt;A href="mailto:-1d@d" target="_blank"&gt;-1d@d&lt;/A&gt;&lt;BR /&gt;* latest_time = &lt;A href="mailto:+60d@d" target="_blank"&gt;+60d@d&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 19:50:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Accelerated-data-model-and-indextime-field/m-p/685366#M12444</guid>
      <dc:creator>GreenFish</dc:creator>
      <dc:date>2024-04-24T19:50:18Z</dc:date>
    </item>
  </channel>
</rss>

