<?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: multivalues in field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/multivalues-in-field/m-p/27940#M5480</link>
    <description>&lt;P&gt;hi nick, thanks you answer, I think set configure is better, but I don't know clear about this configure, could you give me an example? thanks&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2011 06:18:04 GMT</pubDate>
    <dc:creator>ken_t_huang</dc:creator>
    <dc:date>2011-06-15T06:18:04Z</dc:date>
    <item>
      <title>multivalues in field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multivalues-in-field/m-p/27938#M5478</link>
      <description>&lt;P&gt;I have a data like this:&lt;/P&gt;

&lt;P&gt;NUM=001,Rules="Food Water"&lt;/P&gt;

&lt;P&gt;NUM=002,Rules="Water Product"&lt;/P&gt;

&lt;P&gt;NUM=003,Rules="Water"&lt;/P&gt;

&lt;P&gt;NUM=004,Rules="Product"&lt;/P&gt;

&lt;P&gt;NUM=005,Rules="Water Product"&lt;/P&gt;

&lt;P&gt;and when I pick the field for "Rules", it shows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rules (categorical)
Top 10 values of rules
Value               #     %
**Water Product     2     40%
Food Water          1     20%
Water               1     20%
Product             1     20%**
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;how can I show the correct category? like below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rules (categorical)
Top 10 values of rules
Value       #     %
**Water     4     50%
Product     3     37.5%
Food        1     12.5%**
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;please kindly help this issue, thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 03:28:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multivalues-in-field/m-p/27938#M5478</guid>
      <dc:creator>ken_t_huang</dc:creator>
      <dc:date>2011-06-15T03:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: multivalues in field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multivalues-in-field/m-p/27939#M5479</link>
      <description>&lt;P&gt;This should work to turn the Rules field into a multivalue field. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;your search&amp;gt; | makemv delim=" " Rules
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/SearchReference/makemv"&gt;http://www.splunk.com/base/Documentation/latest/SearchReference/makemv&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Or you dont want to use the search language to do it, you can read about how to configure the Rules field to automatically become extracted as a multivalued field. &lt;A href="http://www.splunk.com/base/Documentation/4.2.1/Knowledge/ConfigureSplunktoparsemulti-valuefields"&gt;http://www.splunk.com/base/Documentation/4.2.1/Knowledge/ConfigureSplunktoparsemulti-valuefields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 06:05:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multivalues-in-field/m-p/27939#M5479</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2011-06-15T06:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: multivalues in field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multivalues-in-field/m-p/27940#M5480</link>
      <description>&lt;P&gt;hi nick, thanks you answer, I think set configure is better, but I don't know clear about this configure, could you give me an example? thanks&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 06:18:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multivalues-in-field/m-p/27940#M5480</guid>
      <dc:creator>ken_t_huang</dc:creator>
      <dc:date>2011-06-15T06:18:04Z</dc:date>
    </item>
  </channel>
</rss>

