<?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: Extracting multiple field values from a comma seperated list in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Extracting-multiple-field-values-from-a-comma-seperated-list/m-p/11548#M804</link>
    <description>&lt;P&gt;If you have  extracted the field &lt;EM&gt;Books&lt;/EM&gt; with a single value of &lt;EM&gt;1,2,3,65,2,5&lt;/EM&gt; and want it to report as a multi-valued attribute, try this at search time:&lt;/P&gt;

&lt;P&gt;Books = * | makemv delim="," Books&lt;/P&gt;</description>
    <pubDate>Thu, 15 Apr 2010 19:43:07 GMT</pubDate>
    <dc:creator>bwooden</dc:creator>
    <dc:date>2010-04-15T19:43:07Z</dc:date>
    <item>
      <title>Extracting multiple field values from a comma seperated list</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extracting-multiple-field-values-from-a-comma-seperated-list/m-p/11546#M802</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;What is the best way to extract into a single field mutiple values from a comma-seperated list:&lt;/P&gt;

&lt;P&gt;Example: xxxx Books:1,2,3,65,2,5 xxxxxx&lt;/P&gt;

&lt;P&gt;From this I have created a field called Books which contains the string 1,2,3,65,2,5 however what I would like to do is create a field called Books which takes each value as a single entry.&lt;/P&gt;

&lt;P&gt;So from the above example I would have 6 entries in the field Book for this particular log entry.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2010 18:30:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extracting-multiple-field-values-from-a-comma-seperated-list/m-p/11546#M802</guid>
      <dc:creator>Josh</dc:creator>
      <dc:date>2010-04-15T18:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting multiple field values from a comma seperated list</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extracting-multiple-field-values-from-a-comma-seperated-list/m-p/11547#M803</link>
      <description>&lt;P&gt;This can be easily done through regex on your props.conf &amp;amp; transforms.conf:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
  &lt;UL&gt;
  &lt;LI&gt;props.conf&lt;/LI&gt;
  &lt;/UL&gt;
&lt;/BLOCKQUOTE&gt;

&lt;PRE&gt;
[sourcetype_for_the_csv]
REPORT-multifield = multifield
&lt;/PRE&gt;

&lt;BLOCKQUOTE&gt;
  &lt;UL&gt;
  &lt;LI&gt;transforms.conf&lt;/LI&gt;
  &lt;/UL&gt;
&lt;/BLOCKQUOTE&gt;

&lt;PRE&gt;
[multifield]
REGEX = Books:(\d+,\d+,\d+,\d+,\d+,\d+)
FORMAT = book::$1
&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Apr 2010 19:21:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extracting-multiple-field-values-from-a-comma-seperated-list/m-p/11547#M803</guid>
      <dc:creator>BunnyHop</dc:creator>
      <dc:date>2010-04-15T19:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting multiple field values from a comma seperated list</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extracting-multiple-field-values-from-a-comma-seperated-list/m-p/11548#M804</link>
      <description>&lt;P&gt;If you have  extracted the field &lt;EM&gt;Books&lt;/EM&gt; with a single value of &lt;EM&gt;1,2,3,65,2,5&lt;/EM&gt; and want it to report as a multi-valued attribute, try this at search time:&lt;/P&gt;

&lt;P&gt;Books = * | makemv delim="," Books&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2010 19:43:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extracting-multiple-field-values-from-a-comma-seperated-list/m-p/11548#M804</guid>
      <dc:creator>bwooden</dc:creator>
      <dc:date>2010-04-15T19:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting multiple field values from a comma seperated list</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extracting-multiple-field-values-from-a-comma-seperated-list/m-p/11549#M805</link>
      <description>&lt;P&gt;Just in case, the other option is to use transforms.conf and fields.conf&lt;BR /&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://wiki.splunk.com/Community:Comma-Separated_Multi-Value_Field_Extraction_In_Single-line_Event"&gt;http://wiki.splunk.com/Community:Comma-Separated_Multi-Value_Field_Extraction_In_Single-line_Event&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2011 18:50:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extracting-multiple-field-values-from-a-comma-seperated-list/m-p/11549#M805</guid>
      <dc:creator>Masa</dc:creator>
      <dc:date>2011-11-06T18:50:13Z</dc:date>
    </item>
  </channel>
</rss>

