<?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: Search for events that have not happened in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Search-for-events-that-have-not-happened/m-p/78149#M15983</link>
    <description>&lt;P&gt;Well more generally you want to see anywhere where there's a delta between _indexTime and _time  If both sides respect DST there's no issue.  If only one respects DST there'll be a persistent delta suddenly,  and if they're slightly off there'll be a delta for some small slice of time and then it'll go away.  And in each case which direction the delta goes depends on which side is observing DST and which is not.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2010 05:04:25 GMT</pubDate>
    <dc:creator>sideview</dc:creator>
    <dc:date>2010-10-28T05:04:25Z</dc:date>
    <item>
      <title>Search for events that have not happened</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-for-events-that-have-not-happened/m-p/78145#M15979</link>
      <description>&lt;P&gt;When we 'fall back' one hour for Daylight Savings Time, I'd like to run a search that would reveal those log sources that didn't adjust correctly (their event timestamps will be one hour in the future.)  What might the syntax for such a search look like?  Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2010 01:21:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-for-events-that-have-not-happened/m-p/78145#M15979</guid>
      <dc:creator>sheltonr</dc:creator>
      <dc:date>2010-10-27T01:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Search for events that have not happened</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-for-events-that-have-not-happened/m-p/78146#M15980</link>
      <description>&lt;P&gt;The way I've usually seen this done is to compare _time to _indextime.  &lt;/P&gt;

&lt;P&gt;_time is the time extracted from the event's text, as the number of seconds since 1970&lt;/P&gt;

&lt;P&gt;_indextime is the time the event was indexed, according to the local system clock (also number of seconds since 1970). &lt;/P&gt;

&lt;P&gt;so if you use eval to look for this difference you should have what you need.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2010 01:25:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-for-events-that-have-not-happened/m-p/78146#M15980</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2010-10-27T01:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Search for events that have not happened</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-for-events-that-have-not-happened/m-p/78147#M15981</link>
      <description>&lt;P&gt;This assumes that your Splunk servers' clocks are affected by DST &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2010 23:43:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-for-events-that-have-not-happened/m-p/78147#M15981</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2010-10-27T23:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Search for events that have not happened</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-for-events-that-have-not-happened/m-p/78148#M15982</link>
      <description>&lt;P&gt;Ah, the nefarious "future event".&lt;/P&gt;

&lt;P&gt;For a lightweight approach, how about:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=hosts | eval now = now() | where latestTime &amp;gt; now
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Oct 2010 23:45:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-for-events-that-have-not-happened/m-p/78148#M15982</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2010-10-27T23:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Search for events that have not happened</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-for-events-that-have-not-happened/m-p/78149#M15983</link>
      <description>&lt;P&gt;Well more generally you want to see anywhere where there's a delta between _indexTime and _time  If both sides respect DST there's no issue.  If only one respects DST there'll be a persistent delta suddenly,  and if they're slightly off there'll be a delta for some small slice of time and then it'll go away.  And in each case which direction the delta goes depends on which side is observing DST and which is not.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2010 05:04:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-for-events-that-have-not-happened/m-p/78149#M15983</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2010-10-28T05:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Search for events that have not happened</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-for-events-that-have-not-happened/m-p/78150#M15984</link>
      <description>&lt;P&gt;How well does the search "| metadata type=hosts | eval now = now() | where latestTime &amp;gt; now" work in a scheduled search? I seem to get a huge load of results for hosts off by as much as 2-3 minutes because of what - now() evaluates to when the search is scheduled to run? If I run the search manually, e.g. over the past hour, it seems to return accurate results.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2010 21:22:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-for-events-that-have-not-happened/m-p/78150#M15984</guid>
      <dc:creator>cudgel</dc:creator>
      <dc:date>2010-11-04T21:22:39Z</dc:date>
    </item>
  </channel>
</rss>

