Splunk Enterprise

Splunk History Missing | 9.2.3

geekf
Path Finder

The Splunk search history is not being saved. When I run a search, it remains visible for a few hours, but by the next day the history from the previous day is gone. Currently, the only searches that persist are those from the day we performed the upgrade.

If I go to $SPLUNK_HOME/etc/users/youruser/search/history I do see this file, and it has the UI:Dashboard searches.

What could be the reason Splunk is not retaining search history beyond the upgrade day?

0 Karma

kiran_panchavat
SplunkTrust
SplunkTrust

@geekf 

Please review the configuration in your limits.conf file. You can adjust this value as needed.

To configure the retention period for users’ search history, create (or edit) the following file:
$SPLUNK_HOME/etc/system/local/limits.conf.

max_history_length = <integer>
* Maximum number of searches to store in history for each user and application.
* When 'search_history_storage_mode' has a value of "kvstore", this value is 
  applicable per user only, and not per user and application combination.
* Default: 500

 https://docs.splunk.com/Documentation/Splunk/9.4.2/Admin/Limitsconf 

Did this help? If yes, please consider giving kudos, marking it as the solution, or commenting for clarification — your feedback keeps the community going!
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...