<?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 Forwarding not working for some directories in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Forwarding-not-working-for-some-directories/m-p/74269#M15181</link>
    <description>&lt;P&gt;I have a unix light forwarder that works fine for the normal default splunk forwarding (the scripts for CPU, ports, etc).&lt;/P&gt;

&lt;P&gt;So:&lt;BR /&gt;
&lt;CODE&gt;[monitor:///var/log]&lt;BR /&gt;
whitelist=(\.log|log$|messages$|mesg$|cron$|acpid$|\.out)&lt;BR /&gt;
blacklist=(lastlog)&lt;BR /&gt;
index=os&lt;BR /&gt;
disabled = 0&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Produces the expected entries on my indexer.&lt;/P&gt;

&lt;P&gt;I added a statement for a custom directory (using a custom index):&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[monitor:///services/.../logs]&lt;BR /&gt;
whitelist=(\.log$|log$|messages$|mesg$|cron$|acpid$|\.out$)&lt;BR /&gt;
blacklist=(lastlog$|\.gz$|^splunk|\.xml$|\.conf|^metrics)&lt;BR /&gt;
index=services&lt;BR /&gt;
disabled = 0&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;The index is created on the indexer, and 'splunk list monitor' shows the directories are being monitored on the forwarder (including many directories that shouldn't be, but I saw another question that answered that).&lt;/P&gt;

&lt;P&gt;With all that, nothing new is added to my new index.  What needs to happen to see my data on my indexer?&lt;/P&gt;</description>
    <pubDate>Thu, 21 Oct 2010 01:19:04 GMT</pubDate>
    <dc:creator>mbrunetto</dc:creator>
    <dc:date>2010-10-21T01:19:04Z</dc:date>
    <item>
      <title>Forwarding not working for some directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarding-not-working-for-some-directories/m-p/74269#M15181</link>
      <description>&lt;P&gt;I have a unix light forwarder that works fine for the normal default splunk forwarding (the scripts for CPU, ports, etc).&lt;/P&gt;

&lt;P&gt;So:&lt;BR /&gt;
&lt;CODE&gt;[monitor:///var/log]&lt;BR /&gt;
whitelist=(\.log|log$|messages$|mesg$|cron$|acpid$|\.out)&lt;BR /&gt;
blacklist=(lastlog)&lt;BR /&gt;
index=os&lt;BR /&gt;
disabled = 0&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Produces the expected entries on my indexer.&lt;/P&gt;

&lt;P&gt;I added a statement for a custom directory (using a custom index):&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[monitor:///services/.../logs]&lt;BR /&gt;
whitelist=(\.log$|log$|messages$|mesg$|cron$|acpid$|\.out$)&lt;BR /&gt;
blacklist=(lastlog$|\.gz$|^splunk|\.xml$|\.conf|^metrics)&lt;BR /&gt;
index=services&lt;BR /&gt;
disabled = 0&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;The index is created on the indexer, and 'splunk list monitor' shows the directories are being monitored on the forwarder (including many directories that shouldn't be, but I saw another question that answered that).&lt;/P&gt;

&lt;P&gt;With all that, nothing new is added to my new index.  What needs to happen to see my data on my indexer?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2010 01:19:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarding-not-working-for-some-directories/m-p/74269#M15181</guid>
      <dc:creator>mbrunetto</dc:creator>
      <dc:date>2010-10-21T01:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarding not working for some directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarding-not-working-for-some-directories/m-p/74270#M15182</link>
      <description>&lt;P&gt;If possible, use Firefox to visit the Splunk forwarder's management port:
  &lt;A href="https://fwder:8089/services/admin/inputstatus/TailingProcessor:FileStatus" rel="nofollow"&gt;https://fwder:8089/services/admin/inputstatus/TailingProcessor:FileStatus&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;And see what reason is provided for ignoring the files you wish to see indexed.&lt;/P&gt;

&lt;P&gt;If it isn't possible to use Firefox, consider:
  wget --user=foo --password=bar &lt;A href="https://localhost:8089/services/admin/inputstatus/TailingProcessor:FileStatus" rel="nofollow"&gt;https://localhost:8089/services/admin/inputstatus/TailingProcessor:FileStatus&lt;/A&gt; | xmllint --format -&lt;/P&gt;

&lt;P&gt;It's most likely just some collision with the regexes (using ... in a stanza creates an implicit whitelist).  Let's see what the system thinks it's looking for.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2011 03:35:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarding-not-working-for-some-directories/m-p/74270#M15182</guid>
      <dc:creator>amrit</dc:creator>
      <dc:date>2011-01-12T03:35:41Z</dc:date>
    </item>
  </channel>
</rss>

