Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
shainaraskas authored Dec 27, 2024
1 parent 6882e87 commit ce4f39f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/reference/index-modules/slowlog.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -215,26 +215,24 @@ If you aren't sure how to start investigating traffic issues, consider enabling
+
[source,console]
--------------------------------------------------
PUT _all/_settings
PUT /*/_settings
{
"index.search.slowlog.include.user": true,
"index.search.slowlog.threshold.fetch.warn": "30s",
"index.search.slowlog.threshold.query.warn": "30s"
}
--------------------------------------------------
// NOTCONSOLE

* Enable for indexing requests:
+
[source,console]
--------------------------------------------------
PUT _all/_settings
PUT /*/_settings
{
"index.indexing.slowlog.include.user": true,
"index.indexing.slowlog.threshold.index.warn": "30s"
}
--------------------------------------------------
// NOTCONSOLE

Slow log thresholds being met does not guarantee cluster performance issues. In the event that symptoms are noticed, slow logs can provide helpful data to diagnose upstream traffic patterns or sources to resolve client-side issues. For example, you can use data included in `X-Opaque-ID`, the `_source` request body, or `user.*` fields to identify the source of your issue. This is similar to troubleshooting <<task-queue-backlog,live expensive tasks>>.

Expand Down

0 comments on commit ce4f39f

Please sign in to comment.