Upgrade IT Service Intelligence on a single instance
This topic describes how to upgrade Splunk IT Service Intelligence (ITSI) on an on-premises search head from version 4.4.x or later to version 4.7.x or later. ITSI supports upgrades from up to three versions prior to the one you're upgrading to. To upgrade from earlier versions, perform a step upgrade. Splunk Cloud Platform customers work with Splunk Support to coordinate upgrades to IT Service Intelligence.
Before you upgrade ITSI, you must perform all prerequisite steps specified in Before you upgrade IT Service Intelligence.
If upgrading to a Python 3 release of Splunk (version 8.x), you must upgrade IT Service Intelligence and all other apps before upgrading Splunk Enterprise. For more information, see Python 3 migration with ITSI.
Step 1. Install the latest version of ITSI
On a single-instance deployment, a single Splunk Enterprise instance serves as both the search head and indexer.
You must upgrade ITSI by extracting the ITSI installation package. ITSI does not support installation using the app manager in Splunk Web or using the
splunk install app command at the command line.
- Log in to splunk.com with your Splunk.com ID.
- Download the latest Splunk IT Service Intelligence product.
- If you're upgrading from a pre-4.6.0 ITSI version to version 4.6.0 or higher, stop the Rules Engine before upgrading so it can pick up the fields added to the KV store for migration:
- Within Splunk Web, go to Settings > Searches, reports, and alerts.
- In the App dropdown, select All.
- Use the filter to locate the itsi_event_grouping search.
- Click Actions > Disable.
- Stop your Splunk platform instance:
cd $SPLUNK_HOME/bin ./splunk stop
- Extract the ITSI installation package into $SPLUNK_HOME/etc/apps. For example:
tar -xvf splunk-it-service-intelligence_<latest_version>.spl -C $SPLUNK_HOME/etc/apps
On Windows, rename the file extension from .spl to .tgz first and use a third-party utility like 7-Zip to perform the extraction.
- Start your Splunk software.
cd $SPLUNK_HOME/bin ./splunk start
- On the migration screen, for Skip over localized failures, choose whether to skip over the following types of failures:
- Missing dependencies in service KPIs, such as a missing macro
- Multiple entity split or filter fields in KPI base searches
- Missing dependencies in KPI base searches
- Missing dependencies in correlation searches
- Duplicate services
Skipping over these failures means the problematic objects aren't migrated. You'll receive a list of skipped objects when the upgrade completes.
- Click Start Upgrade. The migration script runs to migrate existing ITSI knowledge objects to the new version. The migration script runs to migrate existing ITSI knowledge objects to the new version, and a table displays the status of jobs that run during the upgrade. To learn more about what happens in each stage of the precheck, see Stages of a precheck.
- If a precheck fails during the upgrade, you can either select Proceed anyway or Restart upgrade. For information about troubleshooting the upgrade at this stage, see Prechecks fail during the upgrade.
- Re-enable the itsi_event_grouping search.
To check migration related logs, run the following Splunk search:
Stages of a precheck
When you run an ITSI upgrade, a table displays the status of prechecks that run during the process.
- In the Prep stage, the table lists the status of each precheck job:
|In Progress||The precheck job is running in the backend to check that your ITSI objects can be migrated.|
|Enqueued||The precheck job is queued, and will run after the current precheck job completes.|
|Completed||The precheck job completed running and did not identify any errors.|
|Failed||An error with one or more of your objects was identified, and can potentially block your upgrade.|
- In the Transform stage, the table lists the migration status of each knowledge object being upgraded.
Step 2: (Optional) Enable the Metrics Backfill Process Queue modular input
A new metrics-based summary index was introduced in ITSI version 4.6.0. To provide a more continuous experience, a backfill process queue modular input was added to migrate data from the itsi_summary index to the new metrics-based index. For more information about the metrics index, see ITSI metrics summary index reference in the Administration Manual.
In version 4.6.1, the modular input for backfill functionality is disabled by default as opposed to running automatically. If you upgraded to version 4.6.1 or later and you need to use the Service Analyzer to inspect service or KPI data from before the upgrade, enable the backfill modular input. If you choose not to enable it, note that sparklines on the Service Analyzer might appear flat for about 1-15 minutes due to lack of data.
- Within ITSI, go to Settings > Data Inputs.
- Open the modular input called IT Service Intelligence Metrics Backfill Process Queue.
- Click Enable.
Optionally, you can modify the default configurations to backfill more or less data. If you do modify the defaults, first determine if your environment can backfill data at a higher rate than set by the default throttle and concurrent search settings.
Step 3. Upgrade indexers
You must place the
SA-IndexCreation add-on on all indexers. For non-clustered distributed environments, copy
$SPLUNK_HOME/etc/apps/ on individual indexers. Indexers must be running a compatible version of Splunk Enterprise. If you upgrade your indexers, verify whether you must also upgrade your search heads. For information, see Splunk Enterprise version compatibility.
If you have an indexer cluster, use the configuration bundle method to replicate
SA-IndexCreation across all peer nodes. On the master node, place a copy of
$SPLUNK_HOME/etc/master-apps/. For information about updating peers in an indexer cluster, see Manage app deployment across all peers in the Splunk Enterprise Managing Indexers and Clusters of Indexers manual.
Step 4. Validate the upgrade
The Splunk IT Service Intelligence upgrade process is now complete. Objects disabled during the upgrade process are automatically reenabled. The ITSI shows the following message:
IT Service Intelligence upgrade has completed successfully.
- In Splunk Web, click Help > About to verify that the upgrade was successful.
- Clear the browser cache of the browser you use to access Splunk Web. If you do not clear the browser cache, some pages might fail to load.
You can also check the installed version, latest version, and previous version by running the following search:
| rest splunk_server=local /services/apps/local/itsi | stats values(version) as itsi_installed_version | join [|inputlookup itsi_migration_check]
Perform the following steps after upgrading IT Service Intelligence.
- If there's a problem with the new version, see Troubleshoot an upgrade of IT Service Intelligence.
- If the upgrade fails, see Roll back an upgrade of ITSI.
- See the Version-specific upgrade notes for ITSI for the version you upgraded to.
Steps to address the Apache Log4j vulnerabilities in ITSI or IT Essentials Work
Upgrade IT Service Intelligence in a search head cluster environment
This documentation applies to the following versions of Splunk® IT Service Intelligence: 4.15.0