<?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 Deployment Server Questions: Host matching in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Deployment-Server-Questions-Host-matching/m-p/37325#M1027</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am trying to start using the Deployment Server in Splunk to manage my enterprise of a single indexer &amp;amp; about 100 forwarders.  &lt;/P&gt;

&lt;P&gt;1.) I am trying to understand the whitelist/blacklist host matching.  I have a series of classes &amp;amp; what I want to say is: &lt;BR /&gt;
"Don't accept anything unless it matches these patterns."&lt;/P&gt;

&lt;P&gt;To do that I have the following:&lt;BR /&gt;
[serverClass:Intercard-Teller-POS]&lt;BR /&gt;
blacklist.0=*&lt;BR /&gt;
whitelist.0=.(P|p)(os|OS)&lt;BR /&gt;
whitelist.1=.(T|t)(eller|ELLER)&lt;/P&gt;

&lt;P&gt;The way I understood it was "blacklist everything unless it matches whitelist 1 or 2."  I have a series of classes like this, then I have a "catch-all" at the end like this:&lt;BR /&gt;
[serverClass:therest]&lt;BR /&gt;
whitelist.0=*&lt;BR /&gt;
blacklist.0=.(P|p)(os|OS)&lt;/P&gt;

&lt;P&gt;where I am trying to say "match everything EXCEPT these patterns (with a list of all the whitelisted patterns used above."&lt;/P&gt;

&lt;P&gt;Now my problem is I have a machine called BB377DTELLER2 that I am testing the configuration on &amp;amp; it is showing up in the "therest" class.  Am I misunderstanding how the whitelist/blacklists work?  I do not have anything in the top level global stanza.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;Kevin&lt;/P&gt;</description>
    <pubDate>Thu, 16 Aug 2012 18:29:21 GMT</pubDate>
    <dc:creator>kholleran</dc:creator>
    <dc:date>2012-08-16T18:29:21Z</dc:date>
    <item>
      <title>Deployment Server Questions: Host matching</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Deployment-Server-Questions-Host-matching/m-p/37325#M1027</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am trying to start using the Deployment Server in Splunk to manage my enterprise of a single indexer &amp;amp; about 100 forwarders.  &lt;/P&gt;

&lt;P&gt;1.) I am trying to understand the whitelist/blacklist host matching.  I have a series of classes &amp;amp; what I want to say is: &lt;BR /&gt;
"Don't accept anything unless it matches these patterns."&lt;/P&gt;

&lt;P&gt;To do that I have the following:&lt;BR /&gt;
[serverClass:Intercard-Teller-POS]&lt;BR /&gt;
blacklist.0=*&lt;BR /&gt;
whitelist.0=.(P|p)(os|OS)&lt;BR /&gt;
whitelist.1=.(T|t)(eller|ELLER)&lt;/P&gt;

&lt;P&gt;The way I understood it was "blacklist everything unless it matches whitelist 1 or 2."  I have a series of classes like this, then I have a "catch-all" at the end like this:&lt;BR /&gt;
[serverClass:therest]&lt;BR /&gt;
whitelist.0=*&lt;BR /&gt;
blacklist.0=.(P|p)(os|OS)&lt;/P&gt;

&lt;P&gt;where I am trying to say "match everything EXCEPT these patterns (with a list of all the whitelisted patterns used above."&lt;/P&gt;

&lt;P&gt;Now my problem is I have a machine called BB377DTELLER2 that I am testing the configuration on &amp;amp; it is showing up in the "therest" class.  Am I misunderstanding how the whitelist/blacklists work?  I do not have anything in the top level global stanza.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2012 18:29:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Deployment-Server-Questions-Host-matching/m-p/37325#M1027</guid>
      <dc:creator>kholleran</dc:creator>
      <dc:date>2012-08-16T18:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Deployment Server Questions: Host matching</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Deployment-Server-Questions-Host-matching/m-p/37326#M1028</link>
      <description>&lt;P&gt;I have stumped EVERYONE!  No, but really.... anyone?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2012 17:57:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Deployment-Server-Questions-Host-matching/m-p/37326#M1028</guid>
      <dc:creator>kholleran</dc:creator>
      <dc:date>2012-08-29T17:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Deployment Server Questions: Host matching</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Deployment-Server-Questions-Host-matching/m-p/37327#M1029</link>
      <description>&lt;P&gt;Your style of starting with &lt;CODE&gt;blacklist.0=*&lt;/CODE&gt; assumes you have set &lt;CODE&gt;filterType = blacklist&lt;/CODE&gt; above. It's probably just as easy to leave that out and use the default filtertype of whitelist.&lt;/P&gt;

&lt;P&gt;The other issue is that the matches must be complete, so to match those patterns within the hostname, surround them with *&lt;/P&gt;

&lt;P&gt;Try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[serverClass:Intercard-Teller-POS]
whitelist.0=*(P|p)(os|OS)*
whitelist.1=*(T|t)(eller|ELLER)*

[serverClass:therest]
whitelist.0=*
blacklist.0=*(P|p)(os|OS)*
blacklist.1=*(T|t)(eller|ELLER)*
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Aug 2012 21:06:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Deployment-Server-Questions-Host-matching/m-p/37327#M1029</guid>
      <dc:creator>mslvrstn</dc:creator>
      <dc:date>2012-08-29T21:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Deployment Server Questions: Host matching</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Deployment-Server-Questions-Host-matching/m-p/37328#M1030</link>
      <description>&lt;P&gt;Though filterType=whitelist is supposed to be the default, I put that in and everything is working as expected now...&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2012 20:30:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Deployment-Server-Questions-Host-matching/m-p/37328#M1030</guid>
      <dc:creator>kholleran</dc:creator>
      <dc:date>2012-10-16T20:30:19Z</dc:date>
    </item>
  </channel>
</rss>

