<?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 Defining search timeframe from midnight to now in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Defining-search-timeframe-from-midnight-to-now/m-p/46379#M11099</link>
    <description>&lt;P&gt;We have situations where we just want to show what happened "today", which is defined as from Midnight to now.  That's easy to say in English, and it's easy to define latest=now, but I am having trouble figuring out what to specify as the 'earliest' value to get Splunk to understand midnight. &lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2011 23:52:34 GMT</pubDate>
    <dc:creator>beaumaris</dc:creator>
    <dc:date>2011-02-17T23:52:34Z</dc:date>
    <item>
      <title>Defining search timeframe from midnight to now</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Defining-search-timeframe-from-midnight-to-now/m-p/46379#M11099</link>
      <description>&lt;P&gt;We have situations where we just want to show what happened "today", which is defined as from Midnight to now.  That's easy to say in English, and it's easy to define latest=now, but I am having trouble figuring out what to specify as the 'earliest' value to get Splunk to understand midnight. &lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2011 23:52:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Defining-search-timeframe-from-midnight-to-now/m-p/46379#M11099</guid>
      <dc:creator>beaumaris</dc:creator>
      <dc:date>2011-02-17T23:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Defining search timeframe from midnight to now</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Defining-search-timeframe-from-midnight-to-now/m-p/46380#M11100</link>
      <description>&lt;P&gt;Midnight is just zero hours, relative to the current day, so you can use:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; earliest=-0h@d
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or just:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;earliest=@d
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You should also have &lt;CODE&gt;Today&lt;/CODE&gt; available as an option in the TimeRangePicker.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2011 00:11:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Defining-search-timeframe-from-midnight-to-now/m-p/46380#M11100</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2011-02-18T00:11:48Z</dc:date>
    </item>
  </channel>
</rss>

