<?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: find all events of type X that do not have an event of type Y within 1 minute on either side in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171479#M49120</link>
    <description>&lt;P&gt;There's really not a lot to go on - the events basically look like this:&lt;/P&gt;

&lt;P&gt;timestamp "No valid access for "&lt;BR /&gt;
timestamp "Error while reloading"&lt;/P&gt;

&lt;P&gt;So the question is: How do I find all instances of "No valid access for" that do not have an instance of "Error while reloading" within 1 minute (past or future) of them?&lt;/P&gt;</description>
    <pubDate>Mon, 04 May 2015 08:25:32 GMT</pubDate>
    <dc:creator>noah10</dc:creator>
    <dc:date>2015-05-04T08:25:32Z</dc:date>
    <item>
      <title>find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171477#M49118</link>
      <description>&lt;P&gt;I'm new to Splunk and trying to figure out how to find all events of type X that do NOT have an event of type Y within 1 minute (before or after) of them. I found &lt;A href="http://answers.splunk.com/answers/137069/find-all-events-not-having-a-corresponding-event-matched-by-one-fields-value-where-not-exists.html"&gt;http://answers.splunk.com/answers/137069/find-all-events-not-having-a-corresponding-event-matched-by-one-fields-value-where-not-exists.html&lt;/A&gt; , but in my case the events have nothing to correlate them except for time, and I haven't been able to adapt the answer for that question to my case. Any suggestions about the best way to accomplish such a search?&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 07:52:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171477#M49118</guid>
      <dc:creator>noah10</dc:creator>
      <dc:date>2015-05-04T07:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171478#M49119</link>
      <description>&lt;P&gt;You should provide, if possible, some example events; otherwise it will be like asking the m-a-g-i-c glass ball for help &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 08:17:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171478#M49119</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-05-04T08:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171479#M49120</link>
      <description>&lt;P&gt;There's really not a lot to go on - the events basically look like this:&lt;/P&gt;

&lt;P&gt;timestamp "No valid access for "&lt;BR /&gt;
timestamp "Error while reloading"&lt;/P&gt;

&lt;P&gt;So the question is: How do I find all instances of "No valid access for" that do not have an instance of "Error while reloading" within 1 minute (past or future) of them?&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 08:25:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171479#M49120</guid>
      <dc:creator>noah10</dc:creator>
      <dc:date>2015-05-04T08:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171480#M49121</link>
      <description>&lt;P&gt;take a look at this answer &lt;A href="http://answers.splunk.com/answers/185829/how-to-create-a-custom-macro-function-inside-the-s.html"&gt;http://answers.splunk.com/answers/185829/how-to-create-a-custom-macro-function-inside-the-s.html&lt;/A&gt; to get an idea what can be done in your case. This answer is a complete different use case but you see what you can do by using &lt;CODE&gt;| eval 1min_ago = if(last_time &amp;gt; exact(relative_time(now(),"-2min@min")) AND last_time &amp;lt;= exact(relative_time(now(),"-1min@min")) , per_min_count ,"0")&lt;/CODE&gt; and do some further splunk-fu with it.&lt;/P&gt;

&lt;P&gt;I assume there is no need for running any &lt;CODE&gt;transaction&lt;/CODE&gt; nor any sub search &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 09:20:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171480#M49121</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-05-04T09:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171481#M49122</link>
      <description>&lt;P&gt;Hmmm... that looks like an interesting way to bucket by time, but I'm not clear how to combine that with my two eventtypes and yield results where one eventtype is null. Maybe this example will help:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=type_X | localize maxpause=2m | map search="search eventtype=type_Y starttimeu=$starttime$ endtimeu=$endtime$"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That query successfully buckets by time and returns events of type_Y that fall within two minutes of events of type_X. What I need is something that says "when the map clause returns 0 results, output the corresponding event of type_X". I tried using stats count | where to achieve that, but that (not too surprisingly) doesn't do what I want - it just outputs 0 results, presumably because I'm asking it to output events of type_Y where there are 0 events of type_Y.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:49:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171481#M49122</guid>
      <dc:creator>noah10</dc:creator>
      <dc:date>2020-09-28T19:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171482#M49123</link>
      <description>&lt;P&gt;Sorry, I don't have any Splunk instance handy currently ..... Just ping me if you cannot get it work and I have a look at it &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2015 09:11:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171482#M49123</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-05-05T09:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171483#M49124</link>
      <description>&lt;P&gt;I suspect the command that you will have to use is "streamstats".  My foggy brain has concluded that this can be done that way, but I have not taken the time to work out the search.&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2015 17:48:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171483#M49124</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-05-05T17:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171484#M49125</link>
      <description>&lt;P&gt;OK, I think I have it.  I had to turn your question inside out and do a search that asks, "Find type_y events that are at least 2 minutes apart and show any type_x events between them".  In other words, you asked your question backwards!&lt;BR /&gt;
Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=type_y 
| streamstats max(_time) as prevTime 
| eval myTime=_time 
| eval delta=myTime-prevTime 
| where delta &amp;lt;= 120 
| map maxsearches=10000 search="search eventtype=type_x _time&amp;lt;=$prevTime$ _time&amp;gt;=$mYtime$"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:50:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171484#M49125</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-09-28T19:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171485#M49126</link>
      <description>&lt;P&gt;Hmmm... I'm not sure this formulation is equivalent. Consider this example:&lt;/P&gt;

&lt;P&gt;10:19:19 type_x&lt;BR /&gt;
10:22:08 type_x&lt;BR /&gt;
10:22:47 type_y&lt;BR /&gt;
10:29:03 type_x&lt;BR /&gt;
10:37:14 type_x&lt;/P&gt;

&lt;P&gt;The query I'm looking for would return the type_x events from 10:19:19, 10:29:03 and 10:37:14 and would not return the type_x event from 10:22:08. The formulation "Find type_y events that are at least two minutes apart..." doesn't work here because there's only one type_y event in the range.&lt;/P&gt;

&lt;P&gt;If I understand your query correctly, though, it isn't actually finding type_y events that are two minutes apart - it's finding all type_y events, and then doing a subquery for type_x events that happened up to 2 minutes before the type_Y event. With a little tweaking that might work - I'll try it out and report back.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:45:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171485#M49126</guid>
      <dc:creator>noah10</dc:creator>
      <dc:date>2020-09-28T19:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171486#M49127</link>
      <description>&lt;P&gt;Ah, no I see I misread your query - it really is querying type_y events that are two minutes apart. Still tweaking to see if I can get what I'm looking for, though...&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 13:24:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171486#M49127</guid>
      <dc:creator>noah10</dc:creator>
      <dc:date>2015-05-06T13:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171487#M49128</link>
      <description>&lt;P&gt;OK, I realized that I forgot to discriminate one more time once I find values in the map.  This will work for sure:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=type_y
| streamstats current=f window=1 max(_time) as prevTime
| eval myTime=_time
| eval delta=myTime-prevTime
| where delta&amp;gt;120
| map maxsearches=10000 search="search eventtype=type_x earliest=$prevTime$ latest=$myTime$
| eval lowDelta=_time-$prevTime$
| eval highDelta=$mYtime$-_time
| where lowDelta&amp;gt;60 highDelta&amp;gt;60"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 May 2015 04:14:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171487#M49128</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-05-08T04:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171488#M49129</link>
      <description>&lt;P&gt;Now do it without the &lt;CODE&gt;map&lt;/CODE&gt; and I will accept the answer &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2015 04:01:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171488#M49129</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-05-11T04:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171489#M49130</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;How about finding the different time ranges for every occurance of X and then use this to find all the events which do not have the occurance of Y within specified time range (i.e. 1 min in your case). Following query can give you some idea:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal  [ search index=_internal   log_level="ERROR"  | eval latestTime = (strptime(strftime(_time,"%m/%d/%Y:%H:%M:%S"),"%m/%d/%Y:%H:%M:%S") + (1* 60) ) | eval earliestTime = (latestTime-(1 * 60)) | table latestTime earliestTime | eval QueryToken = "(earliest=".earliestTime." latest=".latestTime.") OR" | stats values(QueryToken) as QueryValues | makemv delim="||" QueryValues | eval QueryFilter = substr(QueryValues , 1, len(QueryValues)-3)  | return $QueryFilter] log_level!="WARNING" |chart count over _time by log_level usenull=f
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Following is the logic:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Search for events which has log_level as ERROR (using subsearch) (this is filer X). &lt;/LI&gt;
&lt;LI&gt;Find out the latest time and earliest time for every event ( 1 min early an 1 min later). &lt;/LI&gt;
&lt;LI&gt;Construct the dynamic query filter which will have the different earliest and latest times (depending on the events from point 1)&lt;/LI&gt;
&lt;LI&gt;Use this dynamic query along with log_level!="WARNING" filter (i.e. not Y filter) for the main search.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Hope this will help to solve the problem.&lt;/P&gt;

&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2015 06:02:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171489#M49130</guid>
      <dc:creator>vganjare</dc:creator>
      <dc:date>2015-05-11T06:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171490#M49131</link>
      <description>&lt;P&gt;I think the choice is between map and subsearch and map is better so why bother?&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2015 12:53:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171490#M49131</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-05-11T12:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171491#M49132</link>
      <description>&lt;P&gt;Because of this &lt;A href="http://answers.splunk.com/answers/129424/how-to-compare-fields-over-multiple-sourcetypes-without-join-append-or-use-of-subsearches.html"&gt;http://answers.splunk.com/answers/129424/how-to-compare-fields-over-multiple-sourcetypes-without-join-append-or-use-of-subsearches.html&lt;/A&gt; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2015 01:57:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171491#M49132</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-05-13T01:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171492#M49133</link>
      <description>&lt;P&gt;Yes, it makes &lt;EM&gt;my&lt;/EM&gt; point, not &lt;EM&gt;yours&lt;/EM&gt;: non-&lt;CODE&gt;subsearch&lt;/CODE&gt; (non-&lt;CODE&gt;join&lt;/CODE&gt;) options such as &lt;CODE&gt;stats&lt;/CODE&gt; + &lt;CODE&gt;map&lt;/CODE&gt; are generally preferable.  Does my answer work or not?&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2015 04:36:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171492#M49133</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-05-13T04:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171493#M49134</link>
      <description>&lt;P&gt;OK - After playing with it for a while I came up with this, which seems to work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=type_y 
| sort _time 
| streamstats current=f window=1 max(_time) as prevTime 
| eval myTime=_time 
| eval delta=myTime-prevTime 
| where delta&amp;gt;120 
| map search="search eventtype=type_x earliest=$prevTime$ latest=$myTime$ 
| eval lowDelta=_time-$prevTime$ 
| eval highDelta=$myTime$-_time 
| where lowDelta&amp;gt;60 highDelta&amp;gt;60"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Pretty close to the above, obviously, although the sort _time clause and the current=f window=1 params for the streamstats clause are critical to make sure that delta actually turns out as expected. Thanks for all of the help, everyone - this turned out to be much more complicated than I originally thought!&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2015 11:35:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171493#M49134</guid>
      <dc:creator>noah10</dc:creator>
      <dc:date>2015-05-21T11:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171494#M49135</link>
      <description>&lt;P&gt;I am glad it was close enough for you to adjust to perfection without too much hassle.&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2015 01:47:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171494#M49135</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-05-24T01:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171495#M49136</link>
      <description>&lt;P&gt;This isn't going to work how you think it is. Namely, returning multiple earliest and latest values from a subsearch doesn't cause the parent search to look at multiple earliest and latest segments. Searches span a single time range each. Therefore only one earliest and latest winds up being effective.&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2015 02:30:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171495#M49136</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2015-05-24T02:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: find all events of type X that do not have an event of type Y within 1 minute on either side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171496#M49137</link>
      <description>&lt;P&gt;When I run the query above I get the following error:&lt;/P&gt;

&lt;P&gt;"Error in 'map': Did not find value for required attribute 'prevTime'."&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 18:05:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/find-all-events-of-type-X-that-do-not-have-an-event-of-type-Y/m-p/171496#M49137</guid>
      <dc:creator>jwalzerpitt</dc:creator>
      <dc:date>2016-06-01T18:05:49Z</dc:date>
    </item>
  </channel>
</rss>

