Slow log doesn't capture

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.

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

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

1 Like