Monitoring Splunk

delete owner of scheduled searches

deyeo
Path Finder

A user created many searches, and the searches are private. Since these searches belong to the owner, before deleting this user account, i've changed the permission from "Private" to "This App" and assigned to the appropriate roles. However, after doing so, the scheduled searches have stopped running on the scheduled frequency.

Why is it so?

i'm running on Splunk 4.2.5

Tags (1)
1 Solution

deyeo
Path Finder

You need to transfer the owner of the saved search to another valid user before deleting the owner's user account. I had to edit the $SPLUNK_HOME/etc/apps/{AppsDir}/metadata
/local.meta config file that has old owner’s ID and change each occurrence of that to the new ower’s ID. Splunk needs to be restarted for these changes to take effect.

This is a major hidden flaw with Splunk. Because a lot of Splunk administrators do NOT know that before deleting a user and assume that the saved searches will continue to run at the scheduled frequency.

View solution in original post

deyeo
Path Finder

You need to transfer the owner of the saved search to another valid user before deleting the owner's user account. I had to edit the $SPLUNK_HOME/etc/apps/{AppsDir}/metadata
/local.meta config file that has old owner’s ID and change each occurrence of that to the new ower’s ID. Splunk needs to be restarted for these changes to take effect.

This is a major hidden flaw with Splunk. Because a lot of Splunk administrators do NOT know that before deleting a user and assume that the saved searches will continue to run at the scheduled frequency.

MarioM
Motivator

when you look in splunk/etc/apps//local/savedsearches.conf are those searches still with cron_schedule set and enableSched = 1 ?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...