<?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 to increase elastic search timeout? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-increase-elastic-search-timeout/m-p/436511#M170634</link>
    <description>&lt;P&gt;Thanks MuS, I have updated the http_urllib3.py script by myself and changed timeout from 10s to 30s.&lt;/P&gt;</description>
    <pubDate>Sun, 23 Jun 2019 23:24:04 GMT</pubDate>
    <dc:creator>ahmadsaadwarrai</dc:creator>
    <dc:date>2019-06-23T23:24:04Z</dc:date>
    <item>
      <title>How to increase elastic search timeout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-increase-elastic-search-timeout/m-p/436508#M170631</link>
      <description>&lt;P&gt;Sometimes my search  &lt;CODE&gt;gets&lt;/CODE&gt; fail and unable to fetch data because of below error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ConnectionTimeout at "/opt/splunk/etc/apps/elasticsplunk/bin/elasticsearch/connection/http_urllib3.py", line 155 : ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host=u'172.16.9.xx', port=9200): Read timed out. (read timeout=10))
[indexer1.dr] ConnectionTimeout at "/opt/splunk/var/run/searchpeers/search1.dr-1561073970/apps/elasticsplunk/bin/elasticsearch/connection/http_urllib3.py", line 155 : ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host=u'172.16.9.xx', port=9200): Read timed out. (read timeout=10))
[indexer2.dr] ConnectionTimeout at "/opt/splunk/var/run/searchpeers/search1.dr-1561073970/apps/elasticsplunk/bin/elasticsearch/connection/http_urllib3.py", line 155 : ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host=u'172.16.9.xx', port=9200): Read timed out. (read timeout=10))
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does anyone know how to fine tune or increase this timeout settings?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 23:45:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-increase-elastic-search-timeout/m-p/436508#M170631</guid>
      <dc:creator>ahmadsaadwarrai</dc:creator>
      <dc:date>2019-06-20T23:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase elastic search timeout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-increase-elastic-search-timeout/m-p/436509#M170632</link>
      <description>&lt;P&gt;Hi there, I have removed the last octet of the IP's.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 00:50:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-increase-elastic-search-timeout/m-p/436509#M170632</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-06-21T00:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase elastic search timeout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-increase-elastic-search-timeout/m-p/436510#M170633</link>
      <description>&lt;P&gt;Hi  ahmadsaadwarraich,&lt;/P&gt;

&lt;P&gt;reading the error messages the error is caused by your search peers which indicates that this search command you are using is distributed to the search peers. Usually this is fine, but in this special case the command should only be executed on the search head. This can be configured in the commands.conf for this app by setting the option &lt;CODE&gt;local = true&lt;/CODE&gt; &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;local = [true|false]
* If true, specifies that the command should be run on the search head only
* Defaults to false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you're still hitting timeout issues head over to the offical elastic search GitHub repo &lt;A href="https://github.com/elastic/elasticsearch-py/blob/master/elasticsearch/connection/http_urllib3.py"&gt;https://github.com/elastic/elasticsearch-py/blob/master/elasticsearch/connection/http_urllib3.py&lt;/A&gt; and check how the &lt;CODE&gt;timeout&lt;/CODE&gt; is handled which is 10 seconds by default btw.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 21:55:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-increase-elastic-search-timeout/m-p/436510#M170633</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-06-21T21:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase elastic search timeout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-increase-elastic-search-timeout/m-p/436511#M170634</link>
      <description>&lt;P&gt;Thanks MuS, I have updated the http_urllib3.py script by myself and changed timeout from 10s to 30s.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2019 23:24:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-increase-elastic-search-timeout/m-p/436511#M170634</guid>
      <dc:creator>ahmadsaadwarrai</dc:creator>
      <dc:date>2019-06-23T23:24:04Z</dc:date>
    </item>
  </channel>
</rss>

