Kibana version:
6.2.2
Elasticsearch version:
6.2.2
Server OS version:
windows 10
Browser version:
chrome 64.0.3282.186
Browser OS version:
x64
How to configure Watcher's mail notifications?
I can't start elasticsearch after I configure my mail account in the elasticsearch.yml file
Refer to the following address configuration
https://www.elastic.co/guide/en/watcher/current/email-services.html#email-account
elasticsearch.yml config
watcher.actions.email.service.account:
work:
email_defaults:
from: 'John Doe <[email protected]>'
smtp:
auth: true
starttls.enable: true
host: smtp.qq.com
port: 587
user: "111"
password: "111"
Error log
[2018-03-05T10:32:10,403][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded module [aggs-matrix-stats]
[2018-03-05T10:32:10,403][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded module [analysis-common]
[2018-03-05T10:32:10,403][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded module [ingest-common]
[2018-03-05T10:32:10,403][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded module [lang-expression]
[2018-03-05T10:32:10,404][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded module [lang-mustache]
[2018-03-05T10:32:10,404][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded module [lang-painless]
[2018-03-05T10:32:10,404][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded module [mapper-extras]
[2018-03-05T10:32:10,404][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded module [parent-join]
[2018-03-05T10:32:10,404][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded module [percolator]
[2018-03-05T10:32:10,404][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded module [rank-eval]
[2018-03-05T10:32:10,404][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded module [reindex]
[2018-03-05T10:32:10,404][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded module [repository-url]
[2018-03-05T10:32:10,405][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded module [transport-netty4]
[2018-03-05T10:32:10,405][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded module [tribe]
[2018-03-05T10:32:10,406][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded plugin [x-pack-core]
[2018-03-05T10:32:10,406][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded plugin [x-pack-deprecation]
[2018-03-05T10:32:10,406][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded plugin [x-pack-graph]
[2018-03-05T10:32:10,406][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded plugin [x-pack-logstash]
[2018-03-05T10:32:10,408][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded plugin [x-pack-ml]
[2018-03-05T10:32:10,408][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded plugin [x-pack-monitoring]
[2018-03-05T10:32:10,408][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded plugin [x-pack-security]
[2018-03-05T10:32:10,409][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded plugin [x-pack-upgrade]
[2018-03-05T10:32:10,409][INFO ][o.e.p.PluginsService ] [wtROQsn] loaded plugin [x-pack-watcher]
[2018-03-05T10:32:12,261][ERROR][o.e.b.Bootstrap ] Exception
java.lang.IllegalArgumentException: unknown setting [watcher.actions.email.service.account.work.smtp.auth] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
Hi @aofong,
The syntax has changed since 2.4 (which is the version for the docs you linked). The new syntax can be found here
Thanks,
Chris
I would like to ask for documentation regards the standard profile- for those who use their own SMTP servers.
Most helpful comment
I would like to ask for documentation regards the standard profile- for those who use their own SMTP servers.