<?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: Get 10 minutes before 1 minute in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Get-10-minutes-before-1-minute/m-p/357231#M170077</link>
    <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;YOUR SEARCH HERE
| streamstats current=f window=10 sum(*count) AS sum_last_10_*count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 10 May 2018 05:10:46 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2018-05-10T05:10:46Z</dc:date>
    <item>
      <title>Get 10 minutes before 1 minute</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-10-minutes-before-1-minute/m-p/357228#M170074</link>
      <description>&lt;P&gt;If I search, I can see the count value of each field for one minute, and also want to know the sum count value 10 minutes before that.&lt;/P&gt;

&lt;P&gt;For example&lt;BR /&gt;
At FFM_count 2 on 20170101 00:15:00&lt;BR /&gt;
Please see the FFM_count sum from 201701 00:04 to 201701 00:14.&lt;/P&gt;

&lt;P&gt;Is it possible for a splunk to express this way?&lt;BR /&gt;
If possible, I'd like to know how.&lt;IMG src="https://community.splunk.com/storage/temp/240659-splunk1.jpg" alt="alt text" /&gt;&lt;IMG src="https://community.splunk.com/storage/temp/240660-splunk2.jpg" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:12:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-10-minutes-before-1-minute/m-p/357228#M170074</guid>
      <dc:creator>mkoh</dc:creator>
      <dc:date>2020-09-29T19:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Get 10 minutes before 1 minute</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-10-minutes-before-1-minute/m-p/357229#M170075</link>
      <description>&lt;P&gt;host=* source=* earliest=-10m latest=now (Try this in your query and let me know whether it helps) . For more reference . Go through the below link.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.3/SearchReference/SearchTimeModifiers"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.3/SearchReference/SearchTimeModifiers&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 04:43:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-10-minutes-before-1-minute/m-p/357229#M170075</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2018-04-24T04:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get 10 minutes before 1 minute</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-10-minutes-before-1-minute/m-p/357230#M170076</link>
      <description>&lt;P&gt;@mkoh - Do the above command helps you ..  &lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 05:52:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-10-minutes-before-1-minute/m-p/357230#M170076</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2018-04-27T05:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Get 10 minutes before 1 minute</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-10-minutes-before-1-minute/m-p/357231#M170077</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;YOUR SEARCH HERE
| streamstats current=f window=10 sum(*count) AS sum_last_10_*count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 May 2018 05:10:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-10-minutes-before-1-minute/m-p/357231#M170077</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-05-10T05:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get 10 minutes before 1 minute</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-10-minutes-before-1-minute/m-p/357232#M170078</link>
      <description>&lt;P&gt;Actually, I think that you need a &lt;CODE&gt;| reverse&lt;/CODE&gt; in there above the &lt;CODE&gt;| streamstats&lt;/CODE&gt; or you will be getting the 10 &lt;EM&gt;after&lt;/EM&gt;, not &lt;EM&gt;before&lt;/EM&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 05:25:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-10-minutes-before-1-minute/m-p/357232#M170078</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-05-10T05:25:00Z</dc:date>
    </item>
  </channel>
</rss>

