<?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: How do you pull data from a previous event? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-pull-data-from-a-previous-event/m-p/393683#M114462</link>
    <description>&lt;P&gt;Use &lt;CODE&gt;streamstats window=1&lt;/CODE&gt; to grab from the nearest "neighbor" &lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.3/SearchReference/Streamstats"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.3/SearchReference/Streamstats&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jan 2019 17:04:37 GMT</pubDate>
    <dc:creator>skoelpin</dc:creator>
    <dc:date>2019-01-08T17:04:37Z</dc:date>
    <item>
      <title>How do you pull data from a previous event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-pull-data-from-a-previous-event/m-p/393682#M114461</link>
      <description>&lt;P&gt;So here is what my Splunk data looks like... these 4 events are consistently sequential.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;›  1/7/19 1:02:11.211 PM    2019-01-07 14:02:11.211|Testing rule - Result:True
host = WTSXXXXX  sourcetype = VHT:HPIQ:VHT_QueueMonitorService 

›  1/7/19 1:02:11.208 PM    2019-01-07 14:02:11.208|Testing rule - Condition:   (FifoCallBacks &amp;lt;= 1) &amp;amp;&amp;amp; (OpMode == QSPEAK) 
host = WTSXXXXX  sourcetype = VHT:HPIQ:VHT_QueueMonitorService 

›  1/7/19 1:02:11.208 PM    2019-01-07 14:02:11.208|Testing rule - Description: VHT_Test Rule
host = WTSFCCMY  sourcetype = VHT:HPIQ:VHT_QueueMonitorService 

›  1/7/19 1:02:11.208 PM    2019-01-07 14:02:11.208|rule:  VHT_Test
host = WTSXXXXX  sourcetype = VHT:HPIQ:VHT_QueueMonitorService 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Once I find an event with ( results:True) then I need the pull the rule name in the last event (VHT_Test)&lt;/P&gt;

&lt;P&gt;So to clarify, when I find "result:True" I need to pull the rule name from the event 3 events prior.&lt;/P&gt;

&lt;P&gt;Really lost on how to do this. &lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 16:15:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-pull-data-from-a-previous-event/m-p/393682#M114461</guid>
      <dc:creator>muzicman61</dc:creator>
      <dc:date>2019-01-08T16:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do you pull data from a previous event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-pull-data-from-a-previous-event/m-p/393683#M114462</link>
      <description>&lt;P&gt;Use &lt;CODE&gt;streamstats window=1&lt;/CODE&gt; to grab from the nearest "neighbor" &lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.3/SearchReference/Streamstats"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.3/SearchReference/Streamstats&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 17:04:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-pull-data-from-a-previous-event/m-p/393683#M114462</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2019-01-08T17:04:37Z</dc:date>
    </item>
  </channel>
</rss>

