Splunk Dev

No "scheduled time" for my saved searches

sylim_splunk
Splunk Employee
Splunk Employee

Saved Searches not keeping configuration while changing owner by REST as below;

curl -k -u admin:changeme https://SH:8089/servicesNS/"owner name"/"app name"/saved/searches//acl -d owner=newOwner -d sharing=user 

After replace some ownership from Alerts I saw those Alerts have lost their scheduled time - they have all "none" in the list. Therefore I tried to open and saving one by one I realised those Alerts had scheduled again.
When I do the same action to the others the REST had lost them again!

Tags (1)
1 Solution

sylim_splunk
Splunk Employee
Splunk Employee

It appears all good now after the reload command for saved searches - the changes seems not recognized by the Splunk until it gets reloaded. Make sure to run below after changes to the scheduled searches as best practice.

./splunk _internal call /servicesNS/newOwner/AppName/saved/searches/_reload

View solution in original post

sylim_splunk
Splunk Employee
Splunk Employee

It appears all good now after the reload command for saved searches - the changes seems not recognized by the Splunk until it gets reloaded. Make sure to run below after changes to the scheduled searches as best practice.

./splunk _internal call /servicesNS/newOwner/AppName/saved/searches/_reload

woodcock
Esteemed Legend

You should click Accept on your answer to close the question.

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