<?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: Why isn't this transforming? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-this-transforming/m-p/40280#M7477</link>
    <description>&lt;P&gt;Thanks, that seems to work.  I was thrown off in the documentation by:&lt;/P&gt;

&lt;P&gt;"Use the TRANSFORMS field extraction type to create index-time field extractions. Use the&lt;BR /&gt;
REPORT or EXTRACT field extraction types to create search-time field extractions.&lt;BR /&gt;
"&lt;/P&gt;</description>
    <pubDate>Sun, 10 Jul 2011 09:36:30 GMT</pubDate>
    <dc:creator>howyagoin</dc:creator>
    <dc:date>2011-07-10T09:36:30Z</dc:date>
    <item>
      <title>Why isn't this transforming?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-this-transforming/m-p/40278#M7475</link>
      <description>&lt;P&gt;I've got some Active Directory logs which are CSV that I'm trying to split apart into appropriate fields.  The header of the .csv.zip files reads:&lt;/P&gt;

&lt;PRE&gt;
RecordNumber,TimeGenerated,EventID,EventType,EventTypeName,EventCategory,EventCategoryName,SourceName,Strings,SID
&lt;/PRE&gt;

&lt;P&gt;And I've created an inputs.conf for the directory where the files are that reads:&lt;/P&gt;

&lt;PRE&gt;
[monitor:///logs/test]
disabled = false
crcSalt = &amp;lt;SOURCE&amp;gt;
followTail = 0
sourcetype = ad-logs
index = test
host = ad
&lt;/PRE&gt;

&lt;P&gt;In my props.conf I have:&lt;/P&gt;

&lt;PRE&gt;
[ad-logs]
CHECK_FOR_HEADER = false
TRANSFORMS-ad = ad-csv
&lt;/PRE&gt;

&lt;P&gt;I've tried this with and without the check-for-header defined..&lt;/P&gt;

&lt;P&gt;And in transforms.conf:&lt;/P&gt;

&lt;PRE&gt;
[ad-csv]
DELIMS = ","
FIELDS = "RecordNumber","TimeGenerated","EventID","EventType","EventTypeName","EventCategory","EventCategoryName","SourceName","Strings","SID"
&lt;/PRE&gt;

&lt;P&gt;I've tried the transforms.conf with and without quoting the field names.&lt;/P&gt;

&lt;P&gt;The only way that I've got this to work is if I import just a single file, not monitor a directory, but obviously that gets to be a bit annoying.&lt;/P&gt;

&lt;P&gt;What am I missing, or what should I be trying that I've not yet tried?  I've also tried it without the DELIMS in the transforms.conf...no joy.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2011 03:07:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-this-transforming/m-p/40278#M7475</guid>
      <dc:creator>howyagoin</dc:creator>
      <dc:date>2011-07-10T03:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't this transforming?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-this-transforming/m-p/40279#M7476</link>
      <description>&lt;P&gt;CSV/&lt;CODE&gt;DELIMS&lt;/CODE&gt;/&lt;CODE&gt;FIELDS&lt;/CODE&gt; extractions are search-time, not index-time. Therefore, it should be specified in props.conf with a &lt;CODE&gt;REPORT-ad&lt;/CODE&gt; clause rather than a &lt;CODE&gt;TRANSFORMS-ad&lt;/CODE&gt; clause.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2011 05:48:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-this-transforming/m-p/40279#M7476</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-07-10T05:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't this transforming?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-this-transforming/m-p/40280#M7477</link>
      <description>&lt;P&gt;Thanks, that seems to work.  I was thrown off in the documentation by:&lt;/P&gt;

&lt;P&gt;"Use the TRANSFORMS field extraction type to create index-time field extractions. Use the&lt;BR /&gt;
REPORT or EXTRACT field extraction types to create search-time field extractions.&lt;BR /&gt;
"&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2011 09:36:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-this-transforming/m-p/40280#M7477</guid>
      <dc:creator>howyagoin</dc:creator>
      <dc:date>2011-07-10T09:36:30Z</dc:date>
    </item>
  </channel>
</rss>

