<?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: Search for Duplicate RecordNumbers in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-for-Duplicate-RecordNumbers/m-p/33462#M7117</link>
    <description>&lt;P&gt;Assuming that the RecordNumber is an extracted field, you could use such a search to list all host having multiple occurrences of the same RecordNumber on a single day:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;RecordNumber=* | eval day=strftime(_time,"%Y%m%d") | stats count by host,day,RecordNumber | where count&amp;gt;0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 13 Aug 2012 17:02:34 GMT</pubDate>
    <dc:creator>ziegfried</dc:creator>
    <dc:date>2012-08-13T17:02:34Z</dc:date>
    <item>
      <title>Search for Duplicate RecordNumbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-Duplicate-RecordNumbers/m-p/33461#M7116</link>
      <description>&lt;P&gt;Basically, I want to create a search that will alert me in a forwarder is indexing the same data multiple times.  We currently have a few that are and I want to see how many others are doing the same thing.  So what I want is a search that will return the hostname of PC's that are indexing events with the same RecordNumber on the same day.  I can't figure out how to accomplish it.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2012 16:39:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-Duplicate-RecordNumbers/m-p/33461#M7116</guid>
      <dc:creator>rmcdougal</dc:creator>
      <dc:date>2012-08-13T16:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Search for Duplicate RecordNumbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-Duplicate-RecordNumbers/m-p/33462#M7117</link>
      <description>&lt;P&gt;Assuming that the RecordNumber is an extracted field, you could use such a search to list all host having multiple occurrences of the same RecordNumber on a single day:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;RecordNumber=* | eval day=strftime(_time,"%Y%m%d") | stats count by host,day,RecordNumber | where count&amp;gt;0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Aug 2012 17:02:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-Duplicate-RecordNumbers/m-p/33462#M7117</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2012-08-13T17:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Search for Duplicate RecordNumbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-Duplicate-RecordNumbers/m-p/33463#M7118</link>
      <description>&lt;P&gt;I know I'm resurrecting something old here... but shouldn't it be '| where count&amp;gt;1'&lt;/P&gt;

&lt;P&gt;We currently running into this problem, and yes, the search above is definitely the best way of finding duplicates&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 10:16:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-Duplicate-RecordNumbers/m-p/33463#M7118</guid>
      <dc:creator>tiny3001</dc:creator>
      <dc:date>2014-04-02T10:16:26Z</dc:date>
    </item>
  </channel>
</rss>

