# Where to set ElasticSearch request timeout?

**URL:** <https://discuss.elastic.co/t/where-to-set-elasticsearch-request-timeout/108732>\
**Category:** Elasticsearch\
**Created:** [November 22, 2017, 2:51pm UTC](https://discuss.elastic.co/t/where-to-set-elasticsearch-request-timeout/108732 "2017-11-22T14:51:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![imranazad](https://avatars.discourse-cdn.com/v4/letter/i/c2a13f/32.png) [@imranazad](https://discuss.elastic.co/u/imranazad)\
**Post date:** [November 22, 2017, 2:51pm UTC](https://discuss.elastic.co/t/where-to-set-elasticsearch-request-timeout/108732/1 "2017-11-22T14:51:38Z")

</div>

I've looked everywhere including the documentation regarding where I can set the request timeout for elasticsearch without much luck.

In Visual Studio the intelliSense label for the property 'requestTimeout' states `Note you can set this to a high value here and specify a timeout on elasticsearch's side'

Can someone tell me where the setting is on the elastic side?

---

<div class="post-metadata">

**Author:** ![luiz.santos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luiz.santos/32/24664_2.png) [@luiz.santos](https://discuss.elastic.co/u/luiz.santos)\
**Post date:** [November 27, 2017, 6:10pm UTC](https://discuss.elastic.co/t/where-to-set-elasticsearch-request-timeout/108732/2 "2017-11-27T18:10:10Z")

</div>

Hi imranazad,

You should specify the timeout parameter in your HTTP client not in Elasticsearch. For example, if you are using [.NET client](https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/request-timeout.html#request-timeout).

Hope it helps,  
LG

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 25, 2017, 6:10pm UTC](https://discuss.elastic.co/t/where-to-set-elasticsearch-request-timeout/108732/3 "2017-12-25T18:10:41Z")

</div>

Closed on December 25, 2017, 6:10pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
