<?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 Search for events after a certain time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-for-events-after-a-certain-time/m-p/529791#M149664</link>
    <description>&lt;P&gt;Is it possible to run a search that will only include all the events for that day after a certain time? (using the time range picker to select the date only, so the time will be selected using the search query)&lt;/P&gt;&lt;P&gt;For example I am wanting the search to pick events after 8am for the day selected by the time range picker,&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2020 17:02:56 GMT</pubDate>
    <dc:creator>jboustead</dc:creator>
    <dc:date>2020-11-17T17:02:56Z</dc:date>
    <item>
      <title>Search for events after a certain time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-events-after-a-certain-time/m-p/529791#M149664</link>
      <description>&lt;P&gt;Is it possible to run a search that will only include all the events for that day after a certain time? (using the time range picker to select the date only, so the time will be selected using the search query)&lt;/P&gt;&lt;P&gt;For example I am wanting the search to pick events after 8am for the day selected by the time range picker,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 17:02:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-events-after-a-certain-time/m-p/529791#M149664</guid>
      <dc:creator>jboustead</dc:creator>
      <dc:date>2020-11-17T17:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Search for events after a certain time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-events-after-a-certain-time/m-p/529797#M149666</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/227186"&gt;@jboustead&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;SPAN&gt;"using the time range picker to select the date only, so the time will be selected using the search query"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if your events got hour value as a separate field, then, with "where" command, it may be possible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;BUT that's a long and difficult route.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The earliest and latest offers all possible combinations of time/date we can ever imagine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This example searches an index for the last 24 hours but omits any events returned from Midnight to 1:00 A.M., when downtime returns false log entries.&lt;/P&gt;&lt;P class="inlineQuery"&gt;index=myindex ((earliest=-24h latest&amp;lt;@d) OR (earliest&amp;gt;=@d+1h))&lt;/P&gt;&lt;P&gt;This search specifies two time ranges:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV class="li_content"&gt;24 hours before the search is run, up to midnight&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class="li_content"&gt;The beginning of the day that the search is run, starting at 1 hour after midnight or 1:00 A.M.&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/8.1.2009/Search/Specifytimemodifiersinyoursearch" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/SplunkCloud/8.1.2009/Search/Specifytimemodifiersinyoursearch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 17:34:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-events-after-a-certain-time/m-p/529797#M149666</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2020-11-17T17:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Search for events after a certain time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-events-after-a-certain-time/m-p/529798#M149667</link>
      <description>&lt;P&gt;If your events have the date_hour field (and it's reliable) then you can use it to filter events.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;... | where date_hour &amp;gt;= 20 | ...&lt;/LI-CODE&gt;&lt;P&gt;If you don't have that field then you can make your own.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;... | eval date_hour = strftime(_time, "%H")
| where date_hour &amp;gt;= 20&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 17 Nov 2020 17:35:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-events-after-a-certain-time/m-p/529798#M149667</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-11-17T17:35:44Z</dc:date>
    </item>
  </channel>
</rss>

