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
SplunkTrust
SplunkTrust

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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...