Search Guard Integration

With the ilert Search Guard integration, you can create alerts in ilert based on Search Guard alerts.

In ilert: Create a Search Guard alert source

  1. Go to Alert sources --> Alert sources and click on Create new alert source

  2. Search for Search Guard in the search field, click on the Search Guard tile and click on Next.

  3. Give your alert source a name, optionally assign teams and click Next.

  4. Select an escalation policy by creating a new one or assigning an existing one.

  5. Select you Alert grouping preference and click Continue setup. You may click Do not group alerts for now and change it later.

  6. The next page show additional settings such as customer alert templates or notification prioritiy. Click on Finish setup for now.

  7. 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

  1. Go to Search Guard to open the main menu and choose Search Guard -> Signals

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

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

  1. Scroll down to Actions and add the Webhook action

  1. 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"
}
  1. Click on Create to save the watch.

  2. 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