I am trying to configure Watcher and send an email and/or slack messages. To do this I know that I need to configure the elasticsearch.yml file and add an email sender. But after my configuration, as you can see below, I can't even able to start elasticsearch service in the RockNSM suite. Can you please help me about the configuration below? Is there something wrong?
please do not paste configuration files in here. Either use proper formatting (this forum uses markdown) or put it in a gist. This way the indentation gets lost, which makes it impossible to debug your issue.
Also, sharing the output of starting elasticsearch along with specifying the elasticsearch version would help a lot.
Thank you for your return, I solve the sending slack message part but still have problem with sending an email. You can find the exact formatting below. You can also find the version below;
"minimum_wire_compatibility_version" : "6.7.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
So the final situation is, even can't start elasticsearch service when I don't put additional command for sending email and slack message. My elasticsearch.yml file configuration and systemctl status elasticsearch -l command output are in below.
Feb 13 03:42:45 localhost elasticsearch[11096]: at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150)
Feb 13 03:42:45 localhost elasticsearch[11096]: at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
Feb 13 03:42:45 localhost elasticsearch[11096]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
Feb 13 03:42:45 localhost elasticsearch[11096]: at org.elasticsearch.cli.Command.main(Command.java:90)
Feb 13 03:42:45 localhost elasticsearch[11096]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115)
Feb 13 03:42:45 localhost elasticsearch[11096]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
Feb 13 03:42:45 localhost elasticsearch[11096]: Refer to the log for complete error details.
Feb 13 03:42:45 localhost systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Feb 13 03:42:45 localhost systemd[1]: Unit elasticsearch.service entered failed state.
Feb 13 03:42:45 localhost systemd[1]: elasticsearch.service failed.
Please share more information, like the logfiles, and share the exact, complete configuration file in a gist (as the indendation is important). Otherwise it will be impossible to help.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.