Splunk Search

How to find out who deleted savedsearches

lucas4394
Path Finder

We found there were some savedsearches deleted for some reasons. Is it a way to find out who deleted the savedsearches from Splunk?

Thanks.

Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Start with index=_internal sourcetype=splunkd_ui_access method=DELETE and see if that offers any clues.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

efavreau
Motivator

This answer points you to a comprehensive solution that not only can answer your question, but also a series of follow-up questions.

@dmarling and I ( @efavreau ) presented a way to export, audit, and import your knowledge objects (which includes saved searches), in a presentation at Splunk .Conf19. That way, if someone deletes them, you know who did it, you have an export you can go back to, and can import your last good source - all without having to involve your admins. Here's a link to the presentation video and slides:
https://conf.splunk.com/watch/conf-online.html?search=FN1315#/

We also put our code up in Github. In the video, a demo is given showing that with little modification, you can use these queries in a short period of time. So after you watch the video, you can get the code and use it. Here's the github link:
https://github.com/paychex/Splunk.Conf19/

There's a caveat, the ability to do the audit with the details we show, depends on you having access to the _internal and _audit logs, which your admins may or may not have given you access to.

Good Luck!

###

If this reply helps you, an upvote would be appreciated.

richgalloway
SplunkTrust
SplunkTrust

Start with index=_internal sourcetype=splunkd_ui_access method=DELETE and see if that offers any clues.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...