Splunk Search

How to update enableSched in savedsearch.conf using python script

sivaranjiniG
Path Finder

I have to create a custom command using python script to update a particular property(enableSched) from 1 to 0 or 0 to 1. 

Please let me know if anyone know how to do this..

 

 

Tags (2)
0 Karma

isoutamo
SplunkTrust
SplunkTrust
Hi
or is it possible to use this example with REST query and cURL on cli?
https://community.splunk.com/t5/Other-Usage/Why-can-t-I-change-alert-with-REST-It-change-permission-...
r. Ismo
0 Karma
Get Updates on the Splunk Community!

Pro Tips for First-Time .conf Attendees: Advice from SplunkTrust

Heading to your first .Conf? You’re in for an unforgettable ride — learning, networking, swag collecting, ...

Raise Your Skills at the .conf25 Builder Bar: Your Splunk Developer Destination

Calling all Splunk developers, custom SPL builders, dashboarders, and Splunkbase app creators – the Builder ...

Hunt Smarter, Not Harder: Discover New SPL “Recipes” in Our Threat Hunting Webinar

Are you ready to take your threat hunting skills to the next level? As Splunk community members, you know the ...