<?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 Removing duplicates in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Removing-duplicates/m-p/269269#M189990</link>
    <description>&lt;P&gt;HI , i am new to splunk i need to create a report that has rest calls which has mulitple path parameters , so it was showing the multiple uris to make a status count on that&lt;BR /&gt;
for example:&lt;BR /&gt;
/t1/email/&lt;A href="mailto:ksjdf@gmail.com"&gt;ksjdf@gmail.com&lt;/A&gt;&lt;BR /&gt;
/t1/email/&lt;A href="mailto:ksjdf@gmail.com"&gt;ksjdf@gmail.com&lt;/A&gt;/f1/12345&lt;BR /&gt;
/t1/email/&lt;A href="mailto:ytft@gmail.com"&gt;ytft@gmail.com&lt;/A&gt;&lt;BR /&gt;
/t1/email/&lt;A href="mailto:ytft@gmail.com"&gt;ytft@gmail.com&lt;/A&gt;/f1/123456&lt;/P&gt;

&lt;P&gt;result should be like this :&lt;BR /&gt;
/t1/email/&lt;BR /&gt;
/t1/email/XXXX/f1/XXXX&lt;/P&gt;

&lt;P&gt;how to remove the duplicates  herer , i am not which command to use?..&lt;/P&gt;</description>
    <pubDate>Sun, 11 Oct 2015 20:28:26 GMT</pubDate>
    <dc:creator>12onetwo</dc:creator>
    <dc:date>2015-10-11T20:28:26Z</dc:date>
    <item>
      <title>Removing duplicates</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Removing-duplicates/m-p/269269#M189990</link>
      <description>&lt;P&gt;HI , i am new to splunk i need to create a report that has rest calls which has mulitple path parameters , so it was showing the multiple uris to make a status count on that&lt;BR /&gt;
for example:&lt;BR /&gt;
/t1/email/&lt;A href="mailto:ksjdf@gmail.com"&gt;ksjdf@gmail.com&lt;/A&gt;&lt;BR /&gt;
/t1/email/&lt;A href="mailto:ksjdf@gmail.com"&gt;ksjdf@gmail.com&lt;/A&gt;/f1/12345&lt;BR /&gt;
/t1/email/&lt;A href="mailto:ytft@gmail.com"&gt;ytft@gmail.com&lt;/A&gt;&lt;BR /&gt;
/t1/email/&lt;A href="mailto:ytft@gmail.com"&gt;ytft@gmail.com&lt;/A&gt;/f1/123456&lt;/P&gt;

&lt;P&gt;result should be like this :&lt;BR /&gt;
/t1/email/&lt;BR /&gt;
/t1/email/XXXX/f1/XXXX&lt;/P&gt;

&lt;P&gt;how to remove the duplicates  herer , i am not which command to use?..&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2015 20:28:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Removing-duplicates/m-p/269269#M189990</guid>
      <dc:creator>12onetwo</dc:creator>
      <dc:date>2015-10-11T20:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Removing duplicates</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Removing-duplicates/m-p/269270#M189991</link>
      <description>&lt;P&gt;Hi 12onetwo,&lt;/P&gt;

&lt;P&gt;given you have a field called &lt;CODE&gt;path&lt;/CODE&gt; or &lt;CODE&gt;uri&lt;/CODE&gt; you can use &lt;CODE&gt;dedup&lt;/CODE&gt; on this field &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search goes here | dedup uri | stats count by uri
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;see the doce for more details &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/SearchReference/Dedup"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.0/SearchReference/Dedup&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2015 20:45:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Removing-duplicates/m-p/269270#M189991</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-10-11T20:45:03Z</dc:date>
    </item>
  </channel>
</rss>

