<?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 Is the time range for search inclusive or exclusive in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-the-time-range-for-search-inclusive-or-exclusive/m-p/218757#M64305</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;When I search using the Python API and provide &lt;CODE&gt;earliest_time&lt;/CODE&gt; and &lt;CODE&gt;latest_time&lt;/CODE&gt;, I guess it is an inclusive range, but can anyone confirm with documentation?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2016 20:17:00 GMT</pubDate>
    <dc:creator>rajiv_abraham</dc:creator>
    <dc:date>2016-08-08T20:17:00Z</dc:date>
    <item>
      <title>Is the time range for search inclusive or exclusive</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-the-time-range-for-search-inclusive-or-exclusive/m-p/218757#M64305</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;When I search using the Python API and provide &lt;CODE&gt;earliest_time&lt;/CODE&gt; and &lt;CODE&gt;latest_time&lt;/CODE&gt;, I guess it is an inclusive range, but can anyone confirm with documentation?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 20:17:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-the-time-range-for-search-inclusive-or-exclusive/m-p/218757#M64305</guid>
      <dc:creator>rajiv_abraham</dc:creator>
      <dc:date>2016-08-08T20:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is the time range for search inclusive or exclusive</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-the-time-range-for-search-inclusive-or-exclusive/m-p/218758#M64306</link>
      <description>&lt;P&gt;Earliest is inclusive, latest is exclusive. In math terms, &lt;CODE&gt;[earliest, latest)&lt;/CODE&gt;.&lt;BR /&gt;
It has to be one of each, else events would be missed or doubled if you schedule a search over an hour time range every hour.&lt;BR /&gt;
Logically, &lt;CODE&gt;-d@d&lt;/CODE&gt; to &lt;CODE&gt;@d&lt;/CODE&gt; then gives you "everything with a date of yesterday and any time" - sounds very sane to me.&lt;/P&gt;

&lt;P&gt;The docs aren't very explicit on that, the bottom example backs this up here though: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Search/Specifytimemodifiersinyoursearch#Examples_of_searches_with_relative_time_modifiers"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/Search/Specifytimemodifiersinyoursearch#Examples_of_searches_with_relative_time_modifiers&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 20:41:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-the-time-range-for-search-inclusive-or-exclusive/m-p/218758#M64306</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-08-08T20:41:58Z</dc:date>
    </item>
  </channel>
</rss>

