<?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: Why is configured prod_forwarder getting serverClass blacklist/whitelist configs from other environments? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-configured-prod-forwarder-getting-serverClass-blacklist/m-p/110388#M23183</link>
    <description>&lt;P&gt;I'll try that now.&lt;/P&gt;

&lt;P&gt;as for the blacklist.0, it does = *&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jun 2014 13:02:08 GMT</pubDate>
    <dc:creator>emalenfant</dc:creator>
    <dc:date>2014-06-19T13:02:08Z</dc:date>
    <item>
      <title>Why is configured prod_forwarder getting serverClass blacklist/whitelist configs from other environments?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-configured-prod-forwarder-getting-serverClass-blacklist/m-p/110386#M23181</link>
      <description>&lt;P&gt;So I seem to be having an issue with blacklists and whitelists.&lt;BR /&gt;
I've got the following configured below, but for some reason, my prod_forwarder&lt;BR /&gt;
keeps getting configs for other environments. &lt;BR /&gt;
I'm trying to blacklist the specific indexers/sh/heavy fwd for each 'environment' and only have each environment pull down it's respective configs, notably their specific outputs.conf file&lt;/P&gt;

&lt;P&gt;Help.... ?&lt;/P&gt;

&lt;P&gt;Let's take my prod env for example:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
[serverClass:prod_forwarder]&lt;BR /&gt;
filterType = blacklist&lt;BR /&gt;
blacklist.0 = *&lt;BR /&gt;
blacklist.1 = 10.1.5.169&lt;BR /&gt;
blacklist.2 = 10.1.5.170&lt;BR /&gt;
whitelist.0 = 10.1.*.*&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This config for some reason also pulls down the dqp and the bak below.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
[serverClass:bak_forwarder]&lt;BR /&gt;
filterType = blacklist&lt;BR /&gt;
blacklist.0 = *&lt;BR /&gt;
blacklist.1 = 10.4.5.169&lt;BR /&gt;
blacklist.2 = 10.4.5.169&lt;BR /&gt;
whitelist.0 = 10.4.*.*&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;[serverClass:bak-forwarder:app:bak-forwarder_outputs]&lt;BR /&gt;&lt;BR /&gt;
restartSplunkd = True&lt;BR /&gt;&lt;BR /&gt;
&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;^^ this will get loaded to prod and dqp environments, where it should not be&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
[serverClass:dqp_forwarder]&lt;BR /&gt;
filterType = blacklist&lt;BR /&gt;
blacklist.0 = *&lt;BR /&gt;
blacklist.1 = 10.2.5.*&lt;BR /&gt;
blacklist.2 = 10.1.*.*&lt;BR /&gt;
blacklist.3 = 10.4.*.*&lt;BR /&gt;
whitelist.0 = 10.6.*.*&lt;BR /&gt;
whitelist.1 = 10.7.*.*&lt;BR /&gt;
whitelist.2 = 10.8.*.*&lt;BR /&gt;
whitelist.3 = 10.9.*.*&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;[serverClass:dqp-forwarder:app:dqp-forwarder_outputs]&lt;BR /&gt;
restartSplunkd = True&lt;BR /&gt;
&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;^^ gets loaded onto prod and bak&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2014 18:26:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-configured-prod-forwarder-getting-serverClass-blacklist/m-p/110386#M23181</guid>
      <dc:creator>emalenfant</dc:creator>
      <dc:date>2014-06-18T18:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why is configured prod_forwarder getting serverClass blacklist/whitelist configs from other environments?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-configured-prod-forwarder-getting-serverClass-blacklist/m-p/110387#M23182</link>
      <description>&lt;P&gt;What happens if you apply the same rules to the app?&lt;/P&gt;

&lt;P&gt;[serverClass:dqp_forwarder] &lt;BR /&gt;
filterType = blacklist &lt;BR /&gt;
blacklist.0 = Blank?&lt;BR /&gt;
blacklist.1 = 10.2.5. &lt;BR /&gt;
blacklist.2 = 10.1.&lt;EM&gt;. &lt;BR /&gt;
blacklist.3 = 10.4.&lt;/EM&gt;. &lt;BR /&gt;
whitelist.0 = 10.6.&lt;EM&gt;. &lt;BR /&gt;
whitelist.1 = 10.7.&lt;/EM&gt;. &lt;BR /&gt;
whitelist.2 = 10.8.&lt;EM&gt;. &lt;BR /&gt;
whitelist.3 = 10.9.&lt;/EM&gt;.&lt;/P&gt;

&lt;P&gt;[serverClass:dqp-forwarder:app:dqp-forwarder_outputs] &lt;BR /&gt;
filterType = blacklist &lt;BR /&gt;
blacklist.0 = Blank?&lt;BR /&gt;
blacklist.1 = 10.2.5. &lt;BR /&gt;
blacklist.2 = 10.1.&lt;EM&gt;. &lt;BR /&gt;
blacklist.3 = 10.4.&lt;/EM&gt;. &lt;BR /&gt;
whitelist.0 = 10.6.&lt;EM&gt;. &lt;BR /&gt;
whitelist.1 = 10.7.&lt;/EM&gt;. &lt;BR /&gt;
whitelist.2 = 10.8.&lt;EM&gt;. &lt;BR /&gt;
whitelist.3 = 10.9.&lt;/EM&gt;.&lt;BR /&gt;
restartSplunkd = True&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2014 20:30:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-configured-prod-forwarder-getting-serverClass-blacklist/m-p/110387#M23182</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2014-06-18T20:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why is configured prod_forwarder getting serverClass blacklist/whitelist configs from other environments?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-configured-prod-forwarder-getting-serverClass-blacklist/m-p/110388#M23183</link>
      <description>&lt;P&gt;I'll try that now.&lt;/P&gt;

&lt;P&gt;as for the blacklist.0, it does = *&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2014 13:02:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-configured-prod-forwarder-getting-serverClass-blacklist/m-p/110388#M23183</guid>
      <dc:creator>emalenfant</dc:creator>
      <dc:date>2014-06-19T13:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why is configured prod_forwarder getting serverClass blacklist/whitelist configs from other environments?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-configured-prod-forwarder-getting-serverClass-blacklist/m-p/110389#M23184</link>
      <description>&lt;P&gt;I self-corrected the issue with the following solution, as indicated by cramasta:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
[serverClass:cira_prod_forwarder]&lt;BR /&gt;
filterType = whitelist&lt;BR /&gt;
blacklist.0 = 10.2.5.164&lt;BR /&gt;
blacklist.1 = 10.2.5.166&lt;BR /&gt;
blacklist.2 = 10.2.5.169&lt;BR /&gt;
blacklist.3 = 10.2.5.170&lt;BR /&gt;
blacklist.4 = 10.4.5.169&lt;BR /&gt;
blacklist.5 = 10.1.5.169&lt;BR /&gt;
blacklist.6 = 10.1.5.170&lt;BR /&gt;
whitelist.0 = 10.1.0.*&lt;BR /&gt;
whitelist.1 = 10.1.5.*&lt;BR /&gt;
whitelist.2 = 10.1.35.*&lt;BR /&gt;
whitelist.3 = 10.1.36.*&lt;BR /&gt;
whitelist.4 = 10.1.53.*&lt;BR /&gt;
whitelist.5 = 10.1.80.*&lt;BR /&gt;
whitelist.6 = 10.1.90.*&lt;BR /&gt;
whitelist.7 = 10.1.91.*&lt;BR /&gt;
whitelist.8 = 10.1.153.*&lt;BR /&gt;
whitelist.9 = 10.1.91.*&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:53:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-configured-prod-forwarder-getting-serverClass-blacklist/m-p/110389#M23184</guid>
      <dc:creator>emalenfant</dc:creator>
      <dc:date>2020-09-28T16:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why is configured prod_forwarder getting serverClass blacklist/whitelist configs from other environments?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-configured-prod-forwarder-getting-serverClass-blacklist/m-p/110390#M23185</link>
      <description>&lt;P&gt;Glad you got your issue solved @emalenfant &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I converted @cramasta's response to an answer. Please be sure to accept their answer so people with similar issues/questions will refer to this post for help. Thanks!&lt;/P&gt;

&lt;P&gt;Patrick&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2014 19:05:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-configured-prod-forwarder-getting-serverClass-blacklist/m-p/110390#M23185</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2014-06-19T19:05:15Z</dc:date>
    </item>
  </channel>
</rss>

