Splunk Search

How can I extract the exact search string for modified saved searches from events in the _internal index?

bainskaransingh
New Member

Hi All,

I want to list all the saved searches which are modified (action=edit) from the logs, but the exact search string is not visible in the logs. Can some one guide me on how to approach this one?

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

I believe the search string is not logged on edit, consider using version control.

0 Karma

javiergn
Super Champion

Hi,

It might not fully answer your question but I think it's a good start if you take a look at my answers here:

https://answers.splunk.com/answers/363829/how-can-filter-top-search-in-a-month-with-timefram.html

It was a very long discussion on how to list saved searches and who has been and hasn't been using them in the last two months.
It contains the search string you are looking for.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...