<?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: Not able to sourcetype in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-sourcetype/m-p/58569#M11512</link>
    <description>&lt;P&gt;Thanks Stephen.. it works now.  what i did was not only correct SourceType to Sourcetype in transforms.conf but also move props and transforms.conf to /etc/system/local directory from /etc/apps/SplunkForwarder/local.&lt;BR /&gt;&lt;BR /&gt;
so my new question is should i always have props and transforms under /etc/system/local as supposed to under an App (/etc/apps/app-name/local) for index time transformations ?   If we have different applications with its own props and transforms, should we always combine that under /etc/system/local ?&lt;/P&gt;

&lt;P&gt;thanks&lt;BR /&gt;
pmr&lt;/P&gt;</description>
    <pubDate>Mon, 27 Sep 2010 22:15:51 GMT</pubDate>
    <dc:creator>pmr</dc:creator>
    <dc:date>2010-09-27T22:15:51Z</dc:date>
    <item>
      <title>Not able to sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-sourcetype/m-p/58567#M11510</link>
      <description>&lt;P&gt;I'm unable to force sourcetype from props.conf.  Relatively new to splunk, am trying to setup logging of solaris /var/adm/messages.  Am extracting ftp from the message and trying to sourcetype it as ftp.   what's happening is if i try to set sourcetype to Solaris_Messages under inputs.conf for all /var/adm/messages it works.  However if i try to extract "ftp" with props.conf and transforms.conf it sourcetypes it as "Syslog".  I'm wondering if some default or learned sourcetypes is being enforced.  Below are outputs of each files :&lt;/P&gt;

&lt;P&gt;/opt/splunk/etc/apps/SplunkForwarder/local/props.conf :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::.../adm/messages]
TRANSFORMS-sourcetype_for_ftpd = sourcetype_for_ftpd
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/opt/splunk/etc/apps/SplunkForwarder/local/transforms.conf :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype_for_ftpd]
DEST_KEY = MetaData:SourceType
REGEX = ftpd\[\d+\]\:
FORMAT = sourcetype::ftp
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;when i set props and transforms to the above and restart, all ftp messages are sourcetype'd as Syslog.   But when i simply set inputs.conf like below :&lt;/P&gt;

&lt;P&gt;/opt/splunk/etc/apps/SplunkForwarder/local/inputs.conf :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/adm/messages]
sourcetype = Solaris_Messages
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;all /var/adm/messages are sourcetype'd as Solaris_Messages which is good.
I'm wondering why my props and transforms isn't working as expected, i tried using btool and show config but couldn't exactly figure out from which file sourcetype=Syslog is getting applied.   This is in a forwarder config on solaris.  Basically sourcetype seems to be working under inputs.conf whereas its not for props and transforms.&lt;/P&gt;

&lt;P&gt;Any help is greatly appreciated.   &lt;/P&gt;

&lt;P&gt;thanks
pmr&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2010 09:57:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-sourcetype/m-p/58567#M11510</guid>
      <dc:creator>pmr</dc:creator>
      <dc:date>2010-09-27T09:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-sourcetype/m-p/58568#M11511</link>
      <description>&lt;P&gt;In transforms.conf, &lt;CODE&gt;DEST_KEY&lt;/CODE&gt; is case sensitive and should be &lt;CODE&gt;MetaData:Sourcetype&lt;/CODE&gt; as specified in transforms.conf.spec.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2010 12:06:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-sourcetype/m-p/58568#M11511</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2010-09-27T12:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-sourcetype/m-p/58569#M11512</link>
      <description>&lt;P&gt;Thanks Stephen.. it works now.  what i did was not only correct SourceType to Sourcetype in transforms.conf but also move props and transforms.conf to /etc/system/local directory from /etc/apps/SplunkForwarder/local.&lt;BR /&gt;&lt;BR /&gt;
so my new question is should i always have props and transforms under /etc/system/local as supposed to under an App (/etc/apps/app-name/local) for index time transformations ?   If we have different applications with its own props and transforms, should we always combine that under /etc/system/local ?&lt;/P&gt;

&lt;P&gt;thanks&lt;BR /&gt;
pmr&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2010 22:15:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-sourcetype/m-p/58569#M11512</guid>
      <dc:creator>pmr</dc:creator>
      <dc:date>2010-09-27T22:15:51Z</dc:date>
    </item>
  </channel>
</rss>

