<?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 can point transforms REGEX parameter in transforms.conf? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-point-transforms-REGEX-parameter-in-transforms-conf/m-p/127692#M26250</link>
    <description>&lt;P&gt;&lt;CODE&gt;REGEX&lt;/CODE&gt; does not work with the &lt;CODE&gt;in sourcefield&lt;/CODE&gt; option (like &lt;CODE&gt;EXTRACT&lt;/CODE&gt; does). Thus, the 'in ClientDetails' part of your regex is seen as a literal string to be matched. So you probably need to rewrite the regular expression so that it will work for the whole event (&lt;CODE&gt;_raw&lt;/CODE&gt;).&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;K&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2014 11:58:15 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2014-01-28T11:58:15Z</dc:date>
    <item>
      <title>How can point transforms REGEX parameter in transforms.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-point-transforms-REGEX-parameter-in-transforms-conf/m-p/127691#M26249</link>
      <description>&lt;P&gt;Hi..&lt;/P&gt;

&lt;P&gt;I have a created a regex called "ClientDetails" in props.conf and i need two more fields from this extracted field "ClientDetails" , and these fields need to be have MV_ADD feature.&lt;/P&gt;

&lt;P&gt;So now how can i define them in transforms.conf&lt;/P&gt;

&lt;H2&gt;props.conf&lt;/H2&gt;

&lt;PRE&gt;&lt;CODE&gt;EXTRACT-ClientDetails = [A-Z]{1}\s[A-Z]{1}\s([A-Z]{2})\s?(?&amp;lt;ClientDetails&amp;gt;[^\s\']*)[\s\']
REPORT-userinfo = userinfo
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;H2&gt;transforms.conf&lt;/H2&gt;

&lt;PRE&gt;&lt;CODE&gt;[userinfo]
REGEX = \,?(?&amp;lt;UserName&amp;gt;[^(]*)\((?&amp;lt;SectionName&amp;gt;[^)]*)\) in ClientDetails
MV_ADD=true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but this seems to be not workin . can u pls where i am going wrong.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2014 10:48:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-point-transforms-REGEX-parameter-in-transforms-conf/m-p/127691#M26249</guid>
      <dc:creator>rakesh_498115</dc:creator>
      <dc:date>2014-01-28T10:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can point transforms REGEX parameter in transforms.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-point-transforms-REGEX-parameter-in-transforms-conf/m-p/127692#M26250</link>
      <description>&lt;P&gt;&lt;CODE&gt;REGEX&lt;/CODE&gt; does not work with the &lt;CODE&gt;in sourcefield&lt;/CODE&gt; option (like &lt;CODE&gt;EXTRACT&lt;/CODE&gt; does). Thus, the 'in ClientDetails' part of your regex is seen as a literal string to be matched. So you probably need to rewrite the regular expression so that it will work for the whole event (&lt;CODE&gt;_raw&lt;/CODE&gt;).&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;K&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2014 11:58:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-point-transforms-REGEX-parameter-in-transforms-conf/m-p/127692#M26250</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2014-01-28T11:58:15Z</dc:date>
    </item>
  </channel>
</rss>

