Search Guard Integration
Connect Search Guard Signals alerts to ilert to forward watch-triggered events – like log‑based auth failures or node issues – to on‑call responders quickly.
By integrating Search Guard Signals with ilert, you can route custom-defined alerts – such as detected failed authentications, TLS certificate expirations, or node disconnects – from Elasticsearch logs or metrics into your on-call workflows. These technical alerts trigger ilert’s escalation policies and ensure that responders are notified promptly, enhancing the security and operational stability of your cluster.
In ilert: Create a Search Guard alert source
Go to Alert sources --> Alert sources and click on Create new alert source
Search for Search Guard in the search field, click on the Search Guard tile and click on Next.
Give your alert source a name, optionally assign teams and click Next.
Select an escalation policy by creating a new one or assigning an existing one.
Select you Alert grouping preference and click Continue setup. You may click Do not group alerts for now and change it later.
The next page show additional settings such as customer alert templates or notification prioritiy. Click on Finish setup for now.
On the final page, an API key and / or webhook URL will be generated that you will need later in this guide.
In Search Guard: Create watch
Go to Search Guard to open the main menu and choose Search Guard -> Signals

On the next page click on the New button to create a new watch

On the next view name the watch e.g. My Watch scroll down and configure the watch to your liking.

Scroll down to Actions and add the Webhook action

Name the action e.g. iLert, paste the Webhook URL that you generated in ilert, change headers as required and paste the following json as body template
{
"incidentKey": "{{watch.id}}",
"summary": "SearchGuard alert: {{watch.id}}",
"details": "Problem occurred at {{execution_time}}",
"serverUrl": "https://my-server.com"
}

Click on Create to save the watch.
Finished! Your Elastic Search Guard alerts will now create alerts in ilert.
FAQ
Will alerts in ilert be resolved automatically?
No, unfortunately Search Guard watch(es) will not fire resolve events for alerts.
Can I connect Search Guard with multiple alert sources from ilert?
Yes, simply create more watches in Search Guard.
Last updated
Was this helpful?