<?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: inputs.conf error in SplunkForwarder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error-in-SplunkForwarder/m-p/97713#M20372</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Well it looks like there are typos indeed, but not in the line which states "_blacklist". &lt;BR /&gt;
The main problem is probably with the &lt;CODE&gt;[tail://]&lt;/CODE&gt; directive. To the best of my knowledge it does not exist. What you probably want is &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://&amp;lt;some_path&amp;gt;]
followTail=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, according to the documentation, &lt;CODE&gt;_blacklist&lt;/CODE&gt; is still honored, but you should use&lt;BR /&gt;
&lt;CODE&gt;blacklist = &amp;lt;regular expression&amp;gt;&lt;/CODE&gt; instead.&lt;/P&gt;

&lt;P&gt;Did you explicitly set the &lt;CODE&gt;[tail://]&lt;/CODE&gt; stanzas? The $&lt;CODE&gt;SPLUNK_HOME/var/log/splunk/*.log&lt;/CODE&gt; files are normally handled by splunk by default (as can/should be seen in &lt;CODE&gt;$SPLUNK_HOME/etc/system/default/inputs.conf&lt;/CODE&gt;).&lt;BR /&gt;&lt;BR /&gt;
What version are you running? On what platform?&lt;/P&gt;

&lt;P&gt;For more information see the official documentation regarding inputs.conf.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.2.4/Admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/4.2.4/Admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;/Kristian&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2011 20:07:22 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2011-10-25T20:07:22Z</dc:date>
    <item>
      <title>inputs.conf error in SplunkForwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error-in-SplunkForwarder/m-p/97712#M20371</link>
      <description>&lt;P&gt;I have updated the inputs.conf under /opt/splunkforwarder/etc/system/local, but after restarting splunk I'm getting the following error which is related to syntax issue in some of _blacklists statement, but not all of the _blacklist statements have issue only some which is weird because they all have do the same format.&lt;/P&gt;

&lt;P&gt;[root@pprfefpba400 local]# /etc/init.d/splunk restart&lt;BR /&gt;
Restarting Splunk...&lt;BR /&gt;
Stopping splunkd...&lt;BR /&gt;
Shutting down.  Please wait, as this may take a few                                                         [  OK  ]&lt;BR /&gt;
Stopping splunk helpers...                                                         [  OK  ]&lt;BR /&gt;
Splunk&amp;gt; The IT Search Engine.&lt;BR /&gt;
Checking prerequisites...&lt;BR /&gt;
        Checking mgmt port [8089]: open&lt;BR /&gt;
        Checking conf files for typos...&lt;BR /&gt;
Possible typo in stanza [tail:///opt/splunk/var/log/splunk/searchhistory.log] in /opt/splunkforwarder/etc/system/local/inputs.conf, line 6: _blacklist  =  \.(gz)\$&lt;BR /&gt;
Possible typo in stanza [tail:///opt/splunk/var/log/splunk/splunkd.log] in /opt/splunkforwarder/etc/system/local/inputs.conf, line 11: _blacklist  =  \.(gz)\$&lt;BR /&gt;
Possible typo in stanza [tail:///opt/splunk/var/log/splunk/splunklogger.log] in /opt/splunkforwarder/etc/system/local/inputs.conf, line 16: _blacklist  =  \.(gz)\$&lt;BR /&gt;
Possible typo in stanza [tail:///opt/splunk/var/log/splunk/web_access.log] in /opt/splunkforwarder/etc/system/local/inputs.conf, line 21: _blacklist  =  \.(gz)\$&lt;BR /&gt;
Possible typo in stanza [tail:///opt/splunk/var/log/splunk/web_service.log] in /opt/splunkforwarder/etc/system/local/inputs.conf, line 26: _blacklist  =  \.(gz)\$&lt;BR /&gt;
There might be typos in your conf files. For more information, run 'splunk btool check --debug'&lt;BR /&gt;
All preliminary checks passed.&lt;/P&gt;

&lt;P&gt;Starting splunk server daemon (splunkd)...&lt;BR /&gt;
                                                           [  OK  ]&lt;BR /&gt;
Here is a copy of inputs.conf&lt;BR /&gt;
host = $web_server&lt;/P&gt;

&lt;P&gt;[tail:///opt/splunk/var/log/splunk/searchhistory.log]&lt;BR /&gt;
disabled = true&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;/P&gt;

&lt;P&gt;[tail:///opt/splunk/var/log/splunk/splunkd.log]&lt;BR /&gt;
disabled = true&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;/P&gt;

&lt;P&gt;[tail:///opt/splunk/var/log/splunk/splunklogger.log]&lt;BR /&gt;
disabled = true&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;/P&gt;

&lt;P&gt;[tail:///opt/splunk/var/log/splunk/web_access.log]&lt;BR /&gt;
disabled = true&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;/P&gt;

&lt;P&gt;[tail:///opt/splunk/var/log/splunk/web_service.log]&lt;BR /&gt;
disabled = true&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/efe/audit.log]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = log4j&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;BR /&gt;
[monitor:///var/log/efe/boot.log]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = log4j&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/efe/cluster.log]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = log4j&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/efe/converter.log]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = log4j&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/efe/disaster-recovery/disaster-recovery.log]&lt;BR /&gt;
disabled = true&lt;BR /&gt;
sourcetype = log4j&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/efe/filer-denied.log]&lt;BR /&gt;
disabled = true&lt;BR /&gt;
sourcetype = log4j&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/efe/server.log]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = log4j&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/efe/clockSkew.log]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = log4j&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/efe/etxbridge.log]&lt;BR /&gt;
disabled = true&lt;BR /&gt;
sourcetype = log4j&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/messages]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = syslog&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;/P&gt;

&lt;P&gt;[monitor:///opt/splunk/etc/system/local/inputs.conf]&lt;BR /&gt;
sourcetype = splunk_inputs_conf&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;/P&gt;

&lt;P&gt;[monitor:///usr/local/tomcat/logs/catalina.out]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = log4j&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = \.(gz)\$&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:01:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error-in-SplunkForwarder/m-p/97712#M20371</guid>
      <dc:creator>zservati1</dc:creator>
      <dc:date>2020-09-28T10:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf error in SplunkForwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error-in-SplunkForwarder/m-p/97713#M20372</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Well it looks like there are typos indeed, but not in the line which states "_blacklist". &lt;BR /&gt;
The main problem is probably with the &lt;CODE&gt;[tail://]&lt;/CODE&gt; directive. To the best of my knowledge it does not exist. What you probably want is &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://&amp;lt;some_path&amp;gt;]
followTail=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, according to the documentation, &lt;CODE&gt;_blacklist&lt;/CODE&gt; is still honored, but you should use&lt;BR /&gt;
&lt;CODE&gt;blacklist = &amp;lt;regular expression&amp;gt;&lt;/CODE&gt; instead.&lt;/P&gt;

&lt;P&gt;Did you explicitly set the &lt;CODE&gt;[tail://]&lt;/CODE&gt; stanzas? The $&lt;CODE&gt;SPLUNK_HOME/var/log/splunk/*.log&lt;/CODE&gt; files are normally handled by splunk by default (as can/should be seen in &lt;CODE&gt;$SPLUNK_HOME/etc/system/default/inputs.conf&lt;/CODE&gt;).&lt;BR /&gt;&lt;BR /&gt;
What version are you running? On what platform?&lt;/P&gt;

&lt;P&gt;For more information see the official documentation regarding inputs.conf.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.2.4/Admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/4.2.4/Admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;/Kristian&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2011 20:07:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error-in-SplunkForwarder/m-p/97713#M20372</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2011-10-25T20:07:22Z</dc:date>
    </item>
  </channel>
</rss>

