<?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: Universal Forwarder Not Monitoring Directory in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Not-Monitoring-Directory/m-p/121230#M25170</link>
    <description>&lt;P&gt;I've adjusted the blacklist parameters &amp;amp; re-started the universal forwarder.&lt;/P&gt;

&lt;P&gt;Sill no go...no log entry that indicates that a watch has been added, nor is the indexer picking anything up.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Sep 2014 15:36:47 GMT</pubDate>
    <dc:creator>sjnorman</dc:creator>
    <dc:date>2014-09-11T15:36:47Z</dc:date>
    <item>
      <title>Universal Forwarder Not Monitoring Directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Not-Monitoring-Directory/m-p/121228#M25168</link>
      <description>&lt;P&gt;I am having issues setting up a UNIX universal forwarder to monitor IBM IHS http log files -- it does not appear to be setting up the monitor. I can see that the stanza in the inputs.conf is being parsed by looking at the splunkd.log, but I don't see a corresponding entry "Adding watch on path...". &lt;/P&gt;

&lt;P&gt;Am I missing something in my configuration? What would prevent a watch from being added? I've checked the UNIX file permissions and the 'splunk' user has read-access to all files and directories.&lt;/P&gt;

&lt;P&gt;All other monitored entities in my inputs.conf have a log entry indicating that a watch has been started. There are no errors in the splunkd.log file.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;splunkd.log on forwarder host&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TailingProcessor - Parsing configuration stanza: monitor:///apps/logs/http/IBMIHS.
...
09-11-2014 08:53:48.274 -0500 INFO  TailingProcessor - Adding watch on path: /apps/logs/WebSphere/AS_WAS_01.
09-11-2014 08:53:48.274 -0500 INFO  TailingProcessor - Adding watch on path: /apps/logs/WebSphere/AS_WAS_02
09-11-2014 08:53:48.274 -0500 INFO  TailingProcessor - Adding watch on path: /apps/splunkforwarder/etc/splunk.version.
09-11-2014 08:53:48.274 -0500 INFO  TailingProcessor - Adding watch on path: /apps/splunkforwarder/var/log/splunk.
09-11-2014 08:53:48.274 -0500 INFO  TailingProcessor - Adding watch on path: /apps/splunkforwarder/var/spool/splunk.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;--&amp;gt; no corresponding entry saying that a watch has been added for IHS -- see config below.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;inputs.conf on forwarder host&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///apps/logs/http/IBMIHS]
disabled = false
recursive = false
index = myindex
blacklist = \.(gz)$
sourcetype = access_combined
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;inputs.conf on indexer host&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[access_combined]
pulldown_type = true 
maxDist = 28
MAX_TIMESTAMP_LOOKAHEAD = 128
REPORT-access = access-extractions
SHOULD_LINEMERGE = False
TIME_PREFIX = \[
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf on indexer host&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[access-extractions] 
\# matches access-common or access-combined apache logging formats 
\# Extracts: clientip, clientport, ident, user, req_time, method, uri, root, file, uri_domain, uri_query, version, status, bytes, referer_url, referer_domain, referer_proto, useragent, cookie, other (remaining chars)   
\# Note: referer is misspelled in purpose because that is the "official" spelling for "HTTP referer"  
REGEX = ^[[nspaces:clientip]]\s++[[nspaces:ident]]\s++[[nspaces:user]]\s++[[sbstring:req_time]]\s++[[access-request]]\s++[[nspaces:status]]\s++[[nspaces:bytes]](?:\s++"(?&amp;lt;referer&amp;gt;[[bc_domain:referer_]]?+[^"]*+)"(?:\s++[[qstring:useragent]](?:\s++[[qstring:cookie]])?+)?+)?[[all:other]]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Sep 2014 14:38:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Not-Monitoring-Directory/m-p/121228#M25168</guid>
      <dc:creator>sjnorman</dc:creator>
      <dc:date>2014-09-11T14:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Universal Forwarder Not Monitoring Directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Not-Monitoring-Directory/m-p/121229#M25169</link>
      <description>&lt;P&gt;Everything looks good. The blacklist is strange though. Do you really need the parentheses around gz? I have always done it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;blacklist=\.gz$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Sep 2014 15:18:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Not-Monitoring-Directory/m-p/121229#M25169</guid>
      <dc:creator>tgow</dc:creator>
      <dc:date>2014-09-11T15:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Universal Forwarder Not Monitoring Directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Not-Monitoring-Directory/m-p/121230#M25170</link>
      <description>&lt;P&gt;I've adjusted the blacklist parameters &amp;amp; re-started the universal forwarder.&lt;/P&gt;

&lt;P&gt;Sill no go...no log entry that indicates that a watch has been added, nor is the indexer picking anything up.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2014 15:36:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Not-Monitoring-Directory/m-p/121230#M25170</guid>
      <dc:creator>sjnorman</dc:creator>
      <dc:date>2014-09-11T15:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Universal Forwarder Not Monitoring Directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Not-Monitoring-Directory/m-p/121231#M25171</link>
      <description>&lt;P&gt;Used workaround outlined in &lt;A href="http://answers.splunk.com/answers/126064/bug-in-universal-forwarder-inputs-conf-monitor-and-recursive-false.html"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2014 18:47:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-Not-Monitoring-Directory/m-p/121231#M25171</guid>
      <dc:creator>sjnorman</dc:creator>
      <dc:date>2014-10-20T18:47:33Z</dc:date>
    </item>
  </channel>
</rss>

