<?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 only a single value when there are more multiple same values are present in a field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-only-a-single-value-when-there-are-more-multiple/m-p/280442#M84642</link>
    <description>&lt;P&gt;Try this..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;.... | streamstats count | mvexpand mvfieldinkvstore | dedup count mvfieldinkvstore | mvcombine mvfieldinkvstore | fields - count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 03 Jun 2016 19:34:10 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-06-03T19:34:10Z</dc:date>
    <item>
      <title>How to remove only a single value when there are more multiple same values are present in a field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-only-a-single-value-when-there-are-more-multiple/m-p/280440#M84640</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;I am trying to update a multivalued field in a KV store. So let's say there are 3 values in the field:&lt;/P&gt;

&lt;P&gt;A,B,A. During the update, I would want to remove A from the field. However, I want to remove only one instance of A and not all the instances.&lt;/P&gt;

&lt;P&gt;Can anyone help me out with how to implement this logic in Splunk?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 19:11:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-only-a-single-value-when-there-are-more-multiple/m-p/280440#M84640</guid>
      <dc:creator>diliptmonson</dc:creator>
      <dc:date>2016-06-03T19:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove only a single value when there are more multiple same values are present in a field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-only-a-single-value-when-there-are-more-multiple/m-p/280441#M84641</link>
      <description>&lt;P&gt;Have look at the &lt;CODE&gt;eval-mvdedup&lt;/CODE&gt; command&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/SearchReference/CommonEvalFunctions#Multivalue_functions"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.0/SearchReference/CommonEvalFunctions#Multivalue_functions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 19:33:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-only-a-single-value-when-there-are-more-multiple/m-p/280441#M84641</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-06-03T19:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove only a single value when there are more multiple same values are present in a field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-remove-only-a-single-value-when-there-are-more-multiple/m-p/280442#M84642</link>
      <description>&lt;P&gt;Try this..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;.... | streamstats count | mvexpand mvfieldinkvstore | dedup count mvfieldinkvstore | mvcombine mvfieldinkvstore | fields - count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Jun 2016 19:34:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-remove-only-a-single-value-when-there-are-more-multiple/m-p/280442#M84642</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-06-03T19:34:10Z</dc:date>
    </item>
  </channel>
</rss>

