<?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: Alternate to dedup in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492821#M137450</link>
    <description>&lt;P&gt;@ rupesh26 try a &lt;CODE&gt;distinct count&lt;/CODE&gt;:&lt;BR /&gt;
&lt;CODE&gt;| stats dc(&amp;lt;your_feild&amp;gt;)&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2020 22:54:10 GMT</pubDate>
    <dc:creator>jscraig2006</dc:creator>
    <dc:date>2020-01-28T22:54:10Z</dc:date>
    <item>
      <title>Alternate to dedup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492820#M137449</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I need to remove duplicates in my results, is there anyway to do this other than using dedup. &lt;BR /&gt;
I used stats, eventstats still no luck&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 22:22:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492820#M137449</guid>
      <dc:creator>rupesh26</dc:creator>
      <dc:date>2020-01-28T22:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to dedup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492821#M137450</link>
      <description>&lt;P&gt;@ rupesh26 try a &lt;CODE&gt;distinct count&lt;/CODE&gt;:&lt;BR /&gt;
&lt;CODE&gt;| stats dc(&amp;lt;your_feild&amp;gt;)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 22:54:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492821#M137450</guid>
      <dc:creator>jscraig2006</dc:creator>
      <dc:date>2020-01-28T22:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to dedup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492822#M137451</link>
      <description>&lt;P&gt;This counts distinct values it does not dedup. &lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 22:56:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492822#M137451</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2020-01-28T22:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to dedup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492823#M137452</link>
      <description>&lt;P&gt;Yes, that's correct&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 22:58:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492823#M137452</guid>
      <dc:creator>rupesh26</dc:creator>
      <dc:date>2020-01-28T22:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to dedup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492824#M137453</link>
      <description>&lt;P&gt;So... this does not answer the question lol&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 23:00:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492824#M137453</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2020-01-28T23:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to dedup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492825#M137454</link>
      <description>&lt;P&gt;&lt;CODE&gt;stats count by your_field&lt;/CODE&gt; is faster than dedup if you don't want to keep other fields&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 23:05:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492825#M137454</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2020-01-28T23:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to dedup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492826#M137455</link>
      <description>&lt;P&gt;Thanks nick, by I want to keep other fields as well to add it to a dashboard. &lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 23:09:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492826#M137455</guid>
      <dc:creator>rupesh26</dc:creator>
      <dc:date>2020-01-28T23:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to dedup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492827#M137456</link>
      <description>&lt;P&gt;Apologies! I should have read the question more carefully!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 23:20:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492827#M137456</guid>
      <dc:creator>jscraig2006</dc:creator>
      <dc:date>2020-01-28T23:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to dedup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492828#M137457</link>
      <description>&lt;P&gt;Terribly inelegant, but you could stats &lt;CODE&gt;count by your_field&lt;/CODE&gt; and then join those results with the same search copied and pasted&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;your_search&amp;gt; ... | table your_field b c | stats count by your_field | join type=left your_field [&amp;lt;your_search&amp;gt;] | table your_field b c
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Jan 2020 23:33:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492828#M137457</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2020-01-28T23:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to dedup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492829#M137458</link>
      <description>&lt;P&gt;Really appreciate it Nick , I will try these options. &lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 23:37:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492829#M137458</guid>
      <dc:creator>rupesh26</dc:creator>
      <dc:date>2020-01-28T23:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to dedup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492830#M137459</link>
      <description>&lt;P&gt;Also for reference&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/789749/dedup-vs-stats-performance.html"&gt;https://answers.splunk.com/answers/789749/dedup-vs-stats-performance.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;(I am on the same page as you in that 99.9999% of the time I want to keep my other fields as well, which makes &lt;CODE&gt;stats values&lt;/CODE&gt; absolutely useless in this "debate")&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 23:46:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alternate-to-dedup/m-p/492830#M137459</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2020-01-28T23:46:19Z</dc:date>
    </item>
  </channel>
</rss>

