<?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 What is the precedence for identical stanzas within a single conf file? Is this a valid configuration? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-precedence-for-identical-stanzas-within-a-single/m-p/283566#M54224</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm facing the situation that there is the identical stanza twice within a single conf file.&lt;BR /&gt;
E.g.&lt;BR /&gt;
authorize.conf  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[role_admin]
srchIndexesDefault = main

[role_admin]
srchIndexesDefault = _internal
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I know the documentation for &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.1511/Admin/Attributeprecedencewithinafile"&gt;Attribute precedence within a single props.conf file&lt;/A&gt;, but this only describes the precedence defined by ASCII order. Not if the stanza is identical.&lt;/P&gt;

&lt;P&gt;Verifying the configuration with btool, I get that the last listed entry rules. Which makes sense.&lt;/P&gt;

&lt;P&gt;So my question is: Is this a valid configuration (despite the fact that this should be avoided)?&lt;/P&gt;

&lt;P&gt;Thanks and best regards,&lt;BR /&gt;
Max.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Dec 2015 14:35:03 GMT</pubDate>
    <dc:creator>mlorch</dc:creator>
    <dc:date>2015-12-17T14:35:03Z</dc:date>
    <item>
      <title>What is the precedence for identical stanzas within a single conf file? Is this a valid configuration?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-precedence-for-identical-stanzas-within-a-single/m-p/283566#M54224</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm facing the situation that there is the identical stanza twice within a single conf file.&lt;BR /&gt;
E.g.&lt;BR /&gt;
authorize.conf  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[role_admin]
srchIndexesDefault = main

[role_admin]
srchIndexesDefault = _internal
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I know the documentation for &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.1511/Admin/Attributeprecedencewithinafile"&gt;Attribute precedence within a single props.conf file&lt;/A&gt;, but this only describes the precedence defined by ASCII order. Not if the stanza is identical.&lt;/P&gt;

&lt;P&gt;Verifying the configuration with btool, I get that the last listed entry rules. Which makes sense.&lt;/P&gt;

&lt;P&gt;So my question is: Is this a valid configuration (despite the fact that this should be avoided)?&lt;/P&gt;

&lt;P&gt;Thanks and best regards,&lt;BR /&gt;
Max.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2015 14:35:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-precedence-for-identical-stanzas-within-a-single/m-p/283566#M54224</guid>
      <dc:creator>mlorch</dc:creator>
      <dc:date>2015-12-17T14:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: What is the precedence for identical stanzas within a single conf file? Is this a valid configuration?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-precedence-for-identical-stanzas-within-a-single/m-p/283567#M54225</link>
      <description>&lt;P&gt;If it wasn't valid, btool would have flagged it.  As you say, this situation should be avoided.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2015 15:01:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-precedence-for-identical-stanzas-within-a-single/m-p/283567#M54225</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2015-12-17T15:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: What is the precedence for identical stanzas within a single conf file? Is this a valid configuration?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-precedence-for-identical-stanzas-within-a-single/m-p/283568#M54226</link>
      <description>&lt;P&gt;Thanks. That's what I expected.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 09:36:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-precedence-for-identical-stanzas-within-a-single/m-p/283568#M54226</guid>
      <dc:creator>mlorch</dc:creator>
      <dc:date>2015-12-18T09:36:57Z</dc:date>
    </item>
  </channel>
</rss>

