<?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: Can someone help me understand how my current outputs.conf settings work? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381951#M68870</link>
    <description>&lt;P&gt;Data is routed only to defaultGroup unless you specify in your inputs using _TCP_ROUTING = my_LB_indexers&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 19:21:04 GMT</pubDate>
    <dc:creator>pradeepkumarg</dc:creator>
    <dc:date>2020-09-29T19:21:04Z</dc:date>
    <item>
      <title>Can someone help me understand how my current outputs.conf settings work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381949#M68868</link>
      <description>&lt;P&gt;A splunk engineer told us to deploy an app with the deployment server (to universal forwarders) that contained the outputs.conf file.  the problem is that even with this app deployed running btool still shows that the config is being taken from system/local/outputs.conf --which is what I expected based on the documents from Splunk....maybe he was confused....&lt;/P&gt;

&lt;P&gt;Anyway the real problem is I don't understand the correlation between a few values in outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[target-broker:deploymentServer]
targetUri = clustermaster:8089

[tcpout]
defaultGroup=my_indexers

[tcpout: my_indexers]
server=1.1.1.1:9997,1.1.1.2:9997

[tcpout-server://1.1.1.1:9997]

[tcpout: my_LB_indexers]
autoLBFrequency=30
server=1.1.1.1:9997,1.1.1.2:9997,1.1.1.3:9997
useACK=true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After reading the outputs.conf documentation on Splunk I'm confused about a few things:&lt;/P&gt;

&lt;P&gt;1)  What is the result of the above config?  Does the default group attribute mean that it will never send to the my_LB_indexers group?  Or does the universal forwarder always send to all output groups?  Since duplicate values exist would it still only send to each one once?&lt;/P&gt;

&lt;P&gt;2) is the single server stanza even needed?  I saw one splunk document that said it was optional and another that said it's always needed.&lt;/P&gt;

&lt;P&gt;3)  If the config makes it only send to my_indexers, does it ever fail over to another group if the my_indexers group becomes unavailable?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:24:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381949#M68868</guid>
      <dc:creator>splunkbacon</dc:creator>
      <dc:date>2020-09-29T19:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me understand how my current outputs.conf settings work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381950#M68869</link>
      <description>&lt;P&gt;This part points you to a Deployment Server:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[target-broker:deploymentServer]
targetUri = clustermaster:8089
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This part defines the destination Indexers:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [tcpout]
 defaultGroup=my_indexers

 [tcpout: my_indexers]
 server=1.1.1.1:9997,1.1.1.2:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This part is an empty header that tells me that you used the CLI to set your indexers.  It does nothing and can/should be deleted.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout-server://1.1.1.1:9997]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This part is probably a staged upgrade setting that will take effect if you change &lt;CODE&gt;defaultGroup=my_indexers&lt;/CODE&gt; to&lt;CODE&gt;defaultGroup=my_LB_indexers&lt;/CODE&gt;, WHICH MIGHT BE HAPPENING IN ANOTHER &lt;CODE&gt;outputs.conf&lt;/CODE&gt;FILE SOMEWHERE ELSE!!!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout: my_LB_indexers]
 autoLBFrequency=30
 server=1.1.1.1:9997,1.1.1.2:9997,1.1.1.3:9997
 useACK=true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To see what your settings REALLY are run this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk btool outputs list --debug
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 May 2018 18:54:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381950#M68869</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-05-03T18:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me understand how my current outputs.conf settings work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381951#M68870</link>
      <description>&lt;P&gt;Data is routed only to defaultGroup unless you specify in your inputs using _TCP_ROUTING = my_LB_indexers&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:21:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381951#M68870</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2020-09-29T19:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me understand how my current outputs.conf settings work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381952#M68871</link>
      <description>&lt;P&gt;Thank you.  Those are the things that i did (btools) and conclusions I came to as well.  Does the tcpout: my_LB_indexers not do anything on it's own?  btools shows defualtgroup is still set to my_indexers.  I'm just kind of confused on whether it will send to every group in outsputs.conf, or if the defaultGroup didn't exist what would it do? not send anywhere? or send to all?  I thought I saw something in splunk docs that said if multiple target groups exists that it would send to all of them.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:24:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381952#M68871</guid>
      <dc:creator>splunkbacon</dc:creator>
      <dc:date>2020-09-29T19:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me understand how my current outputs.conf settings work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381953#M68872</link>
      <description>&lt;P&gt;If you never see it tracked back to the &lt;CODE&gt;[tcpout]&lt;/CODE&gt; stanza from another file, then it is completely inert.&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 19:02:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381953#M68872</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-05-03T19:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me understand how my current outputs.conf settings work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381954#M68873</link>
      <description>&lt;P&gt;The weird thing is that the above config file exists in system/local/default....so it should be THE config...yet we see traffic on 9997 to the third server in my_LB_indexers.  I looked at inputs.conf and I didn't see that option...let me check a few other places.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:24:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381954#M68873</guid>
      <dc:creator>splunkbacon</dc:creator>
      <dc:date>2020-09-29T19:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me understand how my current outputs.conf settings work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381955#M68874</link>
      <description>&lt;P&gt;No, it doesn't exists there; that's a typo.  If you mean &lt;CODE&gt;$SPLUNK_HOME/etc/system/local/&lt;/CODE&gt; then yes: that is THE setting.&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 19:11:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381955#M68874</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-05-03T19:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me understand how my current outputs.conf settings work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381956#M68875</link>
      <description>&lt;P&gt;Is it only me, or is the &lt;CODE&gt;[target-broker:deploymentServer]&lt;/CODE&gt; part in the wrong .conf file?&lt;BR /&gt;
Shouldn't that be in &lt;CODE&gt;deploymentclient.conf&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 19:18:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381956#M68875</guid>
      <dc:creator>xpac</dc:creator>
      <dc:date>2018-05-03T19:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me understand how my current outputs.conf settings work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381957#M68876</link>
      <description>&lt;P&gt;yeah i think so.  I just copy/pasted this from the file the engineer looked at.&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 19:19:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381957#M68876</guid>
      <dc:creator>splunkbacon</dc:creator>
      <dc:date>2018-05-03T19:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me understand how my current outputs.conf settings work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381958#M68877</link>
      <description>&lt;P&gt;It should be either moved or you should check if you have another setting like this in the right file, somewhere. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 19:20:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381958#M68877</guid>
      <dc:creator>xpac</dc:creator>
      <dc:date>2018-05-03T19:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me understand how my current outputs.conf settings work?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381959#M68878</link>
      <description>&lt;P&gt;You are right; that should be in &lt;CODE&gt;deploymentclienty.conf&lt;/CODE&gt;!&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 19:34:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-understand-how-my-current-outputs-conf/m-p/381959#M68878</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-05-03T19:34:52Z</dc:date>
    </item>
  </channel>
</rss>

