Overview of creating KPIs in ITSI
A KPI (Key Performance Indicator) is a recurring saved search that returns the value of an IT performance metric, such as CPU load percentage, memory used percentage, response time, and so on. For an explanation of how KPIs fit into the IT Service Intelligence (ITSI) Service Insights workflow, see Overview of Service Insights in ITSI.
When you create a KPI, you add it directly to a specific service. You can then use KPI search result values inside ITSI to monitor service health, check the status of IT components, and troubleshoot trends that might indicate an issue with your IT systems.
cpu_load_percent is a KPI that measures the CPU load percentage on a server. If your organization has a site uptime guarantee of 99.9% per month, you will need to monitor the status of this KPI and others to ensure that CPU performance remains within acceptable parameters.
Recommended number of KPIs per service
It's not good to have so many KPIs in a single service that you can barely keep track of them. To effectively monitor and troubleshoot a service with 50 or more KPIs, spend time crafting and fostering the KPIs you care about and want to measure, which saves time troubleshooting later.
It's best to have 20 or fewer KPIs per individual service, which is more than enough to capture the key metrics you care about like CPU, IO, disk free, and response time.
Create a KPI
- From the ITSI main menu, click Configuration > Services.
- Select an existing service.
- Go to the KPIs tab.
- Click New and choose one of the following options:
- Select Generic KPI to create a KPI from scratch.
- Select a KPI template to populate the KPI with a preconfigured source search based on an ITSI module. KPI templates are tailored for specific service monitoring use cases, such as operating systems, databases, web servers, load balancers. virtual machines, and so on. For more information about modules, see Overview of modules in ITSI.
- Provide a title and description of the KPI.
Configure the KPI
To configure a KPI, perform the following high-level steps:
|1||Define a KPI source search||A search string that you define as the basis for your KPI, using a data model, an ad hoc search, a metrics search, or a base search.||Required|
|2||Split and filter by entities||Break down the KPI to apply the search to multiple entities, enabling comparative analysis of search results on a per-entity basis. Filter entities in or out of the KPI search.||Optional|
|3||Configure KPI monitoring calculations||The recurring KPI search schedule and the statistical operations performed on the search results, including service health score calculations.||Required|
|4||Define KPI unit and monitoring lag||Define the unit of measurement to display for the KPI. Configure the monitoring lag to offset indexing lag.||Optional|
|5||Enable backfill||Fills the summary index with historical raw service health score data.||Optional|
|6||Configure KPI thresholds||Severity-level thresholds that you apply to KPI search results. Thresholds let you monitor KPI status (normal, low, medium, high, and critical) and set trigger conditions for alerts.||Required|
Add tags to a service in ITSI
Define a KPI source search in ITSI
This documentation applies to the following versions of Splunk® IT Service Intelligence: 4.5.0 Cloud only, 4.5.1 Cloud only, 4.6.0 Cloud only, 4.6.1 Cloud only, 4.6.2 Cloud only, 4.7.0, 4.7.1, 4.7.2, 4.7.3, 4.7.4, 4.8.0 Cloud only, 4.8.1 Cloud only, 4.9.0, 4.9.1, 4.9.2, 4.9.3, 4.9.4, 4.9.5, 4.9.6, 4.10.0 Cloud only, 4.10.1 Cloud only, 4.10.2 Cloud only, 4.10.3 Cloud only, 4.10.4 Cloud only, 4.11.0, 4.11.1, 4.11.2, 4.11.3, 4.12.0 Cloud only