<?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: How do I change the REST API execution timeout? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295690#M163732</link>
    <description>&lt;LI-CODE lang="markup"&gt;|REST timeout=33333 (in seconds)&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 27 Oct 2023 15:54:41 GMT</pubDate>
    <dc:creator>valiquet</dc:creator>
    <dc:date>2023-10-27T15:54:41Z</dc:date>
    <item>
      <title>How do I change the REST API execution timeout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295689#M163731</link>
      <description>&lt;P&gt;I am trying to setup the DUO Splunk Connector and am getting the following error in Splunk Web upon submitting the configuration form:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Encountered the following error while trying to save: Splunkd daemon is not responding: ("Error connecting to /servicesNS/admin/duo_splunkapp/data/inputs/duo_input: ('The read operation timed out',)",)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have verified my Key and Host settings.&lt;/P&gt;

&lt;P&gt;Splunkd.log:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;01-11-2018 09:32:31.789 -0700 INFO  ModularInputs - &amp;lt;stderr&amp;gt; Argument validation for scheme=duo_input:  Validating input
01-11-2018 09:33:01.751 -0700 ERROR ModularInputs - Argument validation for scheme=duo_input: killing process, because executing it took too long (over 30000 msecs).
01-11-2018 09:33:01.753 -0700 INFO  ModularInputs - Argument validation for scheme=duo_input: script running failed (killed by signal 9: Killed).
01-11-2018 09:33:01.754 -0700 WARN  HttpListener - Socket error from 127.0.0.1 while accessing /servicesNS/admin/duo_splunkapp/data/inputs/duo_input: Broken pipe
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I believe that I need to raise a timeout setting, but my searches have turned up null when looking for any sort of timeout setting that the Splunk REST API references.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 16:47:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295689#M163731</guid>
      <dc:creator>thelucas</dc:creator>
      <dc:date>2018-01-11T16:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the REST API execution timeout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295690#M163732</link>
      <description>&lt;LI-CODE lang="markup"&gt;|REST timeout=33333 (in seconds)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 27 Oct 2023 15:54:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295690#M163732</guid>
      <dc:creator>valiquet</dc:creator>
      <dc:date>2023-10-27T15:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the REST API execution timeout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295691#M163733</link>
      <description>&lt;P&gt;In what configuration file?&lt;/P&gt;

&lt;P&gt;I ran:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;find /opt/splunk/ -name "*.conf" -print | xargs grep "REST timeout"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;grep -rnw '/opt/splunk/' -e 'REST timeout'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And didn't find it.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 16:56:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295691#M163733</guid>
      <dc:creator>thelucas</dc:creator>
      <dc:date>2018-03-09T16:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the REST API execution timeout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295692#M163734</link>
      <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.2/SearchReference/Rest"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.2/SearchReference/Rest&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Mar 2018 05:05:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295692#M163734</guid>
      <dc:creator>valiquet</dc:creator>
      <dc:date>2018-03-10T05:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the REST API execution timeout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295693#M163735</link>
      <description>&lt;P&gt;Hi folks, &lt;/P&gt;

&lt;P&gt;In this particular case I had to edit:&lt;BR /&gt;
    /opt/splunk/etc/system/local/web.conf&lt;/P&gt;

&lt;P&gt;adding the stanza:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunkdConnectionTimeout = 120
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which is defaulted to 30 seconds&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 15:51:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295693#M163735</guid>
      <dc:creator>thelucas</dc:creator>
      <dc:date>2018-03-12T15:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the REST API execution timeout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295694#M163736</link>
      <description>&lt;P&gt;I set this to 120 and verified it with this rest:&lt;/P&gt;

&lt;P&gt;| rest /servicesNS/-/-/configs/conf-web/settings&lt;/P&gt;

&lt;P&gt;after restarting splunkweb. however, I get the same message in ~/var/log/splunk/splunkd.log which is that it got killed after 30000 msecs (30 seconds).&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 19:44:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295694#M163736</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2018-03-27T19:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the REST API execution timeout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295695#M163737</link>
      <description>&lt;P&gt;Did you restart splunkd (i.e. not just splunkweb)?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 20:03:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295695#M163737</guid>
      <dc:creator>thelucas</dc:creator>
      <dc:date>2018-03-27T20:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the REST API execution timeout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295696#M163738</link>
      <description>&lt;P&gt;Yes, I did. Also I verified the settings using the rest you show above.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 20:49:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-REST-API-execution-timeout/m-p/295696#M163738</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2018-03-27T20:49:40Z</dc:date>
    </item>
  </channel>
</rss>

