# How to open debug ES index write log (index slow log is too simple)

**URL:** <https://discuss.elastic.co/t/how-to-open-debug-es-index-write-log-index-slow-log-is-too-simple/287208>\
**Category:** Elasticsearch\
**Created:** [October 20, 2021, 2:29pm UTC](https://discuss.elastic.co/t/how-to-open-debug-es-index-write-log-index-slow-log-is-too-simple/287208 "2021-10-20T14:29:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dalei2019](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dalei2019/32/92374_2.png) [@dalei2019](https://discuss.elastic.co/u/dalei2019)\
**Post date:** [October 20, 2021, 2:29pm UTC](https://discuss.elastic.co/t/how-to-open-debug-es-index-write-log-index-slow-log-is-too-simple/287208/1 "2021-10-20T14:29:20Z")

</div>

Use slow log, I can find the index result when error occur.

```auto
PUT /xxx/_settings
{
  "index.indexing.slowlog.threshold.index.warn": "0s",
  "index.indexing.slowlog.threshold.index.info": "0s",
  "index.indexing.slowlog.threshold.index.debug": "0s",
  "index.indexing.slowlog.threshold.index.trace": "0ms",
  "index.indexing.slowlog.source": "1000"
}

```

But it only show index result, no other informations ,like client source host ...

```auto
[2021-10-20T20:34:42,093][WARN][index.indexing.slowlog.index] [xxxx] [yyyyy/zzzz] took[862.6micros], took_millis[0], type[yyyyy], id[
....

```

I want known who write this specify index with specify doc id.

Because I have many services write same index into ES cluster in same time.

Can you give me some suggestions?

Thanks.

---

<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:** [November 17, 2021, 2:29pm UTC](https://discuss.elastic.co/t/how-to-open-debug-es-index-write-log-index-slow-log-is-too-simple/287208/2 "2021-11-17T14:29:32Z")

</div>

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