Replies: 3 comments 2 replies
-
It is intentionally disabled. If you want to make use of it you need to use volumes (see Wiki, Discussions, etc.) to adjust the ES and Kibana configs to your needs. |
Beta Was this translation helpful? Give feedback.
-
As suggested I created a volume for elasticsearch with the different "xpack" variables enabled, but I can't understand where to mount it...I tried on /etc/elasticsearch/elasticsearch.yml and on /usr/share/elasticsearch/config/elasticsearch.yml with no success... I really need to enable the features to create rules and send emails based on them. Can you help me? |
Beta Was this translation helpful? Give feedback.
-
I use elastalert by adding the following to tpot.yml:
and then creating the config file and a rule file like: /opt/elastalert/config.yaml
/opt/elastalert/rules/emailrule.yaml
for creating the configs i used Best regards |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm using the last Tpot version available and I'm trying to enable the alerting via Kibana.
After the installation of Tpot, in the Kibana interface under Management > Rules I see the message "Additional setup required
You must configure an encryption key to use Alerting."
I followed the indications in the documentation suggested here (https://www.elastic.co/guide/en/kibana/8.6/alert-action-settings-kb.html#general-alert-action-settings) but the problem was not resolved.
So I tried to set the env variable in the /opt/tpot/etc/tpot.yml (with various combinations suggested online ->one reference used: elastic/kibana#57773) but again no luck...
The error log that I see in Kibana is this:
[WARN ][plugins.security.config] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
the env variables are setted as I can see them from the "env" command from the kibana console in portainer that was installed to have a clearer view:
Any ideas to resolve this problem?
Thank you :)
Beta Was this translation helpful? Give feedback.
All reactions