Splunk Search

How to delete search history?

pipg
Observer

Hello community,

Can anyone advise if it's possible to delete my search history? I'd like to delete old searches that serve no value e.g., those that returned no results, failed (i.e., were test searches while learning) or are duplicates etc.

I've searched helps docs and forums without luck. 

Thank you for your help in advance.

Pietra

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @pipg,

see this answer https://community.splunk.com/t5/Splunk-Search/How-to-clear-search-history/m-p/392454/highlight/true

in few words, in $SPLUNK_HOME/etc/users/<your_user>/<your_app>/history you can find a csv with your history.

Ciao.

Giuseppe

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!

Splunk App Dev Quarterly Roundup: AI, Agents, and Innovation!

Another quarter, another wave of innovation. From complex integrations to pushing the limits ...

Federated Search for Dynamic Data Self Storage Is Now Generally Available on Splunk ...

 Splunk is excited to announce the General Availability of Federated Search for Dynamic Data Self Storage ...

Index This | What has many keys but can’t unlock a door?

July 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...