<?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: How to extract all values from a field with multiple values? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285648#M86424</link>
    <description>&lt;P&gt;Please click &lt;CODE&gt;Accept&lt;/CODE&gt; to close the question.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2019 05:34:39 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2019-07-11T05:34:39Z</dc:date>
    <item>
      <title>How to extract all values from a field with multiple values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285641#M86417</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I get the event,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;IP="127.0.0.1",..., TAG_NAME="GRP_ROOT_MGT", TAG_NAME="GRP_IS_MM_MGT", TAG_NAME="GRP_RB_NN_MGT", BU_NAME="BU_RB_NN", ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The problem is that, one field has multiple values and Splunk detects just the first "TAG_NAME" and ignores the second and third one. However, I need them all. How can I get all of them?&lt;/P&gt;

&lt;P&gt;I want something like: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...
TAG1="xxx",
TAG2="xxx",
TAG3="xxx",
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please give me some idea or some help,&lt;BR /&gt;
Thank you very much&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 11:42:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285641#M86417</guid>
      <dc:creator>Lindaiyu</dc:creator>
      <dc:date>2016-04-07T11:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract all values from a field with multiple values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285642#M86418</link>
      <description>&lt;P&gt;If you're using the &lt;CODE&gt;rex&lt;/CODE&gt; command to extract the TAG_NAME fields, be sure to add the &lt;CODE&gt;max_match=0&lt;/CODE&gt; option to tell Splunk to return all instances of the field.&lt;/P&gt;

&lt;P&gt;If you're extracting the field some other way, please explain so we can help you.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:22:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285642#M86418</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-09-29T09:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract all values from a field with multiple values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285643#M86419</link>
      <description>&lt;P&gt;Show us how you are getting the single-value field value.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 15:13:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285643#M86419</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-04-07T15:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract all values from a field with multiple values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285644#M86420</link>
      <description>&lt;P&gt;You would have to set multivalued field extractions for your data. &lt;BR /&gt;
Using transforms (example with almost same use-case as yours) &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.3/Knowledge/Createandmaintainsearch-timefieldextractionsthroughconfigurationfiles#Handling_events_with_multivalue_fields"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.3/Knowledge/Createandmaintainsearch-timefieldextractionsthroughconfigurationfiles#Handling_events_with_multivalue_fields&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Using fields.conf&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.1/Knowledge/ConfigureSplunktoparsemulti-valuefields"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.1/Knowledge/ConfigureSplunktoparsemulti-valuefields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 16:23:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285644#M86420</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-04-07T16:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract all values from a field with multiple values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285645#M86421</link>
      <description>&lt;P&gt;it works with the parameter"max_match"&lt;BR /&gt;
Thank you a lot!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 16:48:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285645#M86421</guid>
      <dc:creator>Lindaiyu</dc:creator>
      <dc:date>2016-04-07T16:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract all values from a field with multiple values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285646#M86422</link>
      <description>&lt;P&gt;Thank you for replying,&lt;BR /&gt;
I get from a python script,&lt;BR /&gt;
now I find a method&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 16:49:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285646#M86422</guid>
      <dc:creator>Lindaiyu</dc:creator>
      <dc:date>2016-04-07T16:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract all values from a field with multiple values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285647#M86423</link>
      <description>&lt;P&gt;worked for me with same issue , this should be accepted answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 02:14:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285647#M86423</guid>
      <dc:creator>sander980</dc:creator>
      <dc:date>2019-07-11T02:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract all values from a field with multiple values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285648#M86424</link>
      <description>&lt;P&gt;Please click &lt;CODE&gt;Accept&lt;/CODE&gt; to close the question.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 05:34:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-all-values-from-a-field-with-multiple-values/m-p/285648#M86424</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-11T05:34:39Z</dc:date>
    </item>
  </channel>
</rss>

