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!

ATTENTION!! We’re MOVING (not really)

Hey, all! In an effort to keep this Slack workspace secure and also to make our new members' experience easy, ...

Splunk Admins: Build a Smarter Stack with These Must-See .conf25 Sessions

  Whether you're running a complex Splunk deployment or just getting your bearings as a new admin, .conf25 ...

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...