Setting Alerting configuration on Kibana 7.9

10.1k views Asked by At

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”

enter image description here

Any leads will be appreciated.

And after kibana was restarted, it just crashed. needed to revert kibana.yml.

2

There are 2 answers

0
IgnitedMind On BEST ANSWER

I found the solution as discussed here

Restarted elasticsearch and kibana - both services after adding encryptionKey in kibana.yml.

1
user3224940 On
  1. bin/kibana-encryption-keys.bat generate

  2. copy your information

    xpack.encryptedSavedObjects.encryptionKey: xxxxxxxxxxxxxx

    xpack.reporting.encryptionKey: xxxxxxxxxxxxxxxxxx

    xpack.security.encryptionKey: xxxxxxxxxxxxxxxxx

  3. paste in your kibana.yml

  4. reset ElasticSearch and Kibana

  5. done