<?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 Multiple Values in Key/Value pair in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-Values-in-Key-Value-pair/m-p/456825#M78946</link>
    <description>&lt;P&gt;I am looking to return the multiple values I have on my dashboard currently only one shows up. Here is an example:&lt;/P&gt;

&lt;P&gt;Key=1,2,3 &lt;/P&gt;

&lt;P&gt;On my dashboard only the first value ('1') will show up. How can I get all values to show up and this should work no matter how many values may belong to a certain key.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jul 2018 20:58:47 GMT</pubDate>
    <dc:creator>ebkeys94</dc:creator>
    <dc:date>2018-07-24T20:58:47Z</dc:date>
    <item>
      <title>Multiple Values in Key/Value pair</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-Values-in-Key-Value-pair/m-p/456825#M78946</link>
      <description>&lt;P&gt;I am looking to return the multiple values I have on my dashboard currently only one shows up. Here is an example:&lt;/P&gt;

&lt;P&gt;Key=1,2,3 &lt;/P&gt;

&lt;P&gt;On my dashboard only the first value ('1') will show up. How can I get all values to show up and this should work no matter how many values may belong to a certain key.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2018 20:58:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiple-Values-in-Key-Value-pair/m-p/456825#M78946</guid>
      <dc:creator>ebkeys94</dc:creator>
      <dc:date>2018-07-24T20:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Values in Key/Value pair</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-Values-in-Key-Value-pair/m-p/456826#M78947</link>
      <description>&lt;P&gt;It may depend how you extracted the field. You may have to redefine an extraction regex, then do the makemv parsing.&lt;/P&gt;

&lt;P&gt;example : with an event like Key=1,2,3&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;mysearch &amp;gt; | rex "Key=(?&amp;lt;Key_singlevalue&amp;gt;[\d,]*) "  |  eval Key_multivalue=Key_singlevalue | makemv delim="," Key_multivalue | table Key, Key_singlevalue, Key_multivalue 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Take a look at the multivalues functions &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.2/Search/Parsemultivaluefields"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.2/Search/Parsemultivaluefields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2018 23:02:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiple-Values-in-Key-Value-pair/m-p/456826#M78947</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2018-07-24T23:02:02Z</dc:date>
    </item>
  </channel>
</rss>

