
Elastic Stack 8.x Cookbook
By :

Alerting is a vital component of the Elastic Stack. You can use the data stored in Elasticsearch to trigger alerts based on specified conditions. Alerting actions can include sending an email or Slack message, writing data to an Elasticsearch index, and invoking an external web service with passed data, among others. In this recipe, we will learn how to create an alerting rule using the Elastic Stack’s new alerting framework.
Ensure you have access to the mailbox associated with the email address you used to sign up for Elastic Cloud to receive alerts from your deployment.
Make sure that you finished the Exploring your data in Discover recipe in Chapter 6.
Let’s create a rule that uses the metrics-rennes_traffic-raw data stream, which was created in the Exploring your data in Discover recipe in Chapter 6.