<?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: Serverclass using machineTypes that excludes one server in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44295#M1302</link>
    <description>&lt;P&gt;That didn't answer my question. &lt;BR /&gt;
I would like to be able to - for a given serverclass -&lt;BR /&gt;
whitelist based on machineTypesFilter and ALSO blacklist based on hostname.&lt;/P&gt;

&lt;P&gt;Your comment from 04/01 suggested you expected this change to be incorporated in the 4.3 version. Did it get incorporated ?&lt;/P&gt;

&lt;P&gt;My solution has been to have apps I consider 'stable' to be covered by machineTypesFilter, and apps I consider in development to be covered by whitelists.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Aug 2012 15:11:52 GMT</pubDate>
    <dc:creator>gavin1_davenpor</dc:creator>
    <dc:date>2012-08-01T15:11:52Z</dc:date>
    <item>
      <title>Serverclass using machineTypes that excludes one server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44286#M1293</link>
      <description>&lt;P&gt;I would like to have a serverclass for all linux machines that excludes one machine.&lt;/P&gt;

&lt;P&gt;I have tried the following but it doesn't appear to work, the app fwd_to_splunk still gets deployed to the server. &lt;/P&gt;

&lt;P&gt;Any suggestions.&lt;/P&gt;

&lt;P&gt;[global]&lt;/P&gt;

&lt;P&gt;blacklist.0=*&lt;/P&gt;

&lt;P&gt;[serverClass:alllinux]&lt;/P&gt;

&lt;P&gt;machineTypes=linux-*&lt;/P&gt;

&lt;P&gt;blacklist.0=host1&lt;/P&gt;

&lt;P&gt;[serverClass:alllinux:app:fwd_to_splunk]&lt;/P&gt;

&lt;P&gt;stateOnClient=enabled&lt;/P&gt;

&lt;P&gt;restartSplunkd=true&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:16:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44286#M1293</guid>
      <dc:creator>imacdonald2</dc:creator>
      <dc:date>2020-09-28T10:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Serverclass using machineTypes that excludes one server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44287#M1294</link>
      <description>&lt;P&gt;I'd try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[global]
[serverClass:AppsByMachineType]
whitelist.0 = *

[serverClass:AppsByMachineType:app:linux-base]
# Deploy this app only to unix boxes - 32/64 bit.
machineTypes = linux-i686, linux-x86_64
restartSplunkd = true
stateOnClient = enabled
blacklist.0 = host1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Jan 2012 20:23:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44287#M1294</guid>
      <dc:creator>Kate_Lawrence-G</dc:creator>
      <dc:date>2012-01-04T20:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Serverclass using machineTypes that excludes one server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44288#M1295</link>
      <description>&lt;P&gt;Unfortunately, you can't do this. The logic of &lt;CODE&gt;machineTypes&lt;/CODE&gt; is such that &lt;EM&gt;every&lt;/EM&gt; machine that is blacklisted (or not whitelisted) is checked for the machineType, and then is sent that serverclass/app. (The logic is "matching names OR matching machineTypes", instead of your desired "matching names AND matching machineTypes") This functionality is not useful behavior, and is basically a design flaw.&lt;/P&gt;

&lt;P&gt;I expect there to be a change in the 4.3 release of Splunk due very imminently to provide the functionality you're looking for. (And which is useful to most people.)&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2012 20:37:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44288#M1295</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-01-04T20:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Serverclass using machineTypes that excludes one server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44289#M1296</link>
      <description>&lt;P&gt;I tried this and it didn't work it still goes out to host1. Do you have this working?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2012 21:12:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44289#M1296</guid>
      <dc:creator>imacdonald2</dc:creator>
      <dc:date>2012-01-04T21:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Serverclass using machineTypes that excludes one server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44290#M1297</link>
      <description>&lt;P&gt;As I said in my other answer.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2012 21:40:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44290#M1297</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-01-04T21:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Serverclass using machineTypes that excludes one server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44291#M1298</link>
      <description>&lt;P&gt;so it sounds like I can't do this using machineTypes, any thoughts on an other way I can do this? I guess I could do a whitelist.0=0 then blacklist.0=host1, and apply it to all machines. Since the forwarder config is the same for windows and linux&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2012 22:36:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44291#M1298</guid>
      <dc:creator>imacdonald2</dc:creator>
      <dc:date>2012-01-04T22:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Serverclass using machineTypes that excludes one server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44292#M1299</link>
      <description>&lt;P&gt;yes, if it's going to all machines (even if they're not linux), then you can just drop the &lt;CODE&gt;machineTypes&lt;/CODE&gt; clause, and use white/black lists only.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2012 00:38:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44292#M1299</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-01-05T00:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Serverclass using machineTypes that excludes one server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44293#M1300</link>
      <description>&lt;P&gt;Quote: "I expect there to be a change in the 4.3 release of Splunk due very imminently to provide the functionality you're looking for. (And which is useful to most people.)"&lt;/P&gt;

&lt;P&gt;I'd like to be able to include all my hosts by machineType but then EXCLUDE a static list of hosts by name - i.e. to be able to use 2 serverclass definitions for the same app.&lt;BR /&gt;
Define serverclass A based on machineType&lt;BR /&gt;
Define serverclass B based on hostname/IP&lt;BR /&gt;
Whitelist by machineType serverclass A&lt;BR /&gt;
then Blacklist by hostname serverclass B&lt;/P&gt;

&lt;P&gt;Did this get incorporated in 4.3.* ?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2012 09:34:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44293#M1300</guid>
      <dc:creator>gavin1_davenpor</dc:creator>
      <dc:date>2012-08-01T09:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Serverclass using machineTypes that excludes one server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44294#M1301</link>
      <description>&lt;P&gt;see machineTypesFilter setting.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2012 14:44:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44294#M1301</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-08-01T14:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Serverclass using machineTypes that excludes one server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44295#M1302</link>
      <description>&lt;P&gt;That didn't answer my question. &lt;BR /&gt;
I would like to be able to - for a given serverclass -&lt;BR /&gt;
whitelist based on machineTypesFilter and ALSO blacklist based on hostname.&lt;/P&gt;

&lt;P&gt;Your comment from 04/01 suggested you expected this change to be incorporated in the 4.3 version. Did it get incorporated ?&lt;/P&gt;

&lt;P&gt;My solution has been to have apps I consider 'stable' to be covered by machineTypesFilter, and apps I consider in development to be covered by whitelists.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2012 15:11:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44295#M1302</guid>
      <dc:creator>gavin1_davenpor</dc:creator>
      <dc:date>2012-08-01T15:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Serverclass using machineTypes that excludes one server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44296#M1303</link>
      <description>&lt;P&gt;see machineTypeFilter setting and compare with machineTypes setting&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2012 15:13:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44296#M1303</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-08-01T15:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Serverclass using machineTypes that excludes one server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44297#M1304</link>
      <description>&lt;P&gt;You are also misunderstanding how serverclasses and filters should work. the functionality in 4.3 has nothing to do with working across different serverclasses, only on rules within a serverclass (or app).&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2012 15:15:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44297#M1304</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-08-01T15:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Serverclass using machineTypes that excludes one server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44298#M1305</link>
      <description>&lt;P&gt;So I can do:&lt;BR /&gt;
[serverClass:mynewapp]&lt;BR /&gt;
machineTypesFilter=linux-x86_64&lt;BR /&gt;
blacklist.0=dont_push_new_app_to_me1.fqdn&lt;BR /&gt;
blacklist.1=dont_push_new_app_to_me2.fqdn&lt;/P&gt;

&lt;P&gt;This would push "mynewapp" to all x86_64 linux hosts EXCEPT the 2 blacklisted ?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:10:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Serverclass-using-machineTypes-that-excludes-one-server/m-p/44298#M1305</guid>
      <dc:creator>gavin1_davenpor</dc:creator>
      <dc:date>2020-09-28T12:10:53Z</dc:date>
    </item>
  </channel>
</rss>

