Clear the cache in the Upgrade Readiness App
If you find inconsistencies in your scans between your Splunk platform nodes, between two or more users, or between the scan results in your weekly emails, then clearing the Upgrade Readiness App (URA) cache might resolve these inconsistencies.
The uraclearcache
SPL command clears all URA scan results and cache data on all nodes within an indexer cluster. This includes all nodes with access to the same KV store instance as the node on which you run the command.
This command is available in the Upgrade Readiness App versions 4.6.x and higher.
Data loss when clearing the cache
The uraclearcache
command deletes all URA data, including scan results, caches, reports, and summaries. This includes URA data generated by automated and manual scan results for all users.
Do not use this command unless you want to permanently delete the following data.
This command deletes the following files from the python_upgrade_readiness_app/local/ directory:
- jquery_sha512_hash.json
- sha512_hash.json
- emerald_sha512_hash.json
This command also deletes the entire contents of all the following directories within the python_upgrade_readiness_app/local/ directory:
- /jquery_merged
- /jquery_reports
- /jquery_remote
- /jquery_scan_summary
- /emerald_merged
- /emerald_reports
- /emerald_remote
- /emerald_scan_summary
- /merged
- /reports
- /remote
- /scan_summary
Clear the cache
Complete the following steps to clear the cache in the URA.
- Choose a time when you can afford higher than normal resource utilization.
During ordinary scanning, the URA returns results quickly by using cached results from previous scan operations. When you use the
uraclearcache
command, however, the URA runs all scan operations on every stack node, which can cause above-average resource utilization. Resource utilization returns to normal after the new results are cached. - Log in as a user with admin or sc_admin roles, or a user with the admin_all_objects permission.
- Access the URA search context at the following URL: https://<user-specified domain>.splunkcloud.com/en-US/app/python_upgrade_readiness_app/search.
- Run the
| uraclearcache
command in the Search bar within the URA.
After clearing the cache, wait until the next automated scan completes before you run any manual scans. It takes up to 24 hours for the URA to remove the result and cache data, and up to an additional 24 hours to generate new scan data.
Manage weekly emails from the Upgrade Readiness App | Release notes for the Upgrade Readiness App |
This documentation applies to the following versions of Splunk Cloud Platform™: 9.2.2406 (latest FedRAMP release), 8.2.2201, 8.2.2202, 8.2.2203, 9.0.2205, 9.0.2208, 9.0.2209, 9.0.2303, 9.0.2305, 9.1.2308, 9.1.2312, 9.2.2403
Feedback submitted, thanks!