<?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 Splunk File presedence in Security</title>
    <link>https://community.splunk.com/t5/Security/Splunk-File-presedence/m-p/325249#M12792</link>
    <description>&lt;P&gt;I know the configuration file precedence, my question is if /system/local is first path of a configuration file then Splunk skips to check /system/default for the same conf file? &lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2017 10:02:20 GMT</pubDate>
    <dc:creator>ansif</dc:creator>
    <dc:date>2017-12-08T10:02:20Z</dc:date>
    <item>
      <title>Splunk File presedence</title>
      <link>https://community.splunk.com/t5/Security/Splunk-File-presedence/m-p/325249#M12792</link>
      <description>&lt;P&gt;I know the configuration file precedence, my question is if /system/local is first path of a configuration file then Splunk skips to check /system/default for the same conf file? &lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 10:02:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-File-presedence/m-p/325249#M12792</guid>
      <dc:creator>ansif</dc:creator>
      <dc:date>2017-12-08T10:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk File presedence</title>
      <link>https://community.splunk.com/t5/Security/Splunk-File-presedence/m-p/325250#M12793</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;Can you please check &lt;STRONG&gt;Precedence order within global context:&lt;/STRONG&gt; in this link?&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.1/Admin/Wheretofindtheconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.1/Admin/Wheretofindtheconfigurationfiles&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 10:23:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-File-presedence/m-p/325250#M12793</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2017-12-08T10:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk File presedence</title>
      <link>https://community.splunk.com/t5/Security/Splunk-File-presedence/m-p/325251#M12794</link>
      <description>&lt;P&gt;Hi @ansif,&lt;/P&gt;

&lt;P&gt;In splunk &lt;CODE&gt;local&lt;/CODE&gt; directory has higher precedence than &lt;CODE&gt;default&lt;/CODE&gt; directory which doesn't mean that splunk will not read conf file from &lt;CODE&gt;default&lt;/CODE&gt; directory.&lt;/P&gt;

&lt;P&gt;Let's take example of props.conf, you have &lt;CODE&gt;$SPLUNK_HOME/etc/system/local/props.conf&lt;/CODE&gt; with below config&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetype]
TRUNCATE = 20000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So in this case when splunk read configuration for sourcetype &lt;CODE&gt;yoursourcetype&lt;/CODE&gt; it will take value for &lt;CODE&gt;TRUNCATE&lt;/CODE&gt; parameter from &lt;CODE&gt;$SPLUNK_HOME/etc/system/local/props.conf&lt;/CODE&gt; however remaining variable default setting will take from &lt;CODE&gt;$SPLUNK_HOME/etc/system/default/props.conf&lt;/CODE&gt; for example &lt;CODE&gt;MAX_EVENTS=256&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;To check in splunk which parameter is coming from which configuration file (local or default) you can use below command&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd btool props --debug list
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here I have given example of props.conf but same applies to all .conf files.&lt;/P&gt;

&lt;P&gt;I hope this helps.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Harshil&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 10:40:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-File-presedence/m-p/325251#M12794</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2017-12-08T10:40:36Z</dc:date>
    </item>
  </channel>
</rss>

