Getting Data In

Why is the REST API not able to edit attributes in a saved search?

adityapavan18
Contributor

Hi All

I am having a weird issue where I am trying to update certain attributes for a saved search - it does update few attributes, but not all attributes.

curl -k -u admin:pass -d action.email=0 -d alert.severity=2 https://splunkserver:8089/servicesNS/nobody/search/saved/searches/SAMPLE%20REST%20API%20ALERT

Running this updates the alert.severity to "2" but not setting action.email=0

Am I using it wrong? any help is greatly appreciated

0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...