<?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 Transform at Index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Transform-at-Index/m-p/237416#M46108</link>
    <description>&lt;P&gt;I am attempting to build a exporting field that ArcSight can use to properly categorize. Here what I got:&lt;/P&gt;

&lt;P&gt;transform.conf&lt;BR /&gt;
[devClassName]&lt;BR /&gt;
REGEX = ($m)EventCode=(\d+)&lt;BR /&gt;
FORMAT = devClassID::Microsoft-Windows-security-auditing:$1&lt;BR /&gt;
WRITE_META = true&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-DevExtract = devClassName&lt;/P&gt;

&lt;P&gt;fields.conf&lt;BR /&gt;
[devClassID]&lt;BR /&gt;
INDEXED = true&lt;/P&gt;

&lt;P&gt;I need the result to be: Microsoft-Windows-security-auditing:4663 were as 4663 is pulled from EventCode in Splunk.&lt;/P&gt;

&lt;P&gt;I have tried to build the transform just on my search forwarder, but it does not allow me to use the var $1&lt;/P&gt;</description>
    <pubDate>Sat, 08 Oct 2016 02:14:02 GMT</pubDate>
    <dc:creator>baumerr</dc:creator>
    <dc:date>2016-10-08T02:14:02Z</dc:date>
    <item>
      <title>Transform at Index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transform-at-Index/m-p/237416#M46108</link>
      <description>&lt;P&gt;I am attempting to build a exporting field that ArcSight can use to properly categorize. Here what I got:&lt;/P&gt;

&lt;P&gt;transform.conf&lt;BR /&gt;
[devClassName]&lt;BR /&gt;
REGEX = ($m)EventCode=(\d+)&lt;BR /&gt;
FORMAT = devClassID::Microsoft-Windows-security-auditing:$1&lt;BR /&gt;
WRITE_META = true&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-DevExtract = devClassName&lt;/P&gt;

&lt;P&gt;fields.conf&lt;BR /&gt;
[devClassID]&lt;BR /&gt;
INDEXED = true&lt;/P&gt;

&lt;P&gt;I need the result to be: Microsoft-Windows-security-auditing:4663 were as 4663 is pulled from EventCode in Splunk.&lt;/P&gt;

&lt;P&gt;I have tried to build the transform just on my search forwarder, but it does not allow me to use the var $1&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2016 02:14:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transform-at-Index/m-p/237416#M46108</guid>
      <dc:creator>baumerr</dc:creator>
      <dc:date>2016-10-08T02:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Transform at Index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transform-at-Index/m-p/237417#M46109</link>
      <description>&lt;P&gt;Hi baumerr, &lt;/P&gt;

&lt;P&gt;Seems the regex in your [devClassName] stanza is incorrect. Should be: &lt;/P&gt;

&lt;P&gt;REGEX = (?m)^EventCode=(\d+)&lt;/P&gt;

&lt;P&gt;The (?m)^ in the REGEX indicates a multi-line event that starts with EventCode. Please try again using the suggested regex statement. &lt;/P&gt;

&lt;P&gt;Hope it will work. Thanks! &lt;BR /&gt;
Hunter&lt;/P&gt;</description>
      <pubDate>Sun, 09 Oct 2016 02:38:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transform-at-Index/m-p/237417#M46109</guid>
      <dc:creator>hunters_splunk</dc:creator>
      <dc:date>2016-10-09T02:38:23Z</dc:date>
    </item>
  </channel>
</rss>

