..

Unable to load connector types in kibana

Environment

  • OS: Ubuntu 18.04.6 LTS
  • elasticsearch: 8.17.2
  • kibana: 8.17.2

Problem

When I want to create Connectors, but there is a error: “Unable to load connector types”. And the page shows “You must configure an encryption key to use Alerting”.

Solution

Use kibana-encryption-keys generate to create encryptionKey. You will get some information like:

xpack.encryptedSavedObjects.encryptionKey: xxxxxxxxxxxxx
xpack.reporting.encryptionKey: xxxxxxxxxxxx
xpack.security.encryptionKey: xxxxxxxxxxxxxx

Paste the lines to kibana.yml file and restart kibana.

References

Stackoverflow: Setting Alerting configuration on Kibana 7.9

elastic discuss: Setting Alerting configuration on Kibana 7.9