<?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 Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97822#M20394</link>
    <description>&lt;P&gt;I tried removing the '&lt;EM&gt;' from '&lt;/EM&gt;'blacklist but I sill see the error.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2011 22:56:26 GMT</pubDate>
    <dc:creator>zservati1</dc:creator>
    <dc:date>2011-10-25T22:56:26Z</dc:date>
    <item>
      <title>inputs.conf error</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97820#M20392</link>
      <description>&lt;P&gt;I'm getting following error while starting splunkforwarder after updating inputs.conf under splunkforwarder. These are related to syntax issue with blacklist statements, although the file contains many statements like this but only few are erroring out.&lt;/P&gt;

&lt;P&gt;[root@pprfefpba400 local]# /etc/init.d/splunk start&lt;BR /&gt;
Starting Splunk...&lt;/P&gt;

&lt;P&gt;Splunk&amp;gt; The IT Search Engine.&lt;/P&gt;

&lt;P&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/et                   c/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/syst                   em/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/s                   ystem/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;BR /&gt;
Starting splunk server daemon (splunkd)...&lt;/P&gt;

&lt;P&gt;Here is the inputs.conf:&lt;/P&gt;

&lt;P&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/audit.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/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:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97820#M20392</guid>
      <dc:creator>zservati1</dc:creator>
      <dc:date>2020-09-28T10:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf error</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97821#M20393</link>
      <description>&lt;P&gt;First try removing the _.  Splunk now prefers "blacklist = blah".&lt;/P&gt;

&lt;P&gt;Also, is there a reason for your () brackets?  In your pattern you don't really need them, try removing them.&lt;/P&gt;

&lt;P&gt;What version of SplunkForwarder are you running?  Try upgrading to the latest version.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2011 20:20:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97821#M20393</guid>
      <dc:creator>GKC_DavidAnso</dc:creator>
      <dc:date>2011-10-25T20:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf error</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97822#M20394</link>
      <description>&lt;P&gt;I tried removing the '&lt;EM&gt;' from '&lt;/EM&gt;'blacklist but I sill see the error.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2011 22:56:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97822#M20394</guid>
      <dc:creator>zservati1</dc:creator>
      <dc:date>2011-10-25T22:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf error</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97823#M20395</link>
      <description>&lt;P&gt;[root@pprfefpdb400 local]# /opt/splunkforwarder/bin/splunk -version&lt;BR /&gt;
Splunk Universal Forwarder 4.2.1 (build 98164)&lt;BR /&gt;
 This is the splunk version I'm using.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2011 22:57:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97823#M20395</guid>
      <dc:creator>zservati1</dc:creator>
      <dc:date>2011-10-25T22:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf error</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97824#M20396</link>
      <description>&lt;P&gt;So it seems the error is related to scripts related to splunk server&lt;BR /&gt;
[script:///opt/splunk/etc/system/bin/addm.sh]&lt;BR /&gt;
[script:///opt/splunk/etc/system/bin/awr.sh]&lt;BR /&gt;
[script:///opt/splunk/etc/system/bin/tbspace.sh]&lt;BR /&gt;
I checked the directory and I can't see these files. Where are these file should exist even checked under splunkforwarder.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2011 23:02:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97824#M20396</guid>
      <dc:creator>zservati1</dc:creator>
      <dc:date>2011-10-25T23:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf error</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97825#M20397</link>
      <description>&lt;P&gt;Try changing tail: to monitor: and setting followTail = 1, like below:&lt;/P&gt;

&lt;P&gt;[monitor:///opt/splunk/var/log/splunk/searchhistory.log]&lt;BR /&gt;
followTail = 1&lt;BR /&gt;
disabled = true&lt;BR /&gt;
index = efepr&lt;BR /&gt;
_blacklist = .(gz)$&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2011 23:04:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97825#M20397</guid>
      <dc:creator>GKC_DavidAnso</dc:creator>
      <dc:date>2011-10-25T23:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf error</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97826#M20398</link>
      <description>&lt;P&gt;I probably shouldn't have chosen a disabled input as the example.....&lt;/P&gt;

&lt;P&gt;Make sure you don't disable all the inputs copying and pasting.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2011 23:06:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97826#M20398</guid>
      <dc:creator>GKC_DavidAnso</dc:creator>
      <dc:date>2011-10-25T23:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf error</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97827#M20399</link>
      <description>&lt;P&gt;I changed the file according to the suggestion but still get error. These files do not exist in the specified directory, can this be an issue.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2011 23:30:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97827#M20399</guid>
      <dc:creator>zservati1</dc:creator>
      <dc:date>2011-10-25T23:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf error</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97828#M20400</link>
      <description>&lt;P&gt;Are you still getting the same number of errors?  You will need to update all of the tail: lines to monitor:&lt;/P&gt;

&lt;P&gt;Are the errors you are getting the same?&lt;/P&gt;

&lt;P&gt;Are you trying to do some kind of variable substitution in the host setting?  Can you use just web_server without the $?&lt;BR /&gt;
host = $web_server&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:01:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97828#M20400</guid>
      <dc:creator>GKC_DavidAnso</dc:creator>
      <dc:date>2020-09-28T10:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf error</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97829#M20401</link>
      <description>&lt;P&gt;I think first the issue had to do with the file to be monitored not exist, and then I changed tail to monitor in few that had issue and was able to get get it to work. I am wondering what is the different between tail and monitor directives.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2011 00:05:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97829#M20401</guid>
      <dc:creator>zservati1</dc:creator>
      <dc:date>2011-10-26T00:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf error</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97830#M20402</link>
      <description>&lt;P&gt;Thanks for your answer as I mentioned I was able to get it to work to have the file pathname to point to the right directory, in otherwords it seems the file should exist and also changed [tail...] to [monitor...]. Now I like to know what's the difference between monitor and tail directive, is this okay to have monitor for splunk logs. Here is an example.&lt;/P&gt;

&lt;P&gt;[monitor:///opt/splunkforwarder/var/log/splunk/searchhistory.log]&lt;BR /&gt;
disabled = true&lt;BR /&gt;
index = efepr&lt;BR /&gt;
blacklist = .(gz)$&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2011 00:17:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97830#M20402</guid>
      <dc:creator>zservati1</dc:creator>
      <dc:date>2011-10-26T00:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf error</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97831#M20403</link>
      <description>&lt;P&gt;You should use the monitor:// input.  If you only want to see new events (i.e. not read the history in the log) then add the "followTail = 1" parameter below the [monitor:// line.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2011 00:22:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-error/m-p/97831#M20403</guid>
      <dc:creator>GKC_DavidAnso</dc:creator>
      <dc:date>2011-10-26T00:22:07Z</dc:date>
    </item>
  </channel>
</rss>

