<?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: Two different sourcetypes in the same folder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11711#M693</link>
    <description>&lt;P&gt;should also whitelist (?:topics.conf|queues.conf)$ if there might be other files in the directory you don't want.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Apr 2010 22:25:52 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2010-04-19T22:25:52Z</dc:date>
    <item>
      <title>Two different sourcetypes in the same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11708#M690</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am trying to pick up to files in specific directories under different sourectypes. &lt;/P&gt;

&lt;PRE&gt;
[monitor:///app/ems-store-uat/uat/.../config/queues.conf]
sourcetype = ems_queues
disabled = false

[monitor:///app/ems-store-uat/uat/.../config/topics.conf]
sourcetype = ems_topics
disabled = false
&lt;/PRE&gt;

&lt;P&gt;The files exist in multiple paths such as /app/ems-store-uat/uat/U1_LN_DERIV_TEST/config/queues.conf &amp;amp; /app/ems-store-uat-uat/U1_LN_DERIV_TEST/config/topics.conf.&lt;/P&gt;

&lt;P&gt;I want them under separate sourcetypes, because I want to group them by different type of config, but it seems that the first one is blocking the second one - the topics.conf get blacklisted, perhaps by the first?&lt;/P&gt;

&lt;PRE&gt;
04-19-2010 10:43:09.212 INFO  TailingProcessor - Adding /app/ems-store-uat/uat/U1_LN_DERIV_STAGING_DESFOCASH/config/topics.conf to ignore list.
04-19-2010 10:43:09.492 DEBUG TailingProcessor - Ignoring non-whitelisted file: /app/ems-store-uat/uat/U1_LN_DERIV_AIRLOCK/config/topics.conf
04-19-2010 10:43:09.492 INFO  TailingProcessor - Adding /app/ems-store-uat/uat/U1_LN_DERIV_AIRLOCK/config/topics.conf to ignore list.
&lt;/PRE&gt;

&lt;P&gt;Is there a way that I can do this?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2010 16:51:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11708#M690</guid>
      <dc:creator>Hazel</dc:creator>
      <dc:date>2010-04-19T16:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Two different sourcetypes in the same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11709#M691</link>
      <description>&lt;P&gt;The behavior you're describing sounds like a bug.  You've specified a whitelist by naming the log file in your monitor input.  Please file a support ticket.&lt;/P&gt;

&lt;P&gt;In the meantime, you should be able to use a single monitor input in conjunction with props.conf to get this to work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;inputs.conf:
[monitor:///app/ems-store-uat/uat/.../config]
_whitelist = (topics\.conf|queues\.conf)$

props.conf:
[source::.../topics.conf]
sourcetype=ems_topics

[source::.../queues.conf]
sourcetype=ems_queues
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Apr 2010 18:45:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11709#M691</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-04-19T18:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Two different sourcetypes in the same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11710#M692</link>
      <description>&lt;P&gt;Please let us know the version of your forwarder/monitor, as there were significant changes made as of 4.1.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2010 22:24:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11710#M692</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-04-19T22:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Two different sourcetypes in the same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11711#M693</link>
      <description>&lt;P&gt;should also whitelist (?:topics.conf|queues.conf)$ if there might be other files in the directory you don't want.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2010 22:25:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11711#M693</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-04-19T22:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Two different sourcetypes in the same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11712#M694</link>
      <description>&lt;P&gt;The forwarder is currently on version: Splunk 4.0.7 (build 72459).  Should I upgrade to 4.1 to fix the issues?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2010 22:48:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11712#M694</guid>
      <dc:creator>Hazel</dc:creator>
      <dc:date>2010-04-19T22:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Two different sourcetypes in the same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11713#M695</link>
      <description>&lt;P&gt;Thanks I will try this in the meantime.  See comment above for current version.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2010 00:53:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11713#M695</guid>
      <dc:creator>Hazel</dc:creator>
      <dc:date>2010-04-20T00:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Two different sourcetypes in the same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11714#M696</link>
      <description>&lt;P&gt;Yes - good point GK.  I've updated my example now.  Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2010 09:24:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11714#M696</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-04-20T09:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Two different sourcetypes in the same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11715#M697</link>
      <description>&lt;P&gt;4.1 will work the way you have configured above, but 4.0 and below will require tina_p's method below to work reliably.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2010 09:47:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11715#M697</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-04-20T09:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Two different sourcetypes in the same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11716#M698</link>
      <description>&lt;P&gt;Thankyou all for your comments, I will upgrade and implement this in the meantime.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2010 15:03:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11716#M698</guid>
      <dc:creator>Hazel</dc:creator>
      <dc:date>2010-04-20T15:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Two different sourcetypes in the same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11717#M699</link>
      <description>&lt;UL&gt;
&lt;LI&gt;I have upgraded and can confirm that this is working. Thanks for your help!&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 20 Apr 2010 17:45:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11717#M699</guid>
      <dc:creator>Hazel</dc:creator>
      <dc:date>2010-04-20T17:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Two different sourcetypes in the same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11718#M700</link>
      <description>&lt;P&gt;are you sure multiple sourcetypes in inputs.conf should work as expected in 4.1?  I'm trying something very similar in 4.1.6 and it doesn't seem to work.&lt;/P&gt;

&lt;P&gt;looking through the guides I found this statement:
"Note: Monitor input stanzas may not overlap. That is, monitoring /a/path while also monitoring /a/path/subdir will produce unreliable results. Similarly, monitor input stanzas that watch the same directory with different whitelists, blacklists, and wildcard components are not supported."&lt;/P&gt;

&lt;P&gt;from here: &lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Monitorfilesanddirectories" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Monitorfilesanddirectories&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;which seems to imply that you can't define multiple sourcetypes in inputs.conf.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2011 02:04:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Two-different-sourcetypes-in-the-same-folder/m-p/11718#M700</guid>
      <dc:creator>tpsplunk</dc:creator>
      <dc:date>2011-03-05T02:04:36Z</dc:date>
    </item>
  </channel>
</rss>

