# Slow log doesn't capture

**URL:** <https://discuss.elastic.co/t/slow-log-doesnt-capture/371715>\
**Category:** Elasticsearch\
**Created:** [December 9, 2024, 4:40pm UTC](https://discuss.elastic.co/t/slow-log-doesnt-capture/371715 "2024-12-09T16:40:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![INS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ins/32/92827_2.png) [@INS](https://discuss.elastic.co/u/INS)\
**Post date:** [December 9, 2024, 4:40pm UTC](https://discuss.elastic.co/t/slow-log-doesnt-capture/371715/1 "2024-12-09T16:40:19Z")

</div>

Hi  
I have noticed that most of the log words are not recorded despite the setting of precise parameters, have you met with such a situation. I need to know what type of request search takes more resources.

```auto
PUT /prod_index/_settings
{
  "index": {
    "search.slowlog.threshold.query.warn": "500ms",
    "search.slowlog.threshold.query.info": "300ms",
    "search.slowlog.threshold.query.debug": "200ms",
    "search.slowlog.threshold.query.trace": "150ms",
    "search.slowlog.threshold.fetch.warn": "500ms",
    "search.slowlog.threshold.fetch.info": "300ms",
    "search.slowlog.threshold.fetch.debug": "200ms",
    "search.slowlog.threshold.fetch.trace": "150ms",
     "search.slowlog.level": null
  }
}

```

---

<div class="post-metadata">

**Author:** ![Musab\_Dogan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/musab_dogan/32/70691_2.png) [@Musab\_Dogan](https://discuss.elastic.co/u/Musab_Dogan)\
**Post date:** [December 9, 2024, 9:49pm UTC](https://discuss.elastic.co/t/slow-log-doesnt-capture/371715/2 "2024-12-09T21:49:23Z")

</div>

If I understand the question and if the slowlogs interrupted you can increase the `"index.indexing.slowlog.source": "1000"` parameter.

> **[Slow Log | Elasticsearch Guide \[8.16\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-slowlog.html#index-slow-log)**
