Skip to content

Commit

Permalink
docs logging configuration: removed dead link and added javadoc refer…
Browse files Browse the repository at this point in the history
…ence instead. (#95080)

* docs: removed dead link and added javadoc reference instead.

* Update docs/reference/setup/logging-config.asciidoc

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>

---------

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
  • Loading branch information
alstolten and abdonpijpelink authored Apr 12, 2023
1 parent a7e9012 commit 2f27422
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/reference/setup/logging-config.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,13 @@ Deprecation logs can be indexed into `.logs-deprecation.elasticsearch-default` d
`cluster.deprecation_indexing.enabled` setting is set to true.

==== Deprecation logs throttling
:es-rate-limiting-filter-java-doc: {elasticsearch-javadoc}/org/elasticsearch/common/logging/RateLimitingFilter.html
Deprecation logs are deduplicated based on a deprecated feature key
and x-opaque-id so that if a feature is repeatedly used, it will not overload the deprecation logs.
This applies to both indexed deprecation logs and logs emitted to log files.
You can disable the use of `x-opaque-id` in throttling by changing
`cluster.deprecation_indexing.x_opaque_id_used.enabled` to false
See link:./server/src/main/java/org/elasticsearch/common/logging/RateLimitingFilter.java[RateLimitingFilter]
`cluster.deprecation_indexing.x_opaque_id_used.enabled` to false,
refer to this class {es-rate-limiting-filter-java-doc}[javadoc] for more details.

[discrete]
[[json-logging]]
Expand Down

0 comments on commit 2f27422

Please sign in to comment.