<?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 Forwarder AutoLB in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-AutoLB/m-p/104521#M3873</link>
    <description>&lt;P&gt;How does autolb work on a splunk forwarder. &lt;BR /&gt;
I have a forwarder with outputs.conf pointing at 2 indexers.&lt;BR /&gt;
When i look at most recent events on each indexer i see they are mostly sitting on the first indexer in my group. This sucks because for most of my queries its coming all off 1 indexer&lt;/P&gt;

&lt;P&gt;[tcpout]&lt;BR /&gt;
maxQueueSize = 500KB&lt;BR /&gt;
forwardedindex.0.whitelist = .*&lt;BR /&gt;
forwardedindex.1.blacklist = _.*&lt;BR /&gt;
forwardedindex.2.whitelist = _audit&lt;BR /&gt;
forwardedindex.filter.disable = false&lt;BR /&gt;
defaultGroup = my-indexers_9997&lt;BR /&gt;
disabled = false&lt;BR /&gt;
indexAndForward = 0&lt;/P&gt;

&lt;P&gt;[tcpout:my-indexers_9997]&lt;BR /&gt;
autoLB = true&lt;BR /&gt;
server = indexer1:9997,indexer2:9997&lt;/P&gt;

&lt;P&gt;Do i need to configure:&lt;BR /&gt;
forceTimebasedAutoLB = [true|false]&lt;BR /&gt;
 * Will force existing streams to switch to newly elected indexer every AutoLB cycle.&lt;BR /&gt;
 * Defaults to false&lt;BR /&gt;
?&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;

&lt;P&gt;Gd&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 15:00:14 GMT</pubDate>
    <dc:creator>gdavid</dc:creator>
    <dc:date>2020-09-28T15:00:14Z</dc:date>
    <item>
      <title>Splunk Forwarder AutoLB</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-AutoLB/m-p/104521#M3873</link>
      <description>&lt;P&gt;How does autolb work on a splunk forwarder. &lt;BR /&gt;
I have a forwarder with outputs.conf pointing at 2 indexers.&lt;BR /&gt;
When i look at most recent events on each indexer i see they are mostly sitting on the first indexer in my group. This sucks because for most of my queries its coming all off 1 indexer&lt;/P&gt;

&lt;P&gt;[tcpout]&lt;BR /&gt;
maxQueueSize = 500KB&lt;BR /&gt;
forwardedindex.0.whitelist = .*&lt;BR /&gt;
forwardedindex.1.blacklist = _.*&lt;BR /&gt;
forwardedindex.2.whitelist = _audit&lt;BR /&gt;
forwardedindex.filter.disable = false&lt;BR /&gt;
defaultGroup = my-indexers_9997&lt;BR /&gt;
disabled = false&lt;BR /&gt;
indexAndForward = 0&lt;/P&gt;

&lt;P&gt;[tcpout:my-indexers_9997]&lt;BR /&gt;
autoLB = true&lt;BR /&gt;
server = indexer1:9997,indexer2:9997&lt;/P&gt;

&lt;P&gt;Do i need to configure:&lt;BR /&gt;
forceTimebasedAutoLB = [true|false]&lt;BR /&gt;
 * Will force existing streams to switch to newly elected indexer every AutoLB cycle.&lt;BR /&gt;
 * Defaults to false&lt;BR /&gt;
?&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;

&lt;P&gt;Gd&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:00:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-AutoLB/m-p/104521#M3873</guid>
      <dc:creator>gdavid</dc:creator>
      <dc:date>2020-09-28T15:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder AutoLB</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-AutoLB/m-p/104522#M3874</link>
      <description>&lt;P&gt;so after setting forceTimebasedAutoLB=true, i see the syslog data load balanced between the indexers now. its on the default 30 second rotation. i'm worried about increasing that frequency because i believe that will also be the fail-over time in the event of a indexer outage?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2013 17:42:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-AutoLB/m-p/104522#M3874</guid>
      <dc:creator>gdavid</dc:creator>
      <dc:date>2013-10-18T17:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder AutoLB</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-AutoLB/m-p/104523#M3875</link>
      <description>&lt;P&gt;gdavid - Are you asking if changing the default of 30 second down to say 15 seconds before switching indexes is good practice? I am confused what you mean about fail-over time, could you please clarify?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2013 17:56:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-AutoLB/m-p/104523#M3875</guid>
      <dc:creator>rgaleone1</dc:creator>
      <dc:date>2013-10-18T17:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder AutoLB</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-AutoLB/m-p/104524#M3876</link>
      <description>&lt;P&gt;standard auto LB seems to work when the stream of data isn't that heavy. i'm assuming that's why it doesn't work so well with syslog from 50+ devices. &lt;/P&gt;

&lt;P&gt;i set the forceTimebasedAutoLB = true&lt;/P&gt;

&lt;P&gt;now it changes indexers every 30 seconds which i think it a little overkill. my searches are usually over 15 mins spans so i could extend the interval to maybe 3 or 5 mins.&lt;/P&gt;

&lt;P&gt;basically my new question is what affect does changing the 30 second interval up to 3+ mins? &lt;/P&gt;

&lt;P&gt;if my indexer1 goes down, will it take 3+ mins for it to switch to indexer2?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2013 18:01:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-AutoLB/m-p/104524#M3876</guid>
      <dc:creator>gdavid</dc:creator>
      <dc:date>2013-10-18T18:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder AutoLB</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-AutoLB/m-p/104525#M3877</link>
      <description>&lt;P&gt;See this blog &lt;A href="http://blogs.splunk.com/2014/03/18/time-based-load-balancing/"&gt;entry&lt;/A&gt; to see how forceTimebasedAutoLB=true works. &lt;/P&gt;

&lt;P&gt;Essentially if a UF has six events: 1,2,3,4,5,6   to send to two indexers I1 I2&lt;/P&gt;

&lt;P&gt;and UF is sending events 1,2,3 to I1, then the LB timer expires halfway through event 3 the UF will send the event halfway, then tag it as incomplete.  Then resend another tag, then events 3,4,5,6.  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; 1,2,3,4,5,6  UF _______/&amp;gt;I1 (1.2.3.5&amp;lt;tag&amp;gt;)
                        \&amp;gt;I2 (&amp;lt;tag&amp;gt;3.5,3,4,5,6)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The tags identify to I1 that the last event is incomplete and to disregard, and to I2, that its getting a partially event (half of 3), then the full event 3, followed by 3,4,5,6.&lt;/P&gt;

&lt;P&gt;Probably a little too much info, but the tags help Splunk reassemble the data, and avoid duplicates.&lt;/P&gt;

&lt;P&gt;Thanks to Deep for whiteboarding this for me.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2014 00:34:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-AutoLB/m-p/104525#M3877</guid>
      <dc:creator>khourihan_splun</dc:creator>
      <dc:date>2014-08-05T00:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder AutoLB</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-AutoLB/m-p/104526#M3878</link>
      <description>&lt;P&gt;Gosh, sorry its almost two years later.&lt;/P&gt;

&lt;P&gt;If the indexer goes down, the forwarder would try the next one.   SplunkTCP is reliable and uses TCP acks so if the connection goes down, Splunk UF's would just try the next one.&lt;/P&gt;

&lt;P&gt;Also, we've got customers that set the interval to 10 and even 5 seconds.  The advantage there is that if you search across last 1 minute, the data resides on more than one indexer, and the map reduce works better/faster. &lt;/P&gt;

&lt;P&gt;Best,&lt;BR /&gt;
Kyle&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2015 06:33:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Forwarder-AutoLB/m-p/104526#M3878</guid>
      <dc:creator>khourihan_splun</dc:creator>
      <dc:date>2015-08-07T06:33:20Z</dc:date>
    </item>
  </channel>
</rss>

