Manage notable events in ITSI
Splunk IT Service Intelligence (ITSI) implements custom indexes for notable event storage. In a single instance deployment, the installation of ITSI creates the indexes in
|itsi_tracked_alerts||Stores active raw notable event data.|
|itsi_notable_audit||Stores all audit events for episodes, including actions, comments, status change, and owner change.|
|itsi_grouped_alerts||Stores active episode data.|
|itsi_notable_archive||Stores episode metadata (tags and comments) that has been moved from the KV store after a default 6 month retention period, which begins when you close an episode in the UI. Moving data from the KV store removes extraneous data and helps improve performance.|
ITSI uses an indexed real-time search to retrieve notable events from the Splunk platform. Indexed real-time searches have a delay of about 90 seconds before events get processed. Using concurrent real-time search instead of indexed real-time search is not supported for
itsi_event_grouping because it significantly impacts system performance.
Set the notable event retention policy
In addition to the indexes listed above, ITSI stores the status of notable events and episodes in the KV store collections called
itsi_notable_<object type>. By default, notable event metadata is archived after 6 months to keep the KV store from growing too large. If you have a large number of events, use the ITSI Health Check dashboard to check the collection sizes on disk and decide if you need to change the retention policy.
You can tune the retention policy for notable event metadata using an ITSI configuration file. The retention policy determines how long notable event metadata remains in the KV store before it is moved to
itsi_notable_archive. Retention policies are based on the mod_time (modify time), not the tag or comment creation time.
- Only users with file system access, such as system administrators, can set the notable event retention policy.
- Review the steps in How to edit a configuration file in the Admin Manual.
Never change or copy the configuration files in the default directory. The files in the default directory must remain intact and in their original location.
- Open or create a local itsi_notable_event_retention.conf file in
- Under the
[default]stanza, and in individual stanzas as needed, set
retentionTimeInSecto a new value.
[default] # Default retention period is 15768000 seconds (6 months). retentionTimeInSec = 15768000 disabled = 1 [itsi_notable_event_tag] # Checks the tag's mod_time and moves it to the index once it exceeds the retention period. disabled = 0 object_type = notable_event_tag [itsi_notable_event_comment] # Checks the comment's mod_time and moves it to the index once it exceeds the retention period. disabled = 0 object_type = notable_event_comment [itsi_notable_event_ticketing] # Checks the ticket's mod_time and moves it to the index once it exceeds the retention period. disabled = 0 object_type = external_ticket [itsi_notable_event_group] # Default is 31536000 seconds (one year). retentionTimeInSec = 31536000 disabled = 0 object_type = notable_event_group [itsi_notable_event_state] # Default is 31536000 seconds (one year). retentionTimeInSec = 31536000 disabled = 0 object_type = notable_event_state [itsi_notable_group_user] # Default is 31536000 seconds (one year). retentionTimeInSec = 31536000 disabled = 0 object_type = notable_event_group [itsi_notable_group_system] # Default is 31536000 seconds (one year). retentionTimeInSec = 31536000 disabled = 0 object_type = notable_group_system
Backfill notable events into episodes
ITSI uses the
itsi_event_grouping search command to aggregate notable events into episodes. If this search is disabled, ITSI will not group notable events into episodes. This can occur during a restart of Splunk Enterprise, or if a user manually disables the search.
itsi_event_grouping search is re-enabled, ITSI looks through notable events that were missed while the search was disabled, and backfills them accordingly into episodes.
The default look back time for missed events is 24 hours. If you want to change the look back time, modify the
group_restore_lookback_time field in the
itsi_rules_engine.properties file, as follows:
- Open the
itsi_rules_engine.propertiesfile located at
- Add the following setting to the file:
group_restore_lookback_time = <number of hours>.
For example, to look back 2 days, add the following setting:
group_restore_lookback_time = 48
Upgrading rewrites the
itsi_rules_engine.properties file and your changes are not saved. Always save a local copy of this file and re-add your changes and additions after you upgrade.
Clear all notable events
To permanently delete indexed notable events, use the CLI
clean command. This command completely deletes the data in one or all indexes or KV store collections, depending on whether you provide an
<collection> argument. For more information, see How to use the clean command in the Managing Indexers and Clusters of Indexers manual.
clean command does not work on indexer clusters unless you run it separately on each indexer.
- In the CLI, to stop Splunk Enterprise type
- On each indexer, run the following commands to clear the indexes:
$SPLUNK_HOME/bin/splunk clean eventdata -index itsi_tracked_alerts; $SPLUNK_HOME/bin/splunk clean eventdata -index itsi_notable_audit; $SPLUNK_HOME/bin/splunk clean eventdata -index itsi_notable_archive; $SPLUNK_HOME/bin/splunk clean eventdata -index itsi_grouped_alerts
- On a single search head, run the following commands to clear the KV store collections:
$SPLUNK_HOME/bin/splunk clean kvstore -app SA-ITOA -collection itsi_notable_group_system; $SPLUNK_HOME/bin/splunk clean kvstore -app SA-ITOA -collection itsi_notable_group_user; $SPLUNK_HOME/bin/splunk clean kvstore -app SA-ITOA -collection itsi_notable_event_tag; $SPLUNK_HOME/bin/splunk clean kvstore -app SA-ITOA -collection itsi_notable_event_comment; $SPLUNK_HOME/bin/splunk clean kvstore -app SA-ITOA -collection itsi_notable_event_group; $SPLUNK_HOME/bin/splunk clean kvstore -app SA-ITOA -collection itsi_notable_event_actions_queue; $SPLUNK_HOME/bin/splunk clean kvstore -app SA-ITOA -collection itsi_temp_batch_claimed_action_queue; $SPLUNK_HOME/bin/splunk clean kvstore -app SA-ITOA -collection itsi_notable_event_ticketing
- To start Splunk Enterprise type
Set up custom episode actions in ITSI
Tune notable event grouping in ITSI
This documentation applies to the following versions of Splunk® IT Service Intelligence: 4.1.0, 4.1.1, 4.1.2, 4.1.5, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.3.0, 4.3.1