<?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: is it possible to run remove duplicates on specific dates and not on all time? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-run-remove-duplicates-on-specific-dates-and/m-p/44927#M179243</link>
    <description>&lt;P&gt;Found it..&lt;BR /&gt;
Edited the script and added to line 56 (starting with search1) earliest=  latest dates :&lt;BR /&gt;
"search1 = 'search index=' + index + 'earliest=129461760 latest=1294704000 | ..."&lt;/P&gt;

&lt;P&gt;I don't know Perl , anyone knows how to add these dates as parameters ?&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jul 2011 07:24:56 GMT</pubDate>
    <dc:creator>gooza</dc:creator>
    <dc:date>2011-07-19T07:24:56Z</dc:date>
    <item>
      <title>is it possible to run remove duplicates on specific dates and not on all time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-run-remove-duplicates-on-specific-dates-and/m-p/44926#M179242</link>
      <description>&lt;P&gt;When using the remove duplicate event python is it possible to run it on specific date range?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2011 07:07:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-run-remove-duplicates-on-specific-dates-and/m-p/44926#M179242</guid>
      <dc:creator>gooza</dc:creator>
      <dc:date>2011-07-19T07:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to run remove duplicates on specific dates and not on all time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-run-remove-duplicates-on-specific-dates-and/m-p/44927#M179243</link>
      <description>&lt;P&gt;Found it..&lt;BR /&gt;
Edited the script and added to line 56 (starting with search1) earliest=  latest dates :&lt;BR /&gt;
"search1 = 'search index=' + index + 'earliest=129461760 latest=1294704000 | ..."&lt;/P&gt;

&lt;P&gt;I don't know Perl , anyone knows how to add these dates as parameters ?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2011 07:24:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-run-remove-duplicates-on-specific-dates-and/m-p/44927#M179243</guid>
      <dc:creator>gooza</dc:creator>
      <dc:date>2011-07-19T07:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to run remove duplicates on specific dates and not on all time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-run-remove-duplicates-on-specific-dates-and/m-p/44928#M179244</link>
      <description>&lt;P&gt;I create new script for you. &lt;A href="http://pastebin.com/JusgWRMy"&gt;http://pastebin.com/JusgWRMy&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Usage: ./splunk cmd python rem_dupl_event_spec_date.py &amp;lt;index&amp;gt; &amp;lt;earliest_date&amp;gt; &amp;lt;latest_date&amp;gt;
earliest_date &amp;amp; latest_date syntax: %m/%d/%Y:%H:%M:%S
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;./splunk cmd python rem_dupl_event_spec_date.py test 05/20/2011:0:0:0 05/24/2011:23:59:59
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Jul 2011 17:42:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-run-remove-duplicates-on-specific-dates-and/m-p/44928#M179244</guid>
      <dc:creator>zpavic</dc:creator>
      <dc:date>2011-07-19T17:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to run remove duplicates on specific dates and not on all time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-run-remove-duplicates-on-specific-dates-and/m-p/44929#M179245</link>
      <description>&lt;P&gt;works great , Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2011 06:59:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-run-remove-duplicates-on-specific-dates-and/m-p/44929#M179245</guid>
      <dc:creator>gooza</dc:creator>
      <dc:date>2011-07-20T06:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to run remove duplicates on specific dates and not on all time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-run-remove-duplicates-on-specific-dates-and/m-p/44930#M179246</link>
      <description>&lt;P&gt;Really like this.  Is there a way for it to only look at a source or sourcetype within a given index?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2012 20:54:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-run-remove-duplicates-on-specific-dates-and/m-p/44930#M179246</guid>
      <dc:creator>kphillipson</dc:creator>
      <dc:date>2012-11-07T20:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to run remove duplicates on specific dates and not on all time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-run-remove-duplicates-on-specific-dates-and/m-p/44931#M179247</link>
      <description>&lt;P&gt;Hmm... I believe this script it a bit dangerous. What happens, if you have 3 events (one unique and two, which is duplicates) within the same second? Then the script will delete one of the duplicates AND the single unique event, right?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2012 13:10:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/is-it-possible-to-run-remove-duplicates-on-specific-dates-and/m-p/44931#M179247</guid>
      <dc:creator>karthy</dc:creator>
      <dc:date>2012-11-16T13:10:33Z</dc:date>
    </item>
  </channel>
</rss>

