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

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

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 ...

[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.

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