<?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 Default Configuration in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Default-Configuration/m-p/518871#M17838</link>
    <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have what is probably a pretty basic question about configuration files. I know the precedence goes like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;System local directory -- highest priority&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;App local directories&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;App default directories&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;4.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;System default directory -- lowest priority&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But if I have only a few things addressed in my inputs.conf in my system\local directory like :&lt;/P&gt;&lt;P&gt;[WinEventLogs://Security]&lt;BR /&gt;[WinEventLogs://Application]&lt;BR /&gt;[WinEventLogs://System]&lt;/P&gt;&lt;P&gt;Do the additional stanzas in my system\default directory inputs.conf file get applied as well and only the ones I specifically addressed above override whats in the default conf? Or is this file ignored because I have an inputs.conf in my local directory?&lt;/P&gt;</description>
    <pubDate>Thu, 10 Sep 2020 12:39:21 GMT</pubDate>
    <dc:creator>michaeler</dc:creator>
    <dc:date>2020-09-10T12:39:21Z</dc:date>
    <item>
      <title>Default Configuration</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Default-Configuration/m-p/518871#M17838</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have what is probably a pretty basic question about configuration files. I know the precedence goes like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;System local directory -- highest priority&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;App local directories&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;App default directories&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;4.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;System default directory -- lowest priority&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But if I have only a few things addressed in my inputs.conf in my system\local directory like :&lt;/P&gt;&lt;P&gt;[WinEventLogs://Security]&lt;BR /&gt;[WinEventLogs://Application]&lt;BR /&gt;[WinEventLogs://System]&lt;/P&gt;&lt;P&gt;Do the additional stanzas in my system\default directory inputs.conf file get applied as well and only the ones I specifically addressed above override whats in the default conf? Or is this file ignored because I have an inputs.conf in my local directory?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 12:39:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Default-Configuration/m-p/518871#M17838</guid>
      <dc:creator>michaeler</dc:creator>
      <dc:date>2020-09-10T12:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Default Configuration</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Default-Configuration/m-p/518882#M17839</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Do the additional stanzas in my system\default directory inputs.conf file get applied as well&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and only the ones I specifically addressed above override whats in the default conf?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or is this file ignored because I have an inputs.conf in my local directory?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;new attributes for the same stanza will not be ignored from default. if there is same attribute defined in both local and default for a particular stanza then the one which is defined in local will take precedence&lt;/STRONG&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;let me give you an example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;system/local/inputs.conf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[WinEventLogs://Security]
index=windows
sourcetype=sourcetype_local&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;system/default/inputs.conf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[WinEventLogs://Security] 
index=windows 
sourcetype=sourcetype_default 
source=source_default 

[WinEventLogs://Application]
index=windows
sourcetype=st_app_default &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Final config of Splunk will&amp;nbsp; be like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[WinEventLogs://Security] # This is available in local
index=windows # This is available in local
sourcetype=sourcetype_local # This is available in local
source=source_default # This is from default

[WinEventLogs://Application] 
index=windows
sourcetype=st_app_default &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Splunk doc example for file precedence is below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.6/Admin/Wheretofindtheconfigurationfiles#Example_of_how_attribute_precedence_works" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.6/Admin/Wheretofindtheconfigurationfiles#Example_of_how_attribute_precedence_works&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 13:31:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Default-Configuration/m-p/518882#M17839</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-10T13:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Default Configuration</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Default-Configuration/m-p/518884#M17840</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225681"&gt;@michaeler&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you have a configuration in two stanzas, the one with highest priority wins.&lt;/P&gt;&lt;P&gt;If you have a configuration in only one stanza, it's applied to your data, so if you have a configuration only in system\default, it's applied to your data.&lt;/P&gt;&lt;P&gt;Infact, if you want to exclude a configuration that's present in system\default, you have to find a value to override it in system local\ or delete from system\default, otherwise it's applied.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 13:32:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Default-Configuration/m-p/518884#M17840</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-10T13:32:55Z</dc:date>
    </item>
  </channel>
</rss>

