<?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 Max connection count to API? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Max-connection-count-to-API/m-p/18856#M2608</link>
    <description>&lt;P&gt;I wrote a simple, REST-based proxy to query Splunk's REST API from SiteScope. The proxy manages job creation, tracking etc so that SiteScope can simply issue a GET on a URL and get easily parsable XML in return. I have 25 or so monitors that use it, and they run once per minute.&lt;/P&gt;

&lt;P&gt;Very often the proxy gets a 503 server unavailable message from Splunk. Apparently I'm hitting a limit on the API interface? Is there a switch to adjust this?&lt;/P&gt;

&lt;P&gt;v4.1.5&lt;/P&gt;

&lt;P&gt;EDIT2:&lt;/P&gt;

&lt;P&gt;My $SPLUNK_HOME/etc/system/local/authorize.conf file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
run_web_script_fields = enabled
run_web_script_surrounding_events = enabled

[role_user]
srchJobsQuota = 16
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The user I am hitting the API with is in the "user" role.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Dec 2010 01:49:54 GMT</pubDate>
    <dc:creator>twinspop</dc:creator>
    <dc:date>2010-12-30T01:49:54Z</dc:date>
    <item>
      <title>Max connection count to API?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Max-connection-count-to-API/m-p/18856#M2608</link>
      <description>&lt;P&gt;I wrote a simple, REST-based proxy to query Splunk's REST API from SiteScope. The proxy manages job creation, tracking etc so that SiteScope can simply issue a GET on a URL and get easily parsable XML in return. I have 25 or so monitors that use it, and they run once per minute.&lt;/P&gt;

&lt;P&gt;Very often the proxy gets a 503 server unavailable message from Splunk. Apparently I'm hitting a limit on the API interface? Is there a switch to adjust this?&lt;/P&gt;

&lt;P&gt;v4.1.5&lt;/P&gt;

&lt;P&gt;EDIT2:&lt;/P&gt;

&lt;P&gt;My $SPLUNK_HOME/etc/system/local/authorize.conf file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
run_web_script_fields = enabled
run_web_script_surrounding_events = enabled

[role_user]
srchJobsQuota = 16
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The user I am hitting the API with is in the "user" role.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2010 01:49:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Max-connection-count-to-API/m-p/18856#M2608</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2010-12-30T01:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Max connection count to API?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Max-connection-count-to-API/m-p/18857#M2609</link>
      <description>&lt;P&gt;Found this previous question:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/questions/3442/splunk-appears-to-be-ignoring-limits-conf-base-max-searches-8"&gt;http://answers.splunk.com/questions/3442/splunk-appears-to-be-ignoring-limits-conf-base-max-searches-8&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Seems to be the answer&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2010 07:54:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Max-connection-count-to-API/m-p/18857#M2609</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2010-12-30T07:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Max connection count to API?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Max-connection-count-to-API/m-p/18858#M2610</link>
      <description>&lt;P&gt;Nope. Still getting the 503s. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2010 23:44:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Max-connection-count-to-API/m-p/18858#M2610</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2010-12-30T23:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Max connection count to API?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Max-connection-count-to-API/m-p/18859#M2611</link>
      <description>&lt;P&gt;More research from the SiteScope end: When I get the error there are at most 2 or 3 other searches running. Doesn't seem like too many.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Dec 2010 00:01:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Max-connection-count-to-API/m-p/18859#M2611</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2010-12-31T00:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Max connection count to API?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Max-connection-count-to-API/m-p/18860#M2612</link>
      <description>&lt;P&gt;Try this in server.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[managementServer]
maxBackLog = 100
requestQueueSize = 100
threadPoolSize = 100
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Jan 2011 23:48:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Max-connection-count-to-API/m-p/18860#M2612</guid>
      <dc:creator>tradel</dc:creator>
      <dc:date>2011-01-11T23:48:41Z</dc:date>
    </item>
  </channel>
</rss>

