# Elasticsearch.yml email configuration error

**URL:** <https://discuss.elastic.co/t/elasticsearch-yml-email-configuration-error/96956>\
**Category:** Elasticsearch\
**Created:** [August 14, 2017, 11:13am UTC](https://discuss.elastic.co/t/elasticsearch-yml-email-configuration-error/96956 "2017-08-14T11:13:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinayak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinayak/32/45342_2.png) [@vinayak](https://discuss.elastic.co/u/vinayak)\
**Post date:** [August 14, 2017, 11:13am UTC](https://discuss.elastic.co/t/elasticsearch-yml-email-configuration-error/96956/1 "2017-08-14T11:13:11Z")

</div>

Hi All,

My elastic search configuration for is like this only:

# ======================== Elasticsearch Configuration =========================

# 

# ---------------------------------- Cluster -----------------------------------

# 

# Use a descriptive name for your cluster:

# 

[cluster.name](http://cluster.name): avekshaa

# 

# ------------------------------------ Node ------------------------------------

# 

# Use a descriptive name for the node:

# 

[node.name](http://node.name): avekesnode1

# 

# 

path.data: D:\Elasticsearch\Data

# 

# Path to log files:

# 

path.logs: D:\Elasticsearch\Logs

# 

network.host: 0.0.0.0

# 

# Set a custom port for HTTP:

# 

http.port: 9200

# 

action.auto\_create\_index: .security,.monitoring\*,.watches,.triggered\_watches,.watcher-history\*,.ml\*  
xpack.ml.enabled: true  
xpack.watcher.enabled: true  
xpack.security.enabled: true  
xpack.monitoring.enabled: true

#--------------------------------------------------------  
watcher.actions.email.service.account:  
gmail\_account:  
profile: gmail  
smtp:  
auth: true  
starttls.enable: true  
host: [smtp.gmail.com](http://smtp.gmail.com)  
port: 587  
user: [vinayak.choubey@avekshaa.com](mailto:vinayak.choubey@avekshaa.com)  
password: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

#--------------------------elasticsearch.yml end here---------------------------------------------

I am getting error . pasting log file error part in it.Please provide me correct solutions.

* * *

[2017-08-14T16:01:45,632][INFO][o.e.n.Node] [avekesnode1] initializing ...  
[2017-08-14T16:03:31,870][INFO][o.e.e.NodeEnvironment] [avekesnode1] using [1] data paths, mounts [[Other (D:)]], net usable\_space [119.5gb], net total\_space [215.5gb], spins? [unknown], types [NTFS]  
[2017-08-14T16:03:31,871][INFO][o.e.e.NodeEnvironment] [avekesnode1] heap size [1.9gb], compressed ordinary object pointers [true]  
[2017-08-14T16:03:32,754][INFO][o.e.n.Node] [avekesnode1] node name [avekesnode1], node ID [Czqt252vTICylcghAyMC9g]  
[2017-08-14T16:03:32,755][INFO][o.e.n.Node] [avekesnode1] version[5.5.0], pid[4312], build[260387d/2017-06-30T23:16:05.735Z], OS[Windows 10/10.0/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0\_112/25.112-b15]  
[2017-08-14T16:03:32,757][INFO][o.e.n.Node] [avekesnode1] JVM arguments [-Xms2g, -Xmx2g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+DisableExplicitGC, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -Djdk.io.permissionsUseCanonicalPath=true, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j.skipJansi=true, -XX:+HeapDumpOnOutOfMemoryError, -Delasticsearch, -Des.path.home=C:\Users\vinayak\Documents\ElasticSearch\elasticsearch-5.5.0]  
[2017-08-14T16:03:36,037][WARN][o.e.x.XPackPlugin] the [action.auto\_create\_index] setting is configured to be restrictive [.security,.monitoring\*,.watches,.triggered\_watches,.watcher-history\*,.ml\*]. for the next 6 months daily history indices are allowed to be created, but please make sure that any future history indices after 6 months with the pattern [.watcher-history-YYYY.MM.dd] are allowed to be created  
[2017-08-14T16:03:36,079][INFO][o.e.p.PluginsService] [avekesnode1] loaded module [aggs-matrix-stats]  
[2017-08-14T16:03:36,080][INFO][o.e.p.PluginsService] [avekesnode1] loaded module [ingest-common]  
[2017-08-14T16:03:36,082][INFO][o.e.p.PluginsService] [avekesnode1] loaded module [lang-expression]  
[2017-08-14T16:03:36,085][INFO][o.e.p.PluginsService] [avekesnode1] loaded module [lang-groovy]  
[2017-08-14T16:03:36,086][INFO][o.e.p.PluginsService] [avekesnode1] loaded module [lang-mustache]  
[2017-08-14T16:03:36,088][INFO][o.e.p.PluginsService] [avekesnode1] loaded module [lang-painless]  
[2017-08-14T16:03:36,089][INFO][o.e.p.PluginsService] [avekesnode1] loaded module [parent-join]  
[2017-08-14T16:03:36,090][INFO][o.e.p.PluginsService] [avekesnode1] loaded module [percolator]  
[2017-08-14T16:03:36,093][INFO][o.e.p.PluginsService] [avekesnode1] loaded module [reindex]  
[2017-08-14T16:03:36,097][INFO][o.e.p.PluginsService] [avekesnode1] loaded module [transport-netty3]  
[2017-08-14T16:03:36,098][INFO][o.e.p.PluginsService] [avekesnode1] loaded module [transport-netty4]  
[2017-08-14T16:03:36,099][INFO][o.e.p.PluginsService] [avekesnode1] loaded plugin [x-pack]  
[2017-08-14T16:03:38,961][ERROR][o.e.b.Bootstrap] Exception  
java.lang.IllegalArgumentException: unknown setting [watcher.actions.email.service.account.gmail\_account.profile] please check that any required plugins are installed, or check the breaking changes documentation for removed settings  
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:293) ~[elasticsearch-5.5.0.jar:5.5.0]  
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:256) ~[elasticsearch-5.5.0.jar:5.5.0]  
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:139) ~[elasticsearch-5.5.0.jar:5.5.0]  
at org.elasticsearch.node.Node.(Node.java:343) ~[elasticsearch-5.5.0.jar:5.5.0]  
at org.elasticsearch.node.Node.(Node.java:244) ~[elasticsearch-5.5.0.jar:5.5.0]  
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:232) ~[elasticsearch-5.5.0.jar:5.5.0]

---

<div class="post-metadata">

**Author:** ![colings86](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/colings86/32/44960_2.png) [@colings86](https://discuss.elastic.co/u/colings86)\
**Post date:** [August 14, 2017, 11:31am UTC](https://discuss.elastic.co/t/elasticsearch-yml-email-configuration-error/96956/2 "2017-08-14T11:31:44Z")

</div>

watcher configuration of email accounts has changed since 2.4, please see [https://www.elastic.co/guide/en/x-pack/current/actions-email.html#gmail](https://www.elastic.co/guide/en/x-pack/current/actions-email.html#gmail) for up to date documentation on how to configure email accounts in 5.5

---

<div class="post-metadata">

**Author:** ![vinayak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinayak/32/45342_2.png) [@vinayak](https://discuss.elastic.co/u/vinayak)\
**Post date:** [August 14, 2017, 11:48am UTC](https://discuss.elastic.co/t/elasticsearch-yml-email-configuration-error/96956/3 "2017-08-14T11:48:15Z")

</div>

Thank [you.it](http://you.it) works.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 11, 2017, 11:48am UTC](https://discuss.elastic.co/t/elasticsearch-yml-email-configuration-error/96956/4 "2017-09-11T11:48:18Z")

</div>

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