<?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: extract events for specific time period in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/extract-events-for-specific-time-period/m-p/45554#M10825</link>
    <description>&lt;P&gt;Unless they're WinEventLogs, there should also be a field called &lt;CODE&gt;date_hour&lt;/CODE&gt;, which can be used;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=your_sourcetype date_hour &amp;gt; 20 OR date_hour &amp;lt; 8 | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;EDIT: corrected the hour value&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
    <pubDate>Tue, 08 May 2012 10:04:25 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2012-05-08T10:04:25Z</dc:date>
    <item>
      <title>extract events for specific time period</title>
      <link>https://community.splunk.com/t5/Splunk-Search/extract-events-for-specific-time-period/m-p/45553#M10824</link>
      <description>&lt;P&gt;I've just configured splunk to index a file that contains events for the last 30 days. Within these events I want to search for all events that fall between 8pm and 8am only.&lt;/P&gt;

&lt;P&gt;The format of events are such:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;4/30/2012 6:48:32 PM,"xxxxx\xxxxxx","xxxxx",........."
4/30/2012 8:50:30 PM,"xxxxx\xxxxxx","xxxxx",........."
....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk has automatically extracted this field "Date_time" &amp;gt; "4/30/2012 6:48:32 PM"&lt;/P&gt;

&lt;P&gt;Any idea?&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2012 09:46:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/extract-events-for-specific-time-period/m-p/45553#M10824</guid>
      <dc:creator>remy06</dc:creator>
      <dc:date>2012-05-08T09:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: extract events for specific time period</title>
      <link>https://community.splunk.com/t5/Splunk-Search/extract-events-for-specific-time-period/m-p/45554#M10825</link>
      <description>&lt;P&gt;Unless they're WinEventLogs, there should also be a field called &lt;CODE&gt;date_hour&lt;/CODE&gt;, which can be used;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=your_sourcetype date_hour &amp;gt; 20 OR date_hour &amp;lt; 8 | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;EDIT: corrected the hour value&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2012 10:04:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/extract-events-for-specific-time-period/m-p/45554#M10825</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-05-08T10:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: extract events for specific time period</title>
      <link>https://community.splunk.com/t5/Splunk-Search/extract-events-for-specific-time-period/m-p/45555#M10826</link>
      <description>&lt;P&gt;oops, see edit above. /k&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2012 10:15:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/extract-events-for-specific-time-period/m-p/45555#M10826</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-05-08T10:15:25Z</dc:date>
    </item>
  </channel>
</rss>

