# Slowlog differences between 8.17 and 7.17

**URL:** <https://discuss.elastic.co/t/slowlog-differences-between-8-17-and-7-17/373379>\
**Category:** Elasticsearch\
**Created:** [January 20, 2025, 6:31am UTC](https://discuss.elastic.co/t/slowlog-differences-between-8-17-and-7-17/373379 "2025-01-20T06:31:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kpachar](https://avatars.discourse-cdn.com/v4/letter/k/c4cdca/32.png) [@kpachar](https://discuss.elastic.co/u/kpachar)\
**Post date:** [January 20, 2025, 6:31am UTC](https://discuss.elastic.co/t/slowlog-differences-between-8-17-and-7-17/373379/1 "2025-01-20T06:31:40Z")

</div>

Hello,

The request shown below works fine on Elasticsearch 7.17 but fails on 8.17 (also on 8.10 that I tried)

```auto
curl -X PUT "http://localhost:9200/my_index3" -H 'Content-Type: application/json' -d'
{
  "settings": {
    "number_of_shards": 1,
    "number_of_replicas": 1,
    "index.search.slowlog.level": "TRACE"
  }
}
'

```

On 7.17 -

```auto
{"acknowledged":true,"shards_acknowledged":false,"index":"my_index3"}%

```

On 8.17 -

```auto
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"unknown setting [index.search.slowlog.level]"}],"type":"illegal_argument_exception","reason":"unknown setting [index.search.slowlog.level]"},"status":400}%

```

Is there anything special I need to be doing in 8.x for this?

Thank you

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 20, 2025, 8:52am UTC](https://discuss.elastic.co/t/slowlog-differences-between-8-17-and-7-17/373379/2 "2025-01-20T08:52:40Z")

</div>

Apparently it changed a bit?

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

```auto
PUT /my-index-000001/_settings
{
  "index.search.slowlog.threshold.query.warn": "10s",
  "index.search.slowlog.threshold.query.info": "5s",
  "index.search.slowlog.threshold.query.debug": "2s",
  "index.search.slowlog.threshold.query.trace": "500ms",
  "index.search.slowlog.threshold.fetch.warn": "1s",
  "index.search.slowlog.threshold.fetch.info": "800ms",
  "index.search.slowlog.threshold.fetch.debug": "500ms",
  "index.search.slowlog.threshold.fetch.trace": "200ms"
}

```
