- Product: Splunk ITSI
- Feature: Service Analyzer
- Function: Creating alerts
Once you've set up and configured services within Splunk ITSI, you can use the platform to look up the health of a service at any moment in time. But it's likely that you'll want to set up alerts as well so that you can be notified about changes to a service's KPIs, or when the overall Service Health Score (SHS) of any service degrades.
You can set up both types alerts in Splunk ITSI as well as configure actions associated with these alerts, such as sending an email to notify you when an alert is triggered.
Creating a multi-KPI alert
- Open the Splunk ITSI app. By default, this will open on the Service Analyzer Tree View. If you're in Tile View, access the Tree View by clicking on the Tree button.
- You can now see a hierarchy of all of your services. Click through the hierarchy to access the service you are looking for.
- Once you have clicked on the service, click Open all in Deep Dive to open the Deep Dive view of all its KPIs.
- At the top-left of the screen, click Bulk Actions, then click Create a Multi-KPI Alert.
- Select the KPIs you would like to build alerts from.
- You'll now be taken to the Multi-KPI Alerts screen. There are a few sections here you'll need to configure:
- Services. Here you can add or remove more services and their dependencies from your alert.
- KPIs in Selected Services. Here you can add KPIs from other services you selected in the first section to your alert.
As you add services and KPIs to your alert, section 3 at the bottom of the screen, Selected KPIs, will populate with the KPIs you have chosen.
At the top-right of the screen, you can see Composite score is displayed. This means that you'll be alerted if the composite health score of all services and KPIs in this alert fall below a threshold.
- Click on Status over Time to configure the alert to notify you if the services and KPIs in this alert have been unhealthy for __ of the last __ minutes.
- Click on Custom Time to configure the alert search timeframe.
- At the bottom of the screen, check the KPIs listed to make sure the ones you need are all included in the alert you want to build.
- For each of the KPIs listed in this area, click the link that reads 0 triggers set.
- Here, you can set the conditions that you want to trigger the alert. This works by taking into account the KPI's health score, the duration of that score and the timeframe you select. For example, if you set the search timeframe to 15 minutes, the health score to red (critical) and the duration to 50%, the alert will trigger when the KPI stays in critical for 50% of the last 15 minutes. Repeat this step for each of the KPIs you have selected.
- Click Save in the bottom-right corner of the screen once you have configured triggers for your KPIs.
- In the Create Correlation Search box, give your alert a name.
- Fill in Notable Event Title and Notable Event Description with the information you want to be shown when the alert triggers.
- Choose how often you want the alert to run.
- Choose a severity, then click Save.
The last thing you'll probably want to do is to set up an action that occurs when this alert triggers - inclusion in an RSS feed, sending an email, or running a script.
- From the Correlation Searches screen, find the title of the alert you just configured. Click Edit, then By Multi-KPI Alerts Editor.
- Scroll down to Advanced Options, and expand it. Under Actions, configure the action you'd like to take place, and click Save.
Creating a Service Health Score (SHS) alert
You might decide that you'd like to receive alerts when any service within ITSI becomes unhealthy, and you can configure SHS alerts in Splunk ITSI to do this.
- From the Service Analyzer top toolbar, click Configuration, then Correlation Searches.
- Find the search named Service Monitoring - Sustained Service Health Degradation (Recommended), and select the toggle to enable it.
- Click the Edit drop-down for this service, and click By Correlation Search Editor.
- You'll see that the fields in the Editor are pre-built to notify you when any service degrades. If you want to set up actions that occur when this alert triggers, scroll down to Advanced Options, and expand it. Under Actions, configure the action you'd like to take place, and click Save.
To see a record of triggered alerts, use the Episode Review menu option within the Service Analyzer toolbar. There, you can open episodes and view multiple related and grouped alerts.