I got that error just when I added that line to kibana configuration
for the versions, I am trying kibana and Elasticsearch from code source, so it's version 8.0.0
if there are executing rule errors near like the following, the cause is that some alerts are corrupted (probably because were saved with a different key by another Kibana instance) so you have to disable and enable the alerts that are shown in error at Stack Management/Rules and Connectors
Executing Rule default:some_alert_name:b5e2b790-d781-11ec-a057-9302a693dae8 has resulted in Error: Unable to decrypt attribute "apiKey"
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.