3. Installing ElastAlert
ElastAlert is an alerting project for elasticsearch maintained by YELP on GitHub : https://github.com/Yelp/elastalert
Last updated
ElastAlert is an alerting project for elasticsearch maintained by YELP on GitHub : https://github.com/Yelp/elastalert
Last updated
While Opendistro alerting plugin is similar to Watcher and can use some complicated queries, ElastAlert is a much simpler and straight forward tool, specially with its multiple supported destinations where you can send your alerts. .
ElastAlert can be useful to build a first layer of logic where you can apply some complex monitoring set of rules using Opendistro alerting plugin afterwards. The necessity of this combination is something we will be discussing in and .
As root go to /etc/
an then and clone the repository and install the required packages :
Make sure the rules
folder exists in the repository
Check if the installation is successful then run the following command to create the elastalert
index at elasticsearch
level.
You should see the created indices in Kibana as so:
In order to start elastalert as a service please create the file below by pasting the following lines as shown in these snippets of code:
Elastalert should be up an running.