<?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: set delimiter in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/set-delimiter/m-p/142942#M29205</link>
    <description>&lt;P&gt;Try adding this to props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[test]
SEDCMD-replacecolon = s/:/=/g
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 27 Sep 2014 07:32:08 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-09-27T07:32:08Z</dc:date>
    <item>
      <title>set delimiter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/set-delimiter/m-p/142941#M29204</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
The key-pair values delimiter is ":" instead of "=", how to configure such that the colon ":" is also a delimiter? thks&lt;BR /&gt;
I configured below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;props.conf
[test]
TRANSFORMS-delim=AddDelimiter

transforms.conf
[AddDelimiter]
DELIMS=":"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But it does not works.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Sep 2014 05:24:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/set-delimiter/m-p/142941#M29204</guid>
      <dc:creator>newbiesplunk</dc:creator>
      <dc:date>2014-09-27T05:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: set delimiter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/set-delimiter/m-p/142942#M29205</link>
      <description>&lt;P&gt;Try adding this to props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[test]
SEDCMD-replacecolon = s/:/=/g
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 27 Sep 2014 07:32:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/set-delimiter/m-p/142942#M29205</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-09-27T07:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: set delimiter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/set-delimiter/m-p/142943#M29206</link>
      <description>&lt;P&gt;Hmm, since that would mean that &lt;CODE&gt;_raw&lt;/CODE&gt; is rewritten, it could mess up timestamps, which regularly use colons. &lt;BR /&gt;
/k&lt;/P&gt;</description>
      <pubDate>Sat, 27 Sep 2014 13:51:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/set-delimiter/m-p/142943#M29206</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2014-09-27T13:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: set delimiter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/set-delimiter/m-p/142944#M29207</link>
      <description>&lt;P&gt;I think this will work&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetypehere]
KV_MODE = none
REPORT-extract1 = special-field-extraction
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[special-field-extraction]
DELIMS = " ", ":"
MV_ADD = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I believe that you need two values for the &lt;CODE&gt;DELIMS&lt;/CODE&gt; attribute - the first is the list of characters that can separate fields, so I set it to a space. The second value identifies the separator between the field name and its value, so I set it to ":". &lt;BR /&gt;
Setting &lt;CODE&gt;KV_MODE&lt;/CODE&gt; to none in props.conf disables the default field extraction, which is based on "=". &lt;CODE&gt;MV_ADD&lt;/CODE&gt; allows multi-value fields, but you can remove this line if it doesn't apply.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Sep 2014 20:17:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/set-delimiter/m-p/142944#M29207</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-09-27T20:17:50Z</dc:date>
    </item>
  </channel>
</rss>

