<?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: Search for events with multiple field values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-for-events-with-multiple-field-values/m-p/37519#M8399</link>
    <description>&lt;P&gt;Try mvcount()&lt;/P&gt;

&lt;P&gt;from the docs&lt;BR /&gt;
mvcount(X)  This function takes an field X and returns the number of values of that field if the field is multivalued, 1 if the field is single valued, and NULL otherwise.&lt;BR /&gt;&lt;BR /&gt;
Example:  ... | eval n=mvcount(multifield)&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2013 17:25:49 GMT</pubDate>
    <dc:creator>emotz</dc:creator>
    <dc:date>2013-08-16T17:25:49Z</dc:date>
    <item>
      <title>Search for events with multiple field values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-events-with-multiple-field-values/m-p/37518#M8398</link>
      <description>&lt;P&gt;I have events that I'm joining together via transaction.  Once in a transaction a field can have multiple values.  How can I then search for only transactions that have more than 3 values for that field?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2013 16:53:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-events-with-multiple-field-values/m-p/37518#M8398</guid>
      <dc:creator>mikelanghorst</dc:creator>
      <dc:date>2013-08-16T16:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Search for events with multiple field values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-events-with-multiple-field-values/m-p/37519#M8399</link>
      <description>&lt;P&gt;Try mvcount()&lt;/P&gt;

&lt;P&gt;from the docs&lt;BR /&gt;
mvcount(X)  This function takes an field X and returns the number of values of that field if the field is multivalued, 1 if the field is single valued, and NULL otherwise.&lt;BR /&gt;&lt;BR /&gt;
Example:  ... | eval n=mvcount(multifield)&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2013 17:25:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-events-with-multiple-field-values/m-p/37519#M8399</guid>
      <dc:creator>emotz</dc:creator>
      <dc:date>2013-08-16T17:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Search for events with multiple field values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-events-with-multiple-field-values/m-p/37520#M8400</link>
      <description>&lt;P&gt;much cleaner than the other method I was using.  Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2013 17:39:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-events-with-multiple-field-values/m-p/37520#M8400</guid>
      <dc:creator>mikelanghorst</dc:creator>
      <dc:date>2013-08-16T17:39:46Z</dc:date>
    </item>
  </channel>
</rss>

