<?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: How to remove repeated duplicate values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-repeated-duplicate-values/m-p/569334#M198437</link>
    <description>&lt;LI-CODE lang="markup"&gt;| eval title=mvdedup(title)&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 01 Oct 2021 13:01:39 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-10-01T13:01:39Z</dc:date>
    <item>
      <title>How to remove repeated duplicate values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-repeated-duplicate-values/m-p/569332#M198435</link>
      <description>&lt;P&gt;I am trying to remove duplicates in my result using the |dedup command. Even though I am seeing 2 entries in my result.&lt;/P&gt;
&lt;P&gt;Kindly help me to remove 1 duplicate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alexspunkshell_0-1633093094982.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16245iC0345900467D0B38/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alexspunkshell_0-1633093094982.png" alt="alexspunkshell_0-1633093094982.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 16:12:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-repeated-duplicate-values/m-p/569332#M198435</guid>
      <dc:creator>alexspunkshell</dc:creator>
      <dc:date>2023-04-20T16:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove repeated duplicate values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-repeated-duplicate-values/m-p/569333#M198436</link>
      <description>&lt;LI-CODE lang="markup"&gt;| stats count by title
| fields - count&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 01 Oct 2021 13:00:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-repeated-duplicate-values/m-p/569333#M198436</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-10-01T13:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove repeated duplicate values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-repeated-duplicate-values/m-p/569334#M198437</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval title=mvdedup(title)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 01 Oct 2021 13:01:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-repeated-duplicate-values/m-p/569334#M198437</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-10-01T13:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove repeated duplicate values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-repeated-duplicate-values/m-p/569336#M198438</link>
      <description>&lt;P&gt;This field contains multiple duplicate values I guess.&lt;/P&gt;&lt;P&gt;You can remove it like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=graphsecurityalert | mvexpand title | dedup title | table title&lt;/LI-CODE&gt;&lt;P&gt;Check to see which events contain those multivalues:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=graphsecurityalert | eval c=mvcount(title) | table c&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 13:09:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-repeated-duplicate-values/m-p/569336#M198438</guid>
      <dc:creator>Azeemering</dc:creator>
      <dc:date>2021-10-01T13:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove repeated duplicate values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-repeated-duplicate-values/m-p/640789#M222007</link>
      <description>&lt;P&gt;I too having same kind of issue . I have tried with your solution , but still I can see duplicate values . please help&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lavender_0-1681983560162.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25001i0C437D890880D95E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lavender_0-1681983560162.png" alt="Lavender_0-1681983560162.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 09:40:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-repeated-duplicate-values/m-p/640789#M222007</guid>
      <dc:creator>Lavender</dc:creator>
      <dc:date>2023-04-20T09:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove repeated duplicate values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-repeated-duplicate-values/m-p/640792#M222009</link>
      <description>&lt;P&gt;I have no idea what SPL you used to create that output since you didn't share it. Having said that, given that you apparently have three occurrences of the same string, perhaps your base data is at fault, or perhaps you have trailing spaces?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 09:46:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-repeated-duplicate-values/m-p/640792#M222009</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-20T09:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove repeated duplicate values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-repeated-duplicate-values/m-p/640797#M222011</link>
      <description>&lt;P&gt;I got the solution .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;mvexpand&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;doesn't work because the field is not a multi-value field.&amp;nbsp; It's a single-value field with embedded newlines.&amp;nbsp; Tried using the&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;split&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;function to break up the field then&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;mvexpand&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp; and it works&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 10:06:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-repeated-duplicate-values/m-p/640797#M222011</guid>
      <dc:creator>Lavender</dc:creator>
      <dc:date>2023-04-20T10:06:49Z</dc:date>
    </item>
  </channel>
</rss>

