Reputation: 367
I am using basic license for elastic search with on-premises deployment without security.
I want to get started with Alerting and Actions in Kibana 7.9.
I have set xpack.encryptedSavedObjects.encryptionKey
value as per documentation here
I restarted kibana after adding encrytionKey in kibana.yml file.
Still I am getting the same error as “You must set an encryption key”
Any leads will be appreciated.
And after kibana was restarted, it just crashed. needed to revert kibana.yml.
Upvotes: 4
Views: 12261
Reputation: 81
bin/kibana-encryption-keys.bat generate
copy your information
xpack.encryptedSavedObjects.encryptionKey: xxxxxxxxxxxxxx
xpack.reporting.encryptionKey: xxxxxxxxxxxxxxxxxx
xpack.security.encryptionKey: xxxxxxxxxxxxxxxxx
paste in your kibana.yml
reset ElasticSearch
and Kibana
done
Upvotes: 7
Reputation: 367
I found the solution as discussed here
Restarted elasticsearch
and kibana
- both services after adding encryptionKey
in kibana.yml
.
Upvotes: 6