Configuration guides for IT Administrators

[Solved] – Elasticsearch error – Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml

[Solved] – Elasticsearch error – Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml

We had problem with Kibana, the service didn’t start

While looking at the logs /var/log/kibana/kibana.log, error was identified to be with

[“warning”,”plugins”,”security”,”config”],”pid”:211619,”message”:”Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.”}

[“warning”,”plugins”,”alerting”],”pid”:211619,”message”:”APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.”}

The solution is to generate encryptionKey for xpack reporting, security and encryptedSavedObjects using kibana-encryption-keys tool

$ /usr/share/kibana/bin/kibana-encryption-keys generate

HostGator $2.75 per month
HostGator
24/7/365 Technical Support, Free Site Building Tools, 4500 Website Templates, Free Shopping Cart Software, Ideal for WordPress, 45 Day Money Back Guarantee

Copy the generated keys under Settings: and paste in kibana.yml file

All in One WordPress Hosting Starts at 30$ per month
All in One WordPress Hosting
WordPress
High optimized WordPress hosting, secure firewall, HTTPS, Backup, hack-fix guarantee and many others at 30$ per month

3 responses to “[Solved] – Elasticsearch error – Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml”

  1. hello8822 avatar

    Yo, anyone tried hello8822? I did and it was a good experience for me. You can try it out here hello8822

  2. okttslot avatar

    Alright, okttslot is worth checking out in opinion. Check it out and see. okttslot

  3. 82jiliph avatar

    Hey y’all, been messing around on 82jiliph. Solid site, would recommend to check it out at least. 82jiliph

Leave a Reply

Your email address will not be published. Required fields are marked *

Lucas Brey

I’m Lucas Brey, a travel blogger sharing practical guides, hidden gems, and honest tips from the road. Follow along for smart itineraries, great food finds, and stories worth bookmarking.

Tags