Watcher gmail notification in docker-compose

Hi,

I´m trying to setup watcher to send emails using gmail. I´m using a docker-compose but every time I add x-pack settings to it, I receive the following error:

unknown setting [xpack.notification.email.account.smtp.auth

My licence allows me to have watcher enabled and the ELK version is 7.8

Any ideas?

Sistemas

java.lang.IllegalArgumentException: unknown setting [xpack.notification.email.account.smtp.auth] please check that any required plugins are installed,

I would like to add those values using docker-compose environment options using something like this:

But I do not know what Im missing.

you are missing an account name in your configuration, see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/actions-email.html#configuring-email

Thanks for the answer

In the end, I created the config file as volume docker compose and added the necessary parameters and its working now :slight_smile:

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.