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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...