<?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: forwarder inputs.conf to watch multiple paths in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/forwarder-inputs-conf-to-watch-multiple-paths/m-p/51628#M9901</link>
    <description>&lt;P&gt;This seems to have worked.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = one.example.com

[monitor:///var/log]

[monitor:///Library/Logs]
blacklist = CrashPlan*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I think I had&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;blacklist=*CrashPlan*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;before and that didn't work.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Aug 2013 22:17:35 GMT</pubDate>
    <dc:creator>cthacker</dc:creator>
    <dc:date>2013-08-29T22:17:35Z</dc:date>
    <item>
      <title>forwarder inputs.conf to watch multiple paths</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/forwarder-inputs-conf-to-watch-multiple-paths/m-p/51627#M9900</link>
      <description>&lt;P&gt;I've tried a bunch of different things on my Forwarder to get it to watch 2 different paths, and blacklist one folder within the second path, and nothing is working.  What is the recommended solution for getting the forwarder to watch these two paths:&lt;/P&gt;

&lt;P&gt;/var/log&lt;BR /&gt;
/Library/Logs&lt;/P&gt;

&lt;P&gt;and blacklist /Library/Logs/CrashPlan?&lt;/P&gt;

&lt;P&gt;my current inputs.conf contains this.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = one.example.com
[monitor:///var/log]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've read the documentation and tried regex a handful of different ways but can't get it to work.  I'm using the latest release.&lt;/P&gt;

&lt;P&gt;I'm making a change, then restarting the forwarder, then running this to confirm if it's working or not:&lt;BR /&gt;
/Applications/splunkforwarder/bin/splunk list monitor&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 22:07:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/forwarder-inputs-conf-to-watch-multiple-paths/m-p/51627#M9900</guid>
      <dc:creator>cthacker</dc:creator>
      <dc:date>2013-08-29T22:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: forwarder inputs.conf to watch multiple paths</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/forwarder-inputs-conf-to-watch-multiple-paths/m-p/51628#M9901</link>
      <description>&lt;P&gt;This seems to have worked.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = one.example.com

[monitor:///var/log]

[monitor:///Library/Logs]
blacklist = CrashPlan*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I think I had&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;blacklist=*CrashPlan*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;before and that didn't work.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 22:17:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/forwarder-inputs-conf-to-watch-multiple-paths/m-p/51628#M9901</guid>
      <dc:creator>cthacker</dc:creator>
      <dc:date>2013-08-29T22:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: forwarder inputs.conf to watch multiple paths</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/forwarder-inputs-conf-to-watch-multiple-paths/m-p/51629#M9902</link>
      <description>&lt;P&gt;You could also make use of the 'recurse' attribute - see;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = one.example.com

[monitor:///var/log]
sourcetype=xxx

[monitor:///Library/Logs]
sourcetype=yyy
recurse = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 22:43:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/forwarder-inputs-conf-to-watch-multiple-paths/m-p/51629#M9902</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-08-29T22:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: forwarder inputs.conf to watch multiple paths</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/forwarder-inputs-conf-to-watch-multiple-paths/m-p/51630#M9903</link>
      <description>&lt;P&gt;thanks for your response.  that's good to know... in this case though there are other directories within  /Library/Logs/*  that I do want it to use.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 22:47:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/forwarder-inputs-conf-to-watch-multiple-paths/m-p/51630#M9903</guid>
      <dc:creator>cthacker</dc:creator>
      <dc:date>2013-08-29T22:47:05Z</dc:date>
    </item>
  </channel>
</rss>

