Deprecation in Kibana 7.13.4

in kibana 7.13.4 i can not get rid of next deprecations:

  1. plugins.scanDirs is deprecated and is no longer used

  2. has been deprecated and will be removed in 8.0. To set the destination moving forward, you can use the "console" appender in your logging configuration or define a custom one. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx

{"type":"log","@timestamp":"2021-09-17T16:52:02+03:00","tags":["warning","config","deprecation"],"pid":9350,"message":"plugins.scanDirs is deprecated and is no longer used"}

{"type":"log","@timestamp":"2021-09-17T16:51:20+03:00","tags":["warning","config","deprecation"],"pid":8709,"message":"\"logging.dest\" has been deprecated and will be removed in 8.0. To set the destination moving forward, you can use the \"console\" appender in your logging configuration or define a custom one. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx"}

P.s. solution from github did not help..
you can check at your side with
cat /var/log/kibana/kibana.log | grep deprecation

1 Like

How are running Kibana? Does your kibana.yml contain plugins.scanDirs?

I'm stuck with the same point.
i used:

logging:
appenders:
file:
type: file
fileName: /var/log/kibana/kibana.log
layout:
type: pattern
loggers:
- name: plugins.myPlugin
appenders: [file]

in kibana.yml, but i don't see log in that path
as suggested here

I am having the same deprecation error thrown at console.

{"type":"log","@timestamp":"2021-11-05T05:06:01-04:00","tags":["warning","config","deprecation"],"pid":233169,"message":"plugins.scanDirs is deprecated and is no longer used"}

Would appreciate if support can respond

Thanks.

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