<?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: Comparing Multivalue Fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Comparing-Multivalue-Fields/m-p/293296#M88542</link>
    <description>&lt;P&gt;Exactly how I would have done it.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Aug 2017 01:35:28 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-08-18T01:35:28Z</dc:date>
    <item>
      <title>Comparing Multivalue Fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Comparing-Multivalue-Fields/m-p/293294#M88540</link>
      <description>&lt;P&gt;I have numerous events, each of which has a multivalue field that has a list of X (where X is a number) hashes in it.  I want to do the equivalent of the Transaction command and group all the events that have the exact same list of X hashes in that multivalue field.  If it has greater than X or less than X hashes in it, it doesnt belong in the group.  Only group those events which have the exact same set of X hashes in the multivalue field.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 18:21:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Comparing-Multivalue-Fields/m-p/293294#M88540</guid>
      <dc:creator>msscott63</dc:creator>
      <dc:date>2017-08-17T18:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing Multivalue Fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Comparing-Multivalue-Fields/m-p/293295#M88541</link>
      <description>&lt;P&gt;You can use nomv to turn the multivalue field into single value field, and then connect the different events using &lt;CODE&gt;transaction&lt;/CODE&gt; or &lt;CODE&gt;stats&lt;/CODE&gt; or any number of other methods.&lt;/P&gt;

&lt;P&gt;If the particular multiple hash values might be in a different order, then you probably want to sort them beforehand. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval myflatfield=mvsort(mymvfield)
| nomv myflatfield
| stats values(*) as * by myflatfield
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Aug 2017 22:50:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Comparing-Multivalue-Fields/m-p/293295#M88541</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-08-17T22:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing Multivalue Fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Comparing-Multivalue-Fields/m-p/293296#M88542</link>
      <description>&lt;P&gt;Exactly how I would have done it.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 01:35:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Comparing-Multivalue-Fields/m-p/293296#M88542</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-08-18T01:35:28Z</dc:date>
    </item>
  </channel>
</rss>

