<?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: How to Blacklist a hostname in inputs.conf? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Blacklist-a-hostname-in-inputs-conf/m-p/375184#M67970</link>
    <description>&lt;P&gt;Hi @anandhalagarasan:&lt;/P&gt;

&lt;P&gt;Create separate app for this input and dont deploy it to that server (as mentioned by @teunlaan)&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2018 13:06:33 GMT</pubDate>
    <dc:creator>ansif</dc:creator>
    <dc:date>2018-02-14T13:06:33Z</dc:date>
    <item>
      <title>How to Blacklist a hostname in inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Blacklist-a-hostname-in-inputs-conf/m-p/375182#M67968</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;In our environment, We have all apps in our deployment server and from there we used to deploy it so that it will reach all our indexers.&lt;/P&gt;

&lt;P&gt;Currently, we have an app in our deployment server and in that we have inputs.conf (/opt/splunk/etc/deployment-apps/appname/local/inputs.conf) and in that we want to blacklist a server in &lt;CODE&gt;inputs.conf&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;This is the sample like Inputs.conf file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///xx/xx/Xxx/xxxx/xxxx.*]
sourcetype = xxxxxx
blacklist = (servername)
index = xxxx
disabled = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So in this stanza I have mentioned the servername under &lt;CODE&gt;blacklist= (servername)&lt;/CODE&gt; but still the logs are getting ingested into Splunk for those index and sourcetype. So how to blacklist the server in &lt;CODE&gt;inputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;So kindly let me know how to fix the same.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 12:07:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Blacklist-a-hostname-in-inputs-conf/m-p/375182#M67968</guid>
      <dc:creator>anandhalagarasa</dc:creator>
      <dc:date>2018-02-14T12:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Blacklist a hostname in inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Blacklist-a-hostname-in-inputs-conf/m-p/375183#M67969</link>
      <description>&lt;P&gt;you should blacklist it in your serverclass, so you don't deploy it too the server. &lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 13:02:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Blacklist-a-hostname-in-inputs-conf/m-p/375183#M67969</guid>
      <dc:creator>teunlaan</dc:creator>
      <dc:date>2018-02-14T13:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Blacklist a hostname in inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Blacklist-a-hostname-in-inputs-conf/m-p/375184#M67970</link>
      <description>&lt;P&gt;Hi @anandhalagarasan:&lt;/P&gt;

&lt;P&gt;Create separate app for this input and dont deploy it to that server (as mentioned by @teunlaan)&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 13:06:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Blacklist-a-hostname-in-inputs-conf/m-p/375184#M67970</guid>
      <dc:creator>ansif</dc:creator>
      <dc:date>2018-02-14T13:06:33Z</dc:date>
    </item>
  </channel>
</rss>

