<?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 do i specify a multivalue field when I’m outputting key/value pairs? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-specify-a-multivalue-field-when-I-m-outputting-key/m-p/237298#M188628</link>
    <description>&lt;P&gt;MV_ADD might also work as well:&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/109827/multiple-key-value-pairs-during-search.html"&gt;http://answers.splunk.com/answers/109827/multiple-key-value-pairs-during-search.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/Transformsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/admin/Transformsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;MV_ADD = [true|false]&lt;BR /&gt;
* NOTE: This attribute is only valid for search-time field extractions.&lt;BR /&gt;
* Optional. Controls what the extractor does when it finds a field which&lt;BR /&gt;
  already exists.&lt;BR /&gt;
* If set to true, the extractor makes the field a multivalued field and&lt;BR /&gt;
  appends the newly found value, otherwise the newly found value is&lt;BR /&gt;
  discarded.&lt;BR /&gt;
* Defaults to false&lt;/P&gt;</description>
    <pubDate>Tue, 06 Oct 2015 00:48:51 GMT</pubDate>
    <dc:creator>splunkIT</dc:creator>
    <dc:date>2015-10-06T00:48:51Z</dc:date>
    <item>
      <title>How do i specify a multivalue field when I’m outputting key/value pairs?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-specify-a-multivalue-field-when-I-m-outputting-key/m-p/237293#M188623</link>
      <description>&lt;P&gt;So let's say i want an event&lt;BR /&gt;
field1=blah field2=blah field3=blah,blah2,blah3&lt;/P&gt;

&lt;P&gt;and i want field 3 to be extracted at a multivalue field without any extra config? Do i need to do something special? Is there some special way to output this to where splunk will extract it as a multivalue without any extra config? commas definitely don’t work, also field3=blah field3=blah2 also don’t work&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 15:26:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-specify-a-multivalue-field-when-I-m-outputting-key/m-p/237293#M188623</guid>
      <dc:creator>splunkIT</dc:creator>
      <dc:date>2015-09-22T15:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do i specify a multivalue field when I’m outputting key/value pairs?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-specify-a-multivalue-field-when-I-m-outputting-key/m-p/237294#M188624</link>
      <description>&lt;P&gt;You can use this in your search: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.5/SearchReference/mvexpand"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.5/SearchReference/mvexpand&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Or configure props.conf with:&lt;/P&gt;

&lt;P&gt;KV_MODE = multi&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 15:32:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-specify-a-multivalue-field-when-I-m-outputting-key/m-p/237294#M188624</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2015-09-22T15:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do i specify a multivalue field when I’m outputting key/value pairs?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-specify-a-multivalue-field-when-I-m-outputting-key/m-p/237295#M188625</link>
      <description>&lt;P&gt;If you want to do this at search time -&lt;/P&gt;

&lt;P&gt;Use makemv to make the field a multivalue field&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|stats count|fields - count|eval field1="blah"|eval field2="blah" |eval field3="blah,blah2,blah3"|table *|makemv field3 delim=","
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will give you -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;field1  field2   field3
blah    blah     blah
                   blah2
                   blah3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In your Splunk results. Note that we tell it what delim to use.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 15:37:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-specify-a-multivalue-field-when-I-m-outputting-key/m-p/237295#M188625</guid>
      <dc:creator>Flynt</dc:creator>
      <dc:date>2015-09-22T15:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do i specify a multivalue field when I’m outputting key/value pairs?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-specify-a-multivalue-field-when-I-m-outputting-key/m-p/237296#M188626</link>
      <description>&lt;P&gt;I need to know how to have splunk AUTOMATICALLY extract multivalues from the format specified.  Or is this not possible?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 17:53:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-specify-a-multivalue-field-when-I-m-outputting-key/m-p/237296#M188626</guid>
      <dc:creator>splunkIT</dc:creator>
      <dc:date>2015-09-22T17:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do i specify a multivalue field when I’m outputting key/value pairs?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-specify-a-multivalue-field-when-I-m-outputting-key/m-p/237297#M188627</link>
      <description>&lt;P&gt;Splunk can not automatically extract multivalued field from the format in question. Values are delimited by comma (for field3) which can be a valid character in the value. The only option is to handle it during search-time (this answer by @Flynt OR using props/transforms config files.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 18:40:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-specify-a-multivalue-field-when-I-m-outputting-key/m-p/237297#M188627</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-09-22T18:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do i specify a multivalue field when I’m outputting key/value pairs?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-i-specify-a-multivalue-field-when-I-m-outputting-key/m-p/237298#M188628</link>
      <description>&lt;P&gt;MV_ADD might also work as well:&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/109827/multiple-key-value-pairs-during-search.html"&gt;http://answers.splunk.com/answers/109827/multiple-key-value-pairs-during-search.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/Transformsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/admin/Transformsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;MV_ADD = [true|false]&lt;BR /&gt;
* NOTE: This attribute is only valid for search-time field extractions.&lt;BR /&gt;
* Optional. Controls what the extractor does when it finds a field which&lt;BR /&gt;
  already exists.&lt;BR /&gt;
* If set to true, the extractor makes the field a multivalued field and&lt;BR /&gt;
  appends the newly found value, otherwise the newly found value is&lt;BR /&gt;
  discarded.&lt;BR /&gt;
* Defaults to false&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2015 00:48:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-i-specify-a-multivalue-field-when-I-m-outputting-key/m-p/237298#M188628</guid>
      <dc:creator>splunkIT</dc:creator>
      <dc:date>2015-10-06T00:48:51Z</dc:date>
    </item>
  </channel>
</rss>

