Fix elasticsearch.queries -> elasticsearch.query (#119941)

* Fix elasticsearch.queries -> elasticsearch.query

* Fix another elasticsearch.queries -> elasticsearch.query
This commit is contained in:
Rudolf Meijering 2021-11-30 13:39:06 +01:00 committed by GitHub
parent 2ffe8d1c03
commit 9ec41f70a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -99,7 +99,7 @@
# Logs queries sent to Elasticsearch.
#logging.loggers:
# - name: elasticsearch.queries
# - name: elasticsearch.query
# level: debug
# Logs http responses.

View file

@ -250,11 +250,11 @@ const deprecations: ConfigDeprecationProvider = () => [
if (es.logQueries === true) {
addDeprecation({
configPath: `${fromPath}.logQueries`,
message: `Setting [${fromPath}.logQueries] is deprecated and no longer used. You should set the log level to "debug" for the "elasticsearch.queries" context in "logging.loggers".`,
message: `Setting [${fromPath}.logQueries] is deprecated and no longer used. You should set the log level to "debug" for the "elasticsearch.query" context in "logging.loggers".`,
correctiveActions: {
manualSteps: [
`Remove Setting [${fromPath}.logQueries] from your kibana configs`,
`Set the log level to "debug" for the "elasticsearch.queries" context in "logging.loggers".`,
`Set the log level to "debug" for the "elasticsearch.query" context in "logging.loggers".`,
],
},
});