Hi,
I have a setup of elk on centos with a version of 7.5, and I am trying to configure SMTP but I am unable to do it.
I have my 1 year license enabled.
Due to the following error:
[2020-01-09T20:21:13,278][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [localhost.localdomain] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown secure setting [xpack.notification.email.account.company_account.smtp.password] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:163) ~[elasticsearch-7.5.1.jar:7.5.1]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-7.5.1.jar:7.5.1]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-7.5.1.jar:7.5.1]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125) ~[elasticsearch-cli-7.5.1.jar:7.5.1]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-7.5.1.jar:7.5.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115) ~[elasticsearch-7.5.1.jar:7.5.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-7.5.1.jar:7.5.1]
And here is my elastic config file:
xpack.watcher.enabled: true
xpack.notification.email.account:
company_account:
profile: company
smtp:
auth: true
starttls.enable: true
host: smtp.company.in
port: 25
user: abc@company.com
I have added this line as well
bin/elasticsearch-keystore add xpack.notification.email.account.comapny_account.smtp.secure_password
Please help,
Thanks,
Tahseen