We are facing an issue with Kibana 7.16.0 on Ubuntu 18.04. In Kibana log I can see a warning message ["warning","config","deprecation"],"pid":24471,"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."}.
In the upgrade assistant for ELK 8.0 we are facing the same message. To correct it seems we have to add this parameters :
I'm starting with ELK and I don't know how to add this parameters, I try with a cURL but this does not solve the problem. In kibana.yml I removed logging.dest like this is mentionned in the picture.
Hi, got the same problem. All changes in kibana.yml are ignored. I noticed that "logging.dest" is hardcoded in unit file "kibana.service".
So what to do about that?
Thanks
You have to add it to the /etc/kibana/kibana.yml file.
I noticed the default appender is required:
Jan 13 10:30:14 stvjustxelk001 kibana[7812]: FATAL Error: [config validation of [logging].root]: "default" appender required for migration period till the
next major release
My config:
# Enables you to specify a file where Kibana stores log output.
#logging.dest: stdout
#DEPRECATED
#logging.dest: /var/data/log/kibana/kibana.log
# Set the value of this setting to true to suppress all logging output.
#logging.silent: false
# Set the value of this setting to true to suppress all logging output other than error messages.
#logging.quiet: false
# Set the value of this setting to true to log all events, including system usage information
# and all requests.
#logging.verbose: false
#logging.verbose: true
logging:
appenders:
file:
type: file
fileName: /var/data/log/kibana/kibana.log
layout:
type: pattern
root:
appenders: [default,file]
Looks like that was probably caused by Kibana 7 having its service in /etc/systemd/system/kibana.service but Kibana 8 has it in /usr/lib/systemd/system/kibana.service and it does not look like upgrading deletes the old one, so both end up being there and the one in /etc has the priority.
I had to do the following to get Kibana back up and running:
Yes, in 7.17 the warning message disapear but when upgrading to 8.0 i could not restart Kibana, I did the same step like you and that's fix the problem. It seems ELK Team just remove the warning message but didn't fix the issue for the upgrade.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.