<?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: Observing consistent uneven load balancing from universal forwarders to indexers in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Observing-consistent-uneven-load-balancing-from-universal/m-p/198823#M39412</link>
    <description>&lt;P&gt;Hi Runals,&lt;/P&gt;

&lt;P&gt;see &lt;A href="http://answers.splunk.com/answers/62908/universal-forwarder-not-load-balancing-to-indexers"&gt;this answer&lt;/A&gt; from @&lt;A href="http://answers.splunk.com/users/60/lguinn"&gt;lguinn&lt;/A&gt;, maybe this helps ....&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jan 2014 15:03:26 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2014-01-09T15:03:26Z</dc:date>
    <item>
      <title>Observing consistent uneven load balancing from universal forwarders to indexers</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Observing-consistent-uneven-load-balancing-from-universal/m-p/198822#M39411</link>
      <description>&lt;P&gt;I've come up with a query to see which indexers our forwarders are sending data to and the results are somewhat eye opening. I'd be interested in other sets of eyes on the logic of my query and to see if others are experiencing the same. The idea is to use the internal logs from the forwarders keying in on the phrase "connected to idx". The query is&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal "connected to idx" | rex field=idx "(?&amp;lt;indexer&amp;gt;[^:]+)" | stats count by indexer | sort indexer
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm sorting the indexers in numeric order (IP) because that is the way they are listed in the outputs.conf. What is interesting is the visual profile of the distribution is basically the same regardless of the time of day or time span of the query. In other words my first indexer receives about 2x the connections as the others whether that is in the last 5 minutes or 7 days. The same visual profile regardless of time/time range is generally true for the others. I've come up with a query to match the results of this data to the GB indexed per indexer in the same time period but it needs to be run in the deployment monitor app - wasn't going to rewrite all the macros. I also had to do some heavy massaging in order to match IP to indexer name and then to sort correctly. You might not have that issue /shrug. Run it in its base form and see (I've left out post append stuffs)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal "connected to idx" | rex field=idx "(?&amp;lt;indexer&amp;gt;[^:]+)" | eval "Splunk Server" = indexer | stats count by "Splunk Server" | append [search `all_indexers_summary`]  | sort "Splunk Server" 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Environment&lt;BR /&gt;&lt;BR /&gt;
20 indexers&lt;BR /&gt;&lt;BR /&gt;
1300 forwarders&lt;BR /&gt;&lt;BR /&gt;
Using auto load balancing built into outputs.conf&lt;BR /&gt;&lt;BR /&gt;
Forwarder versions range from 4.3.4 to 6.0.1   &lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2014 14:12:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Observing-consistent-uneven-load-balancing-from-universal/m-p/198822#M39411</guid>
      <dc:creator>Runals</dc:creator>
      <dc:date>2014-01-09T14:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Observing consistent uneven load balancing from universal forwarders to indexers</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Observing-consistent-uneven-load-balancing-from-universal/m-p/198823#M39412</link>
      <description>&lt;P&gt;Hi Runals,&lt;/P&gt;

&lt;P&gt;see &lt;A href="http://answers.splunk.com/answers/62908/universal-forwarder-not-load-balancing-to-indexers"&gt;this answer&lt;/A&gt; from @&lt;A href="http://answers.splunk.com/users/60/lguinn"&gt;lguinn&lt;/A&gt;, maybe this helps ....&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2014 15:03:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Observing-consistent-uneven-load-balancing-from-universal/m-p/198823#M39412</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-01-09T15:03:26Z</dc:date>
    </item>
  </channel>
</rss>

