<?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 Format of configuration files in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Format-of-configuration-files/m-p/82778#M181950</link>
    <description>&lt;P&gt;Which of the following is the preferred syntax for setting values in configuration files?&lt;BR /&gt;
disabled = [true|false] or disabled = [0|1]&lt;/P&gt;

&lt;P&gt;The documentation for version 4.3 refers to "true|false".  However, we are deploying Windows Lightweight Forwarders using the GUI and the command line and in both cases, the the generated "inputs.conf" file contains diabled = [0 | 1].&lt;/P&gt;

&lt;P&gt;If we try to use disabled = [true | false], the inputs.conf file loses all the values as shown below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog:Application]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;[WinEventLog:ForwardedEvents]&lt;/P&gt;

&lt;P&gt;[WinEventLog:HardwareEvents]&lt;/P&gt;

&lt;P&gt;[WinEventLog:Internet Explorer]&lt;/P&gt;

&lt;P&gt;[WinEventLog:Security]&lt;/P&gt;

&lt;P&gt;[WinEventLog:Setup]&lt;/P&gt;

&lt;P&gt;[WinEventLog:System]&lt;/P&gt;</description>
    <pubDate>Thu, 01 Mar 2012 21:23:38 GMT</pubDate>
    <dc:creator>steveirogers</dc:creator>
    <dc:date>2012-03-01T21:23:38Z</dc:date>
    <item>
      <title>Format of configuration files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Format-of-configuration-files/m-p/82778#M181950</link>
      <description>&lt;P&gt;Which of the following is the preferred syntax for setting values in configuration files?&lt;BR /&gt;
disabled = [true|false] or disabled = [0|1]&lt;/P&gt;

&lt;P&gt;The documentation for version 4.3 refers to "true|false".  However, we are deploying Windows Lightweight Forwarders using the GUI and the command line and in both cases, the the generated "inputs.conf" file contains diabled = [0 | 1].&lt;/P&gt;

&lt;P&gt;If we try to use disabled = [true | false], the inputs.conf file loses all the values as shown below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog:Application]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;[WinEventLog:ForwardedEvents]&lt;/P&gt;

&lt;P&gt;[WinEventLog:HardwareEvents]&lt;/P&gt;

&lt;P&gt;[WinEventLog:Internet Explorer]&lt;/P&gt;

&lt;P&gt;[WinEventLog:Security]&lt;/P&gt;

&lt;P&gt;[WinEventLog:Setup]&lt;/P&gt;

&lt;P&gt;[WinEventLog:System]&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2012 21:23:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Format-of-configuration-files/m-p/82778#M181950</guid>
      <dc:creator>steveirogers</dc:creator>
      <dc:date>2012-03-01T21:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Format of configuration files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Format-of-configuration-files/m-p/82779#M181951</link>
      <description>&lt;P&gt;Hi steveirogers&lt;/P&gt;

&lt;P&gt;the &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3/admin/Inputsconf#inputs.conf.spec"&gt;docs&lt;/A&gt; state the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;The Security, Application, and System event log inputs are enabled by 
default.  To disable an input type, comment it out or set disabled = 1 in
$SPLUNK_HOME\etc\apps\windows\local\inputs.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;disabled = [1|0] Enable (0) or disable (1) this input.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;meaning &lt;CODE&gt;disable = [1|0]&lt;/CODE&gt; is the correct way to enable or disable the inputs.&lt;/P&gt;

&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2012 15:10:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Format-of-configuration-files/m-p/82779#M181951</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2012-03-02T15:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Format of configuration files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Format-of-configuration-files/m-p/82780#M181952</link>
      <description>&lt;P&gt;Thanks very MuS.  That clarified it for me.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2012 22:09:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Format-of-configuration-files/m-p/82780#M181952</guid>
      <dc:creator>steveirogers</dc:creator>
      <dc:date>2012-03-02T22:09:03Z</dc:date>
    </item>
  </channel>
</rss>

