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
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...