<?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 How can I correctly search (and send report on) the last 5 minutes on an index that's generated every 5 minutes? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-correctly-search-and-send-report-on-the-last-5-minutes/m-p/191530#M55160</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a summary that is being run with the following parameters:&lt;BR /&gt;
Start time (optional): -6m@m&lt;BR /&gt;
Finish time (optional): -1m@m&lt;BR /&gt;
Schedule type: Basic&lt;BR /&gt;
Run every: 5 minutes&lt;BR /&gt;
Condition: Always&lt;BR /&gt;
Summary indexing: checked (enabled)&lt;/P&gt;

&lt;P&gt;The summary looks after certain data in a large, main index. The search time is about 30 seconds.&lt;/P&gt;

&lt;P&gt;I want to send a report every 5 minutes based on a new search on the summary index above.&lt;/P&gt;

&lt;P&gt;Which is the best way to accomplish that without messing up the intervals? &lt;/P&gt;

&lt;P&gt;For example, I'm worried that if the indexing takes a little longer, the data will be incomplete in the report. Or, if the intervals aren't matched properly, I might run the query for the report over the previous indexing period.&lt;/P&gt;

&lt;P&gt;Can someone explain to me if my fears are well founded and point me to some documents describing the issue in more detail?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2015 09:31:57 GMT</pubDate>
    <dc:creator>mrg2k8</dc:creator>
    <dc:date>2015-05-20T09:31:57Z</dc:date>
    <item>
      <title>How can I correctly search (and send report on) the last 5 minutes on an index that's generated every 5 minutes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-correctly-search-and-send-report-on-the-last-5-minutes/m-p/191530#M55160</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a summary that is being run with the following parameters:&lt;BR /&gt;
Start time (optional): -6m@m&lt;BR /&gt;
Finish time (optional): -1m@m&lt;BR /&gt;
Schedule type: Basic&lt;BR /&gt;
Run every: 5 minutes&lt;BR /&gt;
Condition: Always&lt;BR /&gt;
Summary indexing: checked (enabled)&lt;/P&gt;

&lt;P&gt;The summary looks after certain data in a large, main index. The search time is about 30 seconds.&lt;/P&gt;

&lt;P&gt;I want to send a report every 5 minutes based on a new search on the summary index above.&lt;/P&gt;

&lt;P&gt;Which is the best way to accomplish that without messing up the intervals? &lt;/P&gt;

&lt;P&gt;For example, I'm worried that if the indexing takes a little longer, the data will be incomplete in the report. Or, if the intervals aren't matched properly, I might run the query for the report over the previous indexing period.&lt;/P&gt;

&lt;P&gt;Can someone explain to me if my fears are well founded and point me to some documents describing the issue in more detail?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2015 09:31:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-correctly-search-and-send-report-on-the-last-5-minutes/m-p/191530#M55160</guid>
      <dc:creator>mrg2k8</dc:creator>
      <dc:date>2015-05-20T09:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I correctly search (and send report on) the last 5 minutes on an index that's generated every 5 minutes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-correctly-search-and-send-report-on-the-last-5-minutes/m-p/191531#M55161</link>
      <description>&lt;P&gt;Hi mrg2k8&lt;/P&gt;

&lt;P&gt;I don't know if this help you but it worked for me.&lt;/P&gt;

&lt;P&gt;I used I savedsearch to generate every 5 min my own summary index adding at the end&lt;/P&gt;

&lt;P&gt;the commands &lt;/P&gt;

&lt;P&gt;|addinfo&lt;BR /&gt;
|eval _time = info_search_time   &amp;lt;&amp;lt;---- to add to all records the sime timestamp 5 min each time&lt;BR /&gt;
|table  xxx, yyyy, zzzz&lt;BR /&gt;
|collect index=mysummaryindex&lt;/P&gt;

&lt;P&gt;Then i used other search just to collect the events that i want. &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:55:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-correctly-search-and-send-report-on-the-last-5-minutes/m-p/191531#M55161</guid>
      <dc:creator>jmallorquin</dc:creator>
      <dc:date>2020-09-28T19:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can I correctly search (and send report on) the last 5 minutes on an index that's generated every 5 minutes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-correctly-search-and-send-report-on-the-last-5-minutes/m-p/191532#M55162</link>
      <description>&lt;P&gt;Thanks for the answer. I'll try it.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2015 12:46:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-correctly-search-and-send-report-on-the-last-5-minutes/m-p/191532#M55162</guid>
      <dc:creator>mrg2k8</dc:creator>
      <dc:date>2015-05-20T12:46:22Z</dc:date>
    </item>
  </channel>
</rss>

