<?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: HTTP 400 Bad Request -- Request exceeds API limits - see limits.conf for details. (Too many documents for a single batch save.) in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/HTTP-400-Bad-Request-Request-exceeds-API-limits-see-limits-conf/m-p/414288#M7191</link>
    <description>&lt;P&gt;Bhai , We Increased max_content_length ,but not working .&lt;/P&gt;

&lt;P&gt;[http_input]&lt;BR /&gt;
max_content_length= 838860800000000&lt;/P&gt;

&lt;P&gt;[kvstore]&lt;BR /&gt;
max_size_per_result_mb =20000&lt;/P&gt;

&lt;P&gt;[kvstore]&lt;BR /&gt;
 max_size_per_batch_save_mb =2000&lt;/P&gt;

&lt;P&gt;[kvstore]&lt;BR /&gt;
max_size_per_batch_result_mb =2000&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 22:51:02 GMT</pubDate>
    <dc:creator>harishalipaka</dc:creator>
    <dc:date>2020-09-29T22:51:02Z</dc:date>
    <item>
      <title>HTTP 400 Bad Request -- Request exceeds API limits - see limits.conf for details. (Too many documents for a single batch save.)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/HTTP-400-Bad-Request-Request-exceeds-API-limits-see-limits-conf/m-p/414285#M7188</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;we are getting " HTTP 400 Bad Request -- Request exceeds API limits - see limits.conf for details. (Too many documents for a single batch save.)" Error from python job.&lt;/P&gt;

&lt;P&gt;Batch save is not working fine if records count is more than 200.&lt;/P&gt;

&lt;P&gt;I have  added  below stanzas in local,but not working fine.&lt;/P&gt;

&lt;P&gt;[kvstore]&lt;BR /&gt;
max_queries_per_batch = 500&lt;BR /&gt;
max_rows_in_memory_per_dump = 1000&lt;BR /&gt;
max_threads_per_outputlookup = 10&lt;BR /&gt;
max_documents_per_batch_save = 500&lt;/P&gt;

&lt;P&gt;Please help me out from this.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:50:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/HTTP-400-Bad-Request-Request-exceeds-API-limits-see-limits-conf/m-p/414285#M7188</guid>
      <dc:creator>harishalipaka</dc:creator>
      <dc:date>2020-09-29T22:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 400 Bad Request -- Request exceeds API limits - see limits.conf for details. (Too many documents for a single batch save.)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/HTTP-400-Bad-Request-Request-exceeds-API-limits-see-limits-conf/m-p/414286#M7189</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Did you have a look at &lt;CODE&gt;max_content_length&lt;/CODE&gt; Maximum size of HTTP request is specified in limits.conf with this.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jan 2019 14:29:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/HTTP-400-Bad-Request-Request-exceeds-API-limits-see-limits-conf/m-p/414286#M7189</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2019-01-19T14:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 400 Bad Request -- Request exceeds API limits - see limits.conf for details. (Too many documents for a single batch save.)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/HTTP-400-Bad-Request-Request-exceeds-API-limits-see-limits-conf/m-p/414287#M7190</link>
      <description>&lt;P&gt;What is your H/W specification for the search head?&lt;BR /&gt;
Have you checked if the search head is running into Out-Of-Memory once the issue happens?&lt;/P&gt;

&lt;P&gt;If you still see below Error:&lt;BR /&gt;
"StateStoreError: 'Batch save to KV store failed with code 400. Error details: Request exceeds API limits - see limits.conf for details. (Batch save size=52439798 too large)' "&lt;/P&gt;

&lt;P&gt;You may need to increase the max_size_per_result_mb for the [kvstore] in limits.conf&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Limitsconf#.5Bkvstore.5D" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Limitsconf#.5Bkvstore.5D&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;max_size_per_result_mb = &lt;BR /&gt;
* The maximum size, in megabytes (MB), of the result that will be &lt;BR /&gt;
  returned for a single query to a collection.&lt;BR /&gt;
* Default: 50&lt;/P&gt;

&lt;P&gt;If you see the error during ITSI operation, &lt;BR /&gt;
Please see our doc regarding the size limit:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/ITSI/latest/Configure/CreateKPIbasesearches#Increase_the_KV_store_bulk_get_limit" target="_blank"&gt;https://docs.splunk.com/Documentation/ITSI/latest/Configure/CreateKPIbasesearches#Increase_the_KV_store_bulk_get_limit&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope it help and see how it works for you.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:50:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/HTTP-400-Bad-Request-Request-exceeds-API-limits-see-limits-conf/m-p/414287#M7190</guid>
      <dc:creator>dchoi_splunk</dc:creator>
      <dc:date>2020-09-29T22:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 400 Bad Request -- Request exceeds API limits - see limits.conf for details. (Too many documents for a single batch save.)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/HTTP-400-Bad-Request-Request-exceeds-API-limits-see-limits-conf/m-p/414288#M7191</link>
      <description>&lt;P&gt;Bhai , We Increased max_content_length ,but not working .&lt;/P&gt;

&lt;P&gt;[http_input]&lt;BR /&gt;
max_content_length= 838860800000000&lt;/P&gt;

&lt;P&gt;[kvstore]&lt;BR /&gt;
max_size_per_result_mb =20000&lt;/P&gt;

&lt;P&gt;[kvstore]&lt;BR /&gt;
 max_size_per_batch_save_mb =2000&lt;/P&gt;

&lt;P&gt;[kvstore]&lt;BR /&gt;
max_size_per_batch_result_mb =2000&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:51:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/HTTP-400-Bad-Request-Request-exceeds-API-limits-see-limits-conf/m-p/414288#M7191</guid>
      <dc:creator>harishalipaka</dc:creator>
      <dc:date>2020-09-29T22:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 400 Bad Request -- Request exceeds API limits - see limits.conf for details. (Too many documents for a single batch save.)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/HTTP-400-Bad-Request-Request-exceeds-API-limits-see-limits-conf/m-p/414289#M7192</link>
      <description>&lt;P&gt;No bhai Increase ,but not working.&lt;/P&gt;

&lt;P&gt;[http_input]&lt;BR /&gt;
max_content_length= 838860800000000&lt;/P&gt;

&lt;P&gt;[kvstore]&lt;BR /&gt;
max_size_per_result_mb =20000&lt;/P&gt;

&lt;P&gt;[kvstore]&lt;BR /&gt;
 max_size_per_batch_save_mb =2000&lt;/P&gt;

&lt;P&gt;[kvstore]&lt;BR /&gt;
max_size_per_batch_result_mb =2000&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:51:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/HTTP-400-Bad-Request-Request-exceeds-API-limits-see-limits-conf/m-p/414289#M7192</guid>
      <dc:creator>harishalipaka</dc:creator>
      <dc:date>2020-09-29T22:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 400 Bad Request -- Request exceeds API limits - see limits.conf for details. (Too many documents for a single batch save.)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/HTTP-400-Bad-Request-Request-exceeds-API-limits-see-limits-conf/m-p/414290#M7193</link>
      <description>&lt;P&gt;H/W specification for the search head:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  OS   : RedHat 7.5
   Arch : x86_64

   CPU  : 36 x Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz
   RAM  : 68.54 GB

   SELinux is enforcing
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Jan 2019 09:00:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/HTTP-400-Bad-Request-Request-exceeds-API-limits-see-limits-conf/m-p/414290#M7193</guid>
      <dc:creator>harishalipaka</dc:creator>
      <dc:date>2019-01-21T09:00:43Z</dc:date>
    </item>
  </channel>
</rss>

