<?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 How to remove Duplicate values in different field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-Duplicate-values-in-different-field/m-p/609207#M211834</link>
    <description>&lt;P&gt;How to remove duplicate values in a different field&lt;/P&gt;
&lt;P&gt;|stats count by src dest&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alexspunkshell_0-1660244580972.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21005iB1EBACBCE6027D8C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alexspunkshell_0-1660244580972.png" alt="alexspunkshell_0-1660244580972.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Aug 2022 15:06:40 GMT</pubDate>
    <dc:creator>alexspunkshell</dc:creator>
    <dc:date>2022-08-12T15:06:40Z</dc:date>
    <item>
      <title>How to remove Duplicate values in different field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-Duplicate-values-in-different-field/m-p/609207#M211834</link>
      <description>&lt;P&gt;How to remove duplicate values in a different field&lt;/P&gt;
&lt;P&gt;|stats count by src dest&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alexspunkshell_0-1660244580972.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21005iB1EBACBCE6027D8C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alexspunkshell_0-1660244580972.png" alt="alexspunkshell_0-1660244580972.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 15:06:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-Duplicate-values-in-different-field/m-p/609207#M211834</guid>
      <dc:creator>alexspunkshell</dc:creator>
      <dc:date>2022-08-12T15:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicate values in different field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-Duplicate-values-in-different-field/m-p/609208#M211835</link>
      <description>&lt;P&gt;Where are the duplicates?&amp;nbsp; I see the first 3 octets of some IP addresses match, but &lt;FONT face="courier new,courier"&gt;stats&lt;/FONT&gt; looks at the entire field, not just parts of it.&amp;nbsp; If you need to deduplicate on the first 3 octets, then use &lt;FONT face="courier new,courier"&gt;rex&lt;/FONT&gt; or &lt;FONT face="courier new,courier"&gt;split&lt;/FONT&gt; to extract it into a new field and &lt;FONT face="courier new,courier"&gt;dedup&lt;/FONT&gt; on that new field.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 19:13:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-Duplicate-values-in-different-field/m-p/609208#M211835</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-08-11T19:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicate values in different field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-Duplicate-values-in-different-field/m-p/609209#M211836</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp; Thanks for the reply&lt;/P&gt;&lt;P&gt;I am getting similar IPs in both src &amp;amp; dest fields.&lt;/P&gt;&lt;P&gt;So I want to remove in results if both src &amp;amp; dest are the same.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 19:17:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-Duplicate-values-in-different-field/m-p/609209#M211836</guid>
      <dc:creator>alexspunkshell</dc:creator>
      <dc:date>2022-08-11T19:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicate values in different field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-Duplicate-values-in-different-field/m-p/609214#M211837</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/126376"&gt;@alexspunkshell&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Please confirm if I understood your requirement correctly: -&lt;/P&gt;&lt;P&gt;There are two fields in the result: - src and dest.&lt;/P&gt;&lt;P&gt;If in a given row both src and dest are same, then you need to filter out those rows from the result.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 19:44:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-Duplicate-values-in-different-field/m-p/609214#M211837</guid>
      <dc:creator>Taruchit</dc:creator>
      <dc:date>2022-08-11T19:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicate values in different field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-Duplicate-values-in-different-field/m-p/609215#M211838</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/223102"&gt;@Taruchit&lt;/a&gt;&amp;nbsp; You are right.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 19:45:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-Duplicate-values-in-different-field/m-p/609215#M211838</guid>
      <dc:creator>alexspunkshell</dc:creator>
      <dc:date>2022-08-11T19:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Duplicate values in different field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-Duplicate-values-in-different-field/m-p/609234#M211850</link>
      <description>&lt;P&gt;The most straightforward implementation is&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats count by src dest
| where src != dest&lt;/LI-CODE&gt;&lt;P&gt;Alternatively,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| where src != dest
| stats count by src dest&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 03:18:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-Duplicate-values-in-different-field/m-p/609234#M211850</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-08-12T03:18:27Z</dc:date>
    </item>
  </channel>
</rss>

