<?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 restrict events based on the time range? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-events-based-on-the-time-range/m-p/398710#M168764</link>
    <description>&lt;P&gt;You're welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Please mark the answer as accepted, so this can easily be found by others with the same question in the future &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jun 2018 08:42:38 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2018-06-21T08:42:38Z</dc:date>
    <item>
      <title>How to restrict events based on the time range?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-events-based-on-the-time-range/m-p/398707#M168761</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a script which runs every 4 hours and the output is written to Splunk, Everyday six are being written to Splunk.&lt;BR /&gt;
I need to restrict events based on the time range I select, For an instance, When I look for the last 24 hours I need only one event to be shown, but actually there are six events in the last 24 hours, Similarly when I check for the last 7 days I need to see only 7 events i.e., one event from each day need to be displayed. I'm not sure if it's possible.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 07:09:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-events-based-on-the-time-range/m-p/398707#M168761</guid>
      <dc:creator>bollam</dc:creator>
      <dc:date>2018-06-21T07:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict events based on the time range?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-events-based-on-the-time-range/m-p/398708#M168762</link>
      <description>&lt;P&gt;Try adding this to your search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| bin _time span=1d | dedup _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I think this gets you the last event of each day.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 07:18:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-events-based-on-the-time-range/m-p/398708#M168762</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-06-21T07:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict events based on the time range?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-events-based-on-the-time-range/m-p/398709#M168763</link>
      <description>&lt;P&gt;Thanks FrankVI for the prompt response!! It worked!!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 08:34:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-events-based-on-the-time-range/m-p/398709#M168763</guid>
      <dc:creator>bollam</dc:creator>
      <dc:date>2018-06-21T08:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict events based on the time range?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-events-based-on-the-time-range/m-p/398710#M168764</link>
      <description>&lt;P&gt;You're welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Please mark the answer as accepted, so this can easily be found by others with the same question in the future &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 08:42:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-events-based-on-the-time-range/m-p/398710#M168764</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-06-21T08:42:38Z</dc:date>
    </item>
  </channel>
</rss>

