<?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: When modifying serverclass.conf, which safeguards could help us avoid the following mistakes? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/When-modifying-serverclass-conf-which-safeguards-could-help-us/m-p/381241#M68765</link>
    <description>&lt;P&gt;Gorgeous @harsmarvania57!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ ./splunk cmd btool check

                Invalid key in stanza [serverClass:&amp;lt;class&amp;gt;] in /opt/splunk/etc/system/local/serverclass.conf, line 21: whiteline.0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 23 Sep 2018 22:37:49 GMT</pubDate>
    <dc:creator>ddrillic</dc:creator>
    <dc:date>2018-09-23T22:37:49Z</dc:date>
    <item>
      <title>When modifying serverclass.conf, which safeguards could help us avoid the following mistakes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/When-modifying-serverclass-conf-which-safeguards-could-help-us/m-p/381239#M68763</link>
      <description>&lt;P&gt;The constantly updated &lt;CODE&gt;serverclass.conf&lt;/CODE&gt;here creates all kinds of commotion. Today it was realized that we have the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[serverClass:&amp;lt;name&amp;gt;]
whiteline.0 = &amp;lt;host1&amp;gt;
whiteline.1 = &amp;lt;host2&amp;gt;
whiteline.2 = &amp;lt;host3&amp;gt;
whiteline.3 = &amp;lt;host4&amp;gt;
whiteline.4 = &amp;lt;host5&amp;gt;
....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Meaning, &lt;CODE&gt;whitelist&lt;/CODE&gt; was written as &lt;CODE&gt;whiteline&lt;/CODE&gt; by mistake. So, which safeguards we can put in place to avoid these mistakes/commotions?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 16:17:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/When-modifying-serverclass-conf-which-safeguards-could-help-us/m-p/381239#M68763</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-09-21T16:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: When modifying serverclass.conf, which safeguards could help us avoid the following mistakes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/When-modifying-serverclass-conf-which-safeguards-could-help-us/m-p/381240#M68764</link>
      <description>&lt;P&gt;Hi @ddrillic,&lt;/P&gt;

&lt;P&gt;You can use &lt;CODE&gt;btool&lt;/CODE&gt;, please refer this document &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.3/Troubleshooting/CommandlinetoolsforusewithSupport"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.3/Troubleshooting/CommandlinetoolsforusewithSupport&lt;/A&gt; &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Check for typos: ./splunk cmd btool check
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Sep 2018 21:26:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/When-modifying-serverclass-conf-which-safeguards-could-help-us/m-p/381240#M68764</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-09-21T21:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: When modifying serverclass.conf, which safeguards could help us avoid the following mistakes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/When-modifying-serverclass-conf-which-safeguards-could-help-us/m-p/381241#M68765</link>
      <description>&lt;P&gt;Gorgeous @harsmarvania57!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ ./splunk cmd btool check

                Invalid key in stanza [serverClass:&amp;lt;class&amp;gt;] in /opt/splunk/etc/system/local/serverclass.conf, line 21: whiteline.0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 23 Sep 2018 22:37:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/When-modifying-serverclass-conf-which-safeguards-could-help-us/m-p/381241#M68765</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-09-23T22:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: When modifying serverclass.conf, which safeguards could help us avoid the following mistakes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/When-modifying-serverclass-conf-which-safeguards-could-help-us/m-p/381242#M68766</link>
      <description>&lt;P&gt;Interestingly, it doesn't catch something like -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;whitelist.92 = &amp;lt;host&amp;gt;
whitelist.93 = &amp;lt;host&amp;gt;
whitelist.94 = &amp;lt;host&amp;gt;
whitelist.95 = &amp;lt;host&amp;gt;
# number repetition 
whitelist.92 = &amp;lt;host&amp;gt;
whitelist.93 = &amp;lt;host&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 Sep 2018 20:44:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/When-modifying-serverclass-conf-which-safeguards-could-help-us/m-p/381242#M68766</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-09-24T20:44:42Z</dc:date>
    </item>
  </channel>
</rss>

