A new encryption key is generated for saved objects each time you start Kibana. Without a persistent key, you cannot delete or modify rules after Kibana restarts. To set a persistent key, add the xpack.encryptedSavedObjects.encryptionKey setting with any text value of 32 or more characters to the kibana.yml file
although we've specified the following in our docker-compose file: xpack.encryptedSavedObjects.encryptionKey: <redacted value>
The setting is specified under environment for the Kibana container. Our encryption key is 48 characters long. We're running v8.10.x of the stack. The environment settings looks like:
I think it's important to clarify that I'm running in a (relatively) "confined" environment (no Internet connection). Although the issue you pointed out is 100% valid I'm still receiving the same error after I amended my compose file.
So I'm still stranded (although I was very happy initially that you pointed out my embarrassing mistake) and I think the issue is because I'm "locked in". Is it possible for me to download the necessary artifacts and make them available to my docker compose stack? If it's possible to download them I may put them into our own repo and get them from there if it's possible to re-route the artifact requests by declaring another repo base url...
Hmmmm... I'm currently a little puzzled but I've deployed my ansible playbook more than ten times now and I must agree with you. No problem! I didn't change anything except the environment setting you pointed out and had the issue I mentioned but the recent deployments have worked flawlessly. I simply must have done something else but can't remember what I'll monitor this for a while and see if this "problem" reappears. Many thanks for your support!
I've "rolled out" my playbook now numerous times and it seems to work perfectly fine. Frankly I don't know why I had the issue earlier and am sorry I stirred up some unnecessary dust.
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.