We have an Elastic Cloud hosted version of ELK.
I am trying to follow these instructions - to setup my Slack watcher settings in the keystore - in order to upgrade to v7:
I've found the keystore at /deployments/security, but cannot seem to configure the Slack watcher correctly. I am trying to add:
https://hooks.slack.com/services/X/Y/Z (our slack webhook url)
And have tried replacing with every ID I can find.
Is this approach correct? If so, where would I find our ?
did you find out to configure slack in v7?
This is what I did without luck:
First, set the url via keystore:
echo "https://hooks.slack.com/services/...." | docker exec -i -e ES_JAVA_OPTS="-Xmx128m -Xms128m" es_elasticsearch-node1.ID bin/elasticsearch-keystore add -f -v -x xpack.notification.slack.account.monitoring.secure_url
Second, restart the services.
When I did:
I got empty object.
Not sure how should I configure slack in this version
it turns out that I didn't realized that I wasn't storing the keystore and with every restart I lost the settings.
do you have it solved now?
I got this reply from Elastic support:
First of all, it should be
Just like the settings values in elasticsearch.yml, changes to the keystore contents are not automatically applied to the running elasticsearch node. For this secure setting, you need to restart your cluster to make it work.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.