Splunk IT Service Intelligence

How to check if an entity is in maintenance mode in itsi?

ansif
Motivator

How to check if an entity is in maintenance mode in itsi?

We have to create a report for Server Availability,how can I exclude servers which were in maintenance mode in ITSI in the availability report?

0 Karma

jshih_splunk
Splunk Employee
Splunk Employee

It sort of depends on how you're building your server availability report. If you're running various splunk searches, you can run the following search against the ITSI summary index:

index=itsi_summary "is_entity_in_maintenance=1" | table entity_title, entity_key, kpi, itsi_service_id

The above will look for all of the entities (in a set period of time) that executed for KPI searches and display the entities, KPIs, and the services those entities are being used with.,You can see if an entity (that is being used by KPIs) is in maintenance by doing a search like the following against the summary index:

index=itsi_summary "is_entity_in_maintenance=1" | table entity_title, entity_key, kpi, itsi_service_id

The above search will return results for KPI searches that executed with the an entity in maintenance. You could potentially use the result over a period of time to get a complete list of all entities that were in maintenance with the service_ids and kpis affected.

0 Karma
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!

Review:





Or Learn More in Our Blog >>