<?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: BEST PRACTICE: maxKBps in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/BEST-PRACTICE-maxKBps/m-p/599683#M104571</link>
    <description>&lt;P&gt;If someone is interested, this is a simple addon to index all the Instance/UFs value for maxKBps, and get it from Splunk directly, to manage paths and the value, and build Reports/Alarms/Dashboards.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;maxKBps/bin/maxKBps.sh&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&lt;EM&gt;printf "$(date +'%Y-%m-%d %T') [$(hostname)] ";[ -z "$SPLUNK_HOME" ] &amp;amp;&amp;amp; printf "NO SPLUNK_HOME" || $SPLUNK_HOME/bin/splunk btool limits list --debug|grep "maxKBps"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;maxKBps/default/inputs.conf&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&lt;EM&gt;[script://./bin/maxKBps.sh]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;index=YOUR_INDEX&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sourcetype=maxKBps&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;interval=0 * * * *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the run, you get the field maxKBps from all your Instances/UFs,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=* sourcetype=maxKBps earliest=-1h | rex ".*\]\s(?&amp;lt;path&amp;gt;.*)\smaxKBps" | table _time host path maxKBps | sort 0 + maxKBps host&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Enjoy &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 29 May 2022 05:08:10 GMT</pubDate>
    <dc:creator>verbal_666</dc:creator>
    <dc:date>2022-05-29T05:08:10Z</dc:date>
    <item>
      <title>BEST PRACTICE: maxKBps</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/BEST-PRACTICE-maxKBps/m-p/599659#M104559</link>
      <description>&lt;P&gt;Hi guys.&lt;BR /&gt;Question: what's the best "maxKBps" settings in such Environment?&lt;/P&gt;&lt;P&gt;1Gbit LAN&lt;BR /&gt;About 2000 Forwarders&lt;BR /&gt;6 Indexers&lt;/P&gt;&lt;P&gt;I know, the correct answer does not exist, since may vary from server to server, and from Env to Env,&lt;BR /&gt;but there's surely a Best Practice to set this fundamental value, right?&lt;/P&gt;&lt;P&gt;So, from months to now on i stay well with 0 value (no bandwidth limit),&lt;BR /&gt;but sometimes i get a real Indexers stress while people load many many GB of logs (more than 1TB, for pregress analisyes),&lt;BR /&gt;since Indexers receive so many datas to saturate their resources, so i need to force a maxKBps to 10240 ONLY for some servers to stay well.&lt;/P&gt;&lt;P&gt;Now, is a 10240 value a right compromise for *ALL* Forwarders, maybe, to raise the value succesively after?&lt;/P&gt;</description>
      <pubDate>Sat, 28 May 2022 11:09:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/BEST-PRACTICE-maxKBps/m-p/599659#M104559</guid>
      <dc:creator>verbal_666</dc:creator>
      <dc:date>2022-05-28T11:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: BEST PRACTICE: maxKBps</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/BEST-PRACTICE-maxKBps/m-p/599663#M104561</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/28550"&gt;@verbal_666&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;obviously a gneral answer doesn't exist because it depends on your environment, network and load situation.&lt;/P&gt;&lt;P&gt;But anyway you should start from the default values (512 for UFs and 0 for HFs) and analyze is there are queues on your environment to identify if there are systems with critical queues and then modify maxKBps in those systems.&lt;/P&gt;&lt;P&gt;Obviously the most suitable value must be found by trial and error.&lt;/P&gt;&lt;P&gt;The search to find critial queues is&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal "has reached maxKBps. As a result, data forwarding may be throttled" sourcetype=splunkd
| bin _time span=1h
| stats count as countPerHost by host, _time
| where countPerHost &amp;gt; 1&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 May 2022 14:48:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/BEST-PRACTICE-maxKBps/m-p/599663#M104561</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-05-28T14:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: BEST PRACTICE: maxKBps</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/BEST-PRACTICE-maxKBps/m-p/599671#M104567</link>
      <description>&lt;P&gt;Yet done.&lt;BR /&gt;Almost ALL Forwarders get their limit (256 is the default, not 512, inside app Splunkforwarder/default/limits.conf), and got queues full.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;For this I decided without if to set the maximum value (=0), monitoring the situation.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;And it's here that i found, from my Monitoring Dashboards, often absurd peaks (greater than TB), which created sudden bottlenecks on the Indexers, which for several minutes no longer sent back the correct ACKs.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;This is because several users, to whom I have configured RESTORE path, throw in tons of data, and here THEIR SPECIFIC Forwarder is filed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;The question was: 0 could be actually "dangerous" (a bit like intervening with TRUNCATE=0, if you are not careful), for the reasons explained above, put it for other Applications running and for bandwidth saturation.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;So i was wondering what an "average" value could be, based on your experiences.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;From mine, a 10240 is enough in 90% of cases, allowing the UF to send inputs and metrics, without blocking the latter.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I'll try to find a compromise by monitoring &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 May 2022 15:41:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/BEST-PRACTICE-maxKBps/m-p/599671#M104567</guid>
      <dc:creator>verbal_666</dc:creator>
      <dc:date>2022-05-28T15:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: BEST PRACTICE: maxKBps</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/BEST-PRACTICE-maxKBps/m-p/599672#M104568</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/28550"&gt;@verbal_666&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if this answer solves your need, please accept it for the other people of Community, otherwise, please tell us how we can help you.&lt;/P&gt;&lt;P&gt;Ciao and happy splunking.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the Contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 May 2022 15:53:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/BEST-PRACTICE-maxKBps/m-p/599672#M104568</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-05-28T15:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: BEST PRACTICE: maxKBps</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/BEST-PRACTICE-maxKBps/m-p/599674#M104569</link>
      <description>&lt;P&gt;It highly depends on your environment. I had to deliberately lower the max thruput because one of my ufs was getting a huge file to ingest every hour. The UF was fine with reading it but as it wash pushing the chunks of data to HFs for parsing, they started getting OOM-killed. So I lowered the thruput limit from 40MBps to 4MBps. And now the queue is getting clogged fa bit on UF for some time but my HFs are safe.&lt;/P&gt;</description>
      <pubDate>Sat, 28 May 2022 17:53:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/BEST-PRACTICE-maxKBps/m-p/599674#M104569</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-05-28T17:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: BEST PRACTICE: maxKBps</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/BEST-PRACTICE-maxKBps/m-p/599683#M104571</link>
      <description>&lt;P&gt;If someone is interested, this is a simple addon to index all the Instance/UFs value for maxKBps, and get it from Splunk directly, to manage paths and the value, and build Reports/Alarms/Dashboards.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;maxKBps/bin/maxKBps.sh&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&lt;EM&gt;printf "$(date +'%Y-%m-%d %T') [$(hostname)] ";[ -z "$SPLUNK_HOME" ] &amp;amp;&amp;amp; printf "NO SPLUNK_HOME" || $SPLUNK_HOME/bin/splunk btool limits list --debug|grep "maxKBps"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;maxKBps/default/inputs.conf&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&lt;EM&gt;[script://./bin/maxKBps.sh]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;index=YOUR_INDEX&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sourcetype=maxKBps&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;interval=0 * * * *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the run, you get the field maxKBps from all your Instances/UFs,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=* sourcetype=maxKBps earliest=-1h | rex ".*\]\s(?&amp;lt;path&amp;gt;.*)\smaxKBps" | table _time host path maxKBps | sort 0 + maxKBps host&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Enjoy &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 May 2022 05:08:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/BEST-PRACTICE-maxKBps/m-p/599683#M104571</guid>
      <dc:creator>verbal_666</dc:creator>
      <dc:date>2022-05-29T05:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: BEST PRACTICE: maxKBps</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/BEST-PRACTICE-maxKBps/m-p/599684#M104572</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/28550"&gt;@verbal_666&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;very useful!&lt;/P&gt;&lt;P&gt;please accept it for the other people of Community.&lt;/P&gt;&lt;P&gt;Ciao and happy splunking.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the Contributors&lt;SPAN&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 May 2022 05:37:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/BEST-PRACTICE-maxKBps/m-p/599684#M104572</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-05-29T05:37:49Z</dc:date>
    </item>
  </channel>
</rss>

