<?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: outputs.conf question about duplicates caused by referencing indexers by IP vs FQDN in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/outputs-conf-question-about-duplicates-caused-by-referencing/m-p/618621#M106730</link>
    <description>&lt;P&gt;Use btool to see exactly what Splunk is using for its outputs config.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk btool --debug outputs list&lt;/LI-CODE&gt;&lt;P&gt;If it doesn't shed light on the problem then post the output here for us to look at.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Oct 2022 17:42:52 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-10-27T17:42:52Z</dc:date>
    <item>
      <title>outputs.conf question about duplicates caused by referencing indexers by IP vs FQDN?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/outputs-conf-question-about-duplicates-caused-by-referencing/m-p/618608#M106727</link>
      <description>&lt;P&gt;I have suspicious that my outputs.conf configuration files are causing some unwanted data cloning in my forwarders. I am trying to make sense of some weird behavior I am observing, I am hoping someone can fact-check my assumptions for validity, or tell me what if I am not understanding this issue correctly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a UF on a syslog server. On the UF is a variety of apps, only a few of which possess a outputs.conf file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I search for outputs.conf files, these are the 4 that I find:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;./apps/SplunkUniversalForwarder/default/outputs.conf
./apps/comp_all_forwarder_outputs/local/outputs.conf
./apps/comp_all_outputs/local/outputs.conf
./system/default/outputs.conf&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on the conf file hierarchy rules, I would expect that the two with ./local/outputs.conf would take priority over the other two with ./default/outputs.conf.&lt;/P&gt;
&lt;P&gt;Taking a look at each file, one is specifying indexer peers by FQDN, and the other is specifying the peers as IP addresses. Since both files have the same priority, and they are not the same conf file, would this create a scenario where Splunk sends data to the indexer tier twice (once for each outputs.conf file) cloning the data into the same indexing tier?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;/opt/splunkforwarder/etc/apps/comp_all_outputs/local/outputs.conf&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[tcpout]
defaultGroup = primary_indexers
[tcpout:primary_indexers]
server = spkidx01.comp.com:9997, spkidx02.comp.com:9997, spkidx03.comp.com:9997
autoLB = true&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/opt/splunkforwarder/etc/apps/comp_all_forwarder_outputs/local/outputs.conf&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[tcpout]
defaultGroup = primary_indexers
[tcpout:primary_indexers]
server = 10.15.4.229:9997, 10.15.5.85:9997, 10.15.4.250:9997&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The IP Addresses listed resolve to the FQDNs in the previous outputs.conf file. I would expect Splunk or maybe the OS would call these two separate outputs.conf files&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TIA!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 17:50:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/outputs-conf-question-about-duplicates-caused-by-referencing/m-p/618608#M106727</guid>
      <dc:creator>calvinmcelroy</dc:creator>
      <dc:date>2022-10-27T17:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: outputs.conf question about duplicates caused by referencing indexers by IP vs FQDN</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/outputs-conf-question-about-duplicates-caused-by-referencing/m-p/618621#M106730</link>
      <description>&lt;P&gt;Use btool to see exactly what Splunk is using for its outputs config.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk btool --debug outputs list&lt;/LI-CODE&gt;&lt;P&gt;If it doesn't shed light on the problem then post the output here for us to look at.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 17:42:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/outputs-conf-question-about-duplicates-caused-by-referencing/m-p/618621#M106730</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-10-27T17:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: outputs.conf question about duplicates caused by referencing indexers by IP vs FQDN?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/outputs-conf-question-about-duplicates-caused-by-referencing/m-p/618625#M106731</link>
      <description>&lt;P&gt;The configuration file precedence is described in following Splunk documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.1/Admin/Wheretofindtheconfigurationfiles" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.1/Admin/Wheretofindtheconfigurationfiles&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For outputs.conf file, the precedence would be this:&lt;/P&gt;&lt;PRE&gt;$SPLUNK_HOME/etc/system/local/*
$SPLUNK_HOME/etc/apps/A/local/* ... $SPLUNK_HOME/etc/apps/z/local/*
$SPLUNK_HOME/etc/apps/A/default/* ... $SPLUNK_HOME/etc/apps/z/default/*
$SPLUNK_HOME/etc/system/default/*&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Based on this, your&amp;nbsp;&lt;SPAN&gt;/opt/splunkforwarder/etc/apps/comp_all_forwarder_outputs/local/outputs.conf version would take precedense.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As Richard mentioned, please run btool command (on your UF back end) to see what configurations are taking place.&lt;/P&gt;&lt;P&gt;Example btool command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/opt/splunkforwarder/bin/splunk btool outputs list --debug | grep -v system/default&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 27 Oct 2022 18:16:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/outputs-conf-question-about-duplicates-caused-by-referencing/m-p/618625#M106731</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-10-27T18:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: outputs.conf question about duplicates caused by referencing indexers by IP vs FQDN?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/outputs-conf-question-about-duplicates-caused-by-referencing/m-p/618741#M106740</link>
      <description>&lt;P&gt;Thank you both, this was helpful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did find at least one issue causing double events, but the problem doesn't seem to be as wide spread as I thought. Now I know how to verify this.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 14:52:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/outputs-conf-question-about-duplicates-caused-by-referencing/m-p/618741#M106740</guid>
      <dc:creator>calvinmcelroy</dc:creator>
      <dc:date>2022-10-28T14:52:30Z</dc:date>
    </item>
  </channel>
</rss>

