<?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 easily parse syslog data into multi value field in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-easily-parse-syslog-data-into-multi-value-field/m-p/153078#M31150</link>
    <description>&lt;P&gt;So: in the search app (&lt;CODE&gt;$SPLUNK_HOME/etc/apps/search/local&lt;/CODE&gt;), edit props.conf and transforms.conf.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;props.conf
[syslog]
REPORT-mvadd = add_mv


transforms.conf
[add_mv]
MV_ADD = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This should tell the search extractor to do multiple values for each key if it exists.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Feb 2014 13:28:21 GMT</pubDate>
    <dc:creator>alacercogitatus</dc:creator>
    <dc:date>2014-02-17T13:28:21Z</dc:date>
    <item>
      <title>How to easily parse syslog data into multi value field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-easily-parse-syslog-data-into-multi-value-field/m-p/153077#M31149</link>
      <description>&lt;P&gt;I'd like to parse some data provided by syslog. The format is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;date host service: key1=value1 key2=value2 key3=value3 key3=value4
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Most fields are parsed correctly, apart from key3 which I want to be a multi value field. Splunk (5 and 6) parses this as &lt;CODE&gt;key3=value3&lt;/CODE&gt; and not &lt;CODE&gt;key3=(value3 value4)&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;I can change the input data format after the colon, but I think I saw some log line that created a multi value field where the input log had two keys with the same name. I cannot identify these lines with their own source/sourcetype, so I'd like to use something that works with sourcetype=syslog.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2014 13:00:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-easily-parse-syslog-data-into-multi-value-field/m-p/153077#M31149</guid>
      <dc:creator>Unister</dc:creator>
      <dc:date>2014-02-17T13:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to easily parse syslog data into multi value field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-easily-parse-syslog-data-into-multi-value-field/m-p/153078#M31150</link>
      <description>&lt;P&gt;So: in the search app (&lt;CODE&gt;$SPLUNK_HOME/etc/apps/search/local&lt;/CODE&gt;), edit props.conf and transforms.conf.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;props.conf
[syslog]
REPORT-mvadd = add_mv


transforms.conf
[add_mv]
MV_ADD = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This should tell the search extractor to do multiple values for each key if it exists.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2014 13:28:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-easily-parse-syslog-data-into-multi-value-field/m-p/153078#M31150</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2014-02-17T13:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to easily parse syslog data into multi value field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-easily-parse-syslog-data-into-multi-value-field/m-p/153079#M31151</link>
      <description>&lt;P&gt;I tried it with a new app or with &lt;CODE&gt;etc/apps/search/local&lt;/CODE&gt; but it isn't working. I tried finding the position where the log line is split at &lt;CODE&gt;=&lt;/CODE&gt; but I cannot find it. There are multiple transforms but none is used for syslog...&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2014 14:36:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-easily-parse-syslog-data-into-multi-value-field/m-p/153079#M31151</guid>
      <dc:creator>Unister</dc:creator>
      <dc:date>2014-02-17T14:36:21Z</dc:date>
    </item>
  </channel>
</rss>

