<?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 does dedup treat multivalue fields? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-does-dedup-treat-multivalue-fields/m-p/494081#M137758</link>
    <description>&lt;P&gt;Which events are removed when multivalue comes into play?&lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2019 19:46:01 GMT</pubDate>
    <dc:creator>landen99</dc:creator>
    <dc:date>2019-10-08T19:46:01Z</dc:date>
    <item>
      <title>How does dedup treat multivalue fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-does-dedup-treat-multivalue-fields/m-p/494081#M137758</link>
      <description>&lt;P&gt;Which events are removed when multivalue comes into play?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2019 19:46:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-does-dedup-treat-multivalue-fields/m-p/494081#M137758</guid>
      <dc:creator>landen99</dc:creator>
      <dc:date>2019-10-08T19:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: How does dedup treat multivalue fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-does-dedup-treat-multivalue-fields/m-p/494082#M137759</link>
      <description>&lt;P&gt;The answer on which values in a multivalue field are deduped is this: The multivalue field must match all values in order for it to be deduped:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| stats count | eval field=mvappend("a","b") | append [| stats count | eval field=mvappend("1","2")] | append [| stats count | eval field=mvappend("2","1")] | append [| stats count | eval field=mvappend("a1","b2")] | append [| stats count | eval field=mvappend("a1","b2")] | append [| stats count | eval field=mvappend("a1","a2")]  | dedup field&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Even the order of the values in the multivalue field matters!  Who would've thought? &lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2019 19:48:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-does-dedup-treat-multivalue-fields/m-p/494082#M137759</guid>
      <dc:creator>landen99</dc:creator>
      <dc:date>2019-10-08T19:48:17Z</dc:date>
    </item>
  </channel>
</rss>

