# Thresholds for Search Latency & What to do when Search Latency is high

**URL:** https://discuss.elastic.co/t/thresholds-for-search-latency-what-to-do-when-search-latency-is-high/300850
**Category:** Elasticsearch
**Created:** [March 28, 2022, 1:34pm UTC](https://discuss.elastic.co/t/thresholds-for-search-latency-what-to-do-when-search-latency-is-high/300850 "2022-03-28T13:34:09Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mertkaant](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@mertkaant](https://discuss.elastic.co/u/mertkaant)
#### Post date: [March 28, 2022, 1:34pm UTC](https://discuss.elastic.co/t/thresholds-for-search-latency-what-to-do-when-search-latency-is-high/300850/1 "2022-03-28T13:34:09Z")

</div>

**Hello everyone!**

Recently we are trying to develop a monitor for **Search Latency** in Elasticsearch. (The same as the Stack Monitoring chart) I researched optimum threshold values for Search Latency but couldn't find any document. When the Search Latency reaches the threshold we want to alert but we don't know the **threshold** value.

If you excuse me I have a couple of questions about it:

- Can you please inform me about Search Latency thresholds?
- How can we say our Search Latency is high or normal or fast? Which value range defines that?
- What to do when Search Latency is high?
- What actions should we take when Search Latency is high?

Thanks & Regards

---

<div class="post-metadata">

### Author: ![mertkaant](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@mertkaant](https://discuss.elastic.co/u/mertkaant)
#### Post date: [March 30, 2022, 10:57am UTC](https://discuss.elastic.co/t/thresholds-for-search-latency-what-to-do-when-search-latency-is-high/300850/2 "2022-03-30T10:57:30Z")

</div>

No need for thresholds anymore, we set it to 10s. My remaining question is:  
**What actions should we take when Search Latency is high?**

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [March 31, 2022, 12:18am UTC](https://discuss.elastic.co/t/thresholds-for-search-latency-what-to-do-when-search-latency-is-high/300850/3 "2022-03-31T00:18:13Z")

</div>

> [@mertkaant](#):
>
> **What actions should we take when Search Latency is high?**

Figure out why, look at hot threads as a start. Look at resource utilisation for your nodes.

---

<div class="post-metadata">

### Author: ![mertkaant](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@mertkaant](https://discuss.elastic.co/u/mertkaant)
#### Post date: [April 7, 2022, 11:46am UTC](https://discuss.elastic.co/t/thresholds-for-search-latency-what-to-do-when-search-latency-is-high/300850/4 "2022-04-07T11:46:35Z")

</div>

thanks Mark! will do

---

<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: [May 5, 2022, 11:47am UTC](https://discuss.elastic.co/t/thresholds-for-search-latency-what-to-do-when-search-latency-is-high/300850/5 "2022-05-05T11:47:20Z")

</div>

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