<?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 to count the number of values? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-count-the-number-of-values/m-p/644035#M11059</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I would like to count the number of values every time the search matches the string&amp;nbsp; alternativeIdValue- i.e. after the = count the values separated by ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;alternativeIdValue=IE778898,WX888889,IS89657578,XS76575889.............................................&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The length of each value can be different and&amp;nbsp; the only common pattern is they are separated by comma and they start with an alphabet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 12:49:26 GMT</pubDate>
    <dc:creator>raghul725</dc:creator>
    <dc:date>2023-05-22T12:49:26Z</dc:date>
    <item>
      <title>How to count the number of values?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-count-the-number-of-values/m-p/644035#M11059</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I would like to count the number of values every time the search matches the string&amp;nbsp; alternativeIdValue- i.e. after the = count the values separated by ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;alternativeIdValue=IE778898,WX888889,IS89657578,XS76575889.............................................&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The length of each value can be different and&amp;nbsp; the only common pattern is they are separated by comma and they start with an alphabet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 12:49:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-count-the-number-of-values/m-p/644035#M11059</guid>
      <dc:creator>raghul725</dc:creator>
      <dc:date>2023-05-22T12:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Count the number of values</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-count-the-number-of-values/m-p/644036#M11060</link>
      <description>&lt;P&gt;Assuming alternativeIdValue is already a field, try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval count=mvcount(split(alternativeIdValue,","))&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 21 May 2023 14:44:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-count-the-number-of-values/m-p/644036#M11060</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-05-21T14:44:53Z</dc:date>
    </item>
  </channel>
</rss>

