Automatically resolve Alerts with Emails
ilert's intelligent Email alert source allows you to parse alert keys and resolve open alerts based on incoming emails.
When creating or editing your email alert sources in ilert, choose the alert creation type Open and resolve alerts based alert keys extracted from emails.
You will be granted with 2 new configuration options, when choosing this alert creation type: alert key extraction and email resolve filters.
For this example we will demonstrate the alert key / identifier extraction based on a UUID version 4. We will use the following regex to extract the alert key from the subject of the incoming emails:
By selecting the alert key method extract through regex we tell ilert to cut out the text that is matched by the provided regex from the incoming email subject. We can simply pass the regex into the input field.
Every incoming email with now extract the alert key based on the provided regex. In case that no match for the regex is found, the email is dropped. In case that there is already an open alert for the extracted alert key, the email will not create a new alert, instead it will be attached to the existing alert. In case the email resolve filter (see below) will match and there is no open alert for the alert key, the email will also be dropped.
Now that we have configured our alert key extraction, we can set up our automatic email resolve filter. To enable the conditions we have to tick the checkbox.
We are now able to configure as much conditions at we like (note that you can swap between applying ALL conditions OR single one of them, just like the accept filter).
In our example case we choose to scan the incoming email subjects for the text
resolve mein case it is found and the alert key could be extracted (and an open alert for the same key exists) the incoming email will cause the alert to be resolved.
In case your email alert source is not resolving as you would expect. You can always check the Mail Log to see how and why incoming emails where treated.