Elastic Observability
Connect Your Elastic Observability Projects with All Quiet
Easily integrate Elastic with All Quiet. Automatically forward alerts from your Elastic observability projects to All Quiet, streamline your incident response.
1. Create Elastic Integration on All Quiet
Sign in to your All Quiet account.
Create Integration
- Click on the
Integrations > Inbound
tab. - Click on
Create New Integration
.
Select Elastic Observability as the Integration’s Type
- Enter a display name for your integration, e.g.
Elastic Observability
. - Select a team.
- Select
Elastic Observability
as the integration’s type. - Click
Create Inbound Integration
.
Get the All Quiet Webhook URL
After creating the integration on All Quiet, you can view the unique All Quiet Webhook URL of your Elastic integration. You will require it in step 2 when configuring the custom integration on Elastic.
2. Configure a custom integration with Elastic Observability
Once you’ve set up an integration of type “Elastic Observability” with All Quiet, the next step is connect your Elastic Observability Project with All Quiet to forward Alerts to All Quiet.
Sign in to your Elastic account and open the project you want to connect with All Quiet.
Create Connector
To send alerts to All Quiet, you first need to create a connection with All Quiet. Here’s how:
- Click on
Project settings
. - Then, select
Management
. - In the Management section, select
Connectors
.
Click Create connector
.
As connector, select Webhook
.
Set up a webhook that you can use to connect Elastic with All Quiet.
- Select a name, e.g.
All Quiet
- As Method, select
Post
. - As
URL
, paste in the All Quiet Webhook URL you’ve obtained in step Get the All Quiet Webhook URL. - As authentication method, select
None
. - Then, click
Save & Test
. In the next step, we can check if the connection was successful.
- To test the connection, paste in the following body. You will also need it later when configuring rules for real alerts.
- Click
Run
. - If the connection was establish, you will receive a sucess notification…
…and you will also find a test incident in All Quiet.
Create All Quiet Incidents From Elastic Observability Alerts
Now, we want to use the connector we just created to send real alerts to All Quiet.
In the following, you can find an example how to set up an alerting rule for an incident in All Quiet. You can use your All Quiet connector for all your alerting rules in your Elastic Observability project and forward incidents to All Quiet.
- First, Select
Alerts
. - Click
Manage Rules
.
You can either add the All Quiet connector as an Action to your existing Rules or create a new one. Here, we create a new rule.
For the example, we select “rule type” Inventory
.
Now, we define a rule
- Enter a
Name
and, optionallyTags
. Note tha based on our pre-configured default mapping, this info will also be visible in All Quiet after an incident is created. - Select the conditions that trigger the rule. For “rule type”
Inventory
, you can add aWarning
Threshold. By default, these alerts will trigger an All Quiet incident of severity “Warning”, whyAlert
will trigger an incident withCritical
severity.
Scroll down to add the actions.
Select Webhook.
- Select the All Quiet Webhook connector you set up earlier.
- We recommend setting Action frequency to “For each alert” and “On status changes”. This means that the webhook will be triggered when the status is changed to the status selected in 3 and forward the new information to All Quiet.
- With this selection, the webhook is only triggered when the status changes to
Alert
.Note that it will not be triggered if there’s a chance to another status (that’s why we added 5.) - Paste in this same
Body
to send a payload that works in All Quiet.
- As we also want to be updated when the status changes to
Warning
orRecovered
, we need to add 2 more actions in this case.
- Set up the same action as before, but change the status that makes it run, here
Recovered
. - Paste in the same body.
- Add a third action for
Warning
(only if you added aWarning
condition earlier).
After configuring all Actions, safe the rule.
You can now find and edit it under Rules
.
Below, you can see how the All Quiet incident looks based on the Inventory rule we created above.
When the status in your Elastic project changes to to Recovered
adding the extra action for recovered ensures the incident in All Quiet is also resolved
.