<?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 to search only for current date? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214483#M62895</link>
    <description>&lt;P&gt;@d-2h   Snap to the beginning of today (12AM) and subtract 2 hours from that time.&lt;/P&gt;

&lt;P&gt;Please try&lt;BR /&gt;
earliest=-d@d latest=now&lt;/P&gt;</description>
    <pubDate>Tue, 27 Sep 2016 13:13:50 GMT</pubDate>
    <dc:creator>inventsekar</dc:creator>
    <dc:date>2016-09-27T13:13:50Z</dc:date>
    <item>
      <title>how to search only for current date?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214479#M62891</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;

&lt;P&gt;i need to know what i should insert into latest_time and earliest_time to specify search only for current day &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:10:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214479#M62891</guid>
      <dc:creator>sfatnass</dc:creator>
      <dc:date>2020-09-29T11:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to search only for current date?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214480#M62892</link>
      <description>&lt;P&gt;Check out this list of time modifiers in Splunk Docs, &lt;A href="https://docs.splunk.com/Documentation/Splunk/6.4.3/Search/Specifytimemodifiersinyoursearch"&gt;https://docs.splunk.com/Documentation/Splunk/6.4.3/Search/Specifytimemodifiersinyoursearch&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 12:52:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214480#M62892</guid>
      <dc:creator>Walt_Splunk</dc:creator>
      <dc:date>2016-09-27T12:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to search only for current date?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214481#M62893</link>
      <description>&lt;P&gt;For example, to start your search an hour ago use either of the following time modifiers.&lt;/P&gt;

&lt;P&gt;earliest=-h&lt;/P&gt;

&lt;P&gt;For current day, &lt;/P&gt;

&lt;P&gt;earliest=-d latest=now&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 13:04:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214481#M62893</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2016-09-27T13:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to search only for current date?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214482#M62894</link>
      <description>&lt;P&gt;earliest=-d latest=now&lt;/P&gt;

&lt;P&gt;get one day (24) i tryed it but he count since:&lt;BR /&gt;
earliest=09/26/2016 15:09:00 latest=09/27/2016 15:09:00&lt;/P&gt;

&lt;P&gt;but i need only the current day:&lt;/P&gt;

&lt;P&gt;earliest=09/27/2016 00:00:00 latest=09/27/2016 15:09:00&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 13:10:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214482#M62894</guid>
      <dc:creator>sfatnass</dc:creator>
      <dc:date>2016-09-27T13:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to search only for current date?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214483#M62895</link>
      <description>&lt;P&gt;@d-2h   Snap to the beginning of today (12AM) and subtract 2 hours from that time.&lt;/P&gt;

&lt;P&gt;Please try&lt;BR /&gt;
earliest=-d@d latest=now&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 13:13:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214483#M62895</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2016-09-27T13:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to search only for current date?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214484#M62896</link>
      <description>&lt;P&gt;i solved it just attribute earliest_time=@d not need latest_time thx for reply&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:10:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214484#M62896</guid>
      <dc:creator>sfatnass</dc:creator>
      <dc:date>2020-09-29T11:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to search only for current date?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214485#M62897</link>
      <description>&lt;P&gt;You might also be interested in _index_earliest=-@d&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:13:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214485#M62897</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-09-29T11:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to search only for current date?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214486#M62898</link>
      <description>&lt;P&gt;no just get logs only for today&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 14:12:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-search-only-for-current-date/m-p/214486#M62898</guid>
      <dc:creator>sfatnass</dc:creator>
      <dc:date>2016-09-27T14:12:45Z</dc:date>
    </item>
  </channel>
</rss>

