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!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...