Splunk Dev

counttype, relation and quantity using REST API

mullergael
New Member

Hello,

I'm currently creating saved searches from Javascript inside a setup page.

When trying to add the `counttype`, `relation` and `quantity` parameters however, the request fails with an error 400. I had a look at the documentation (https://docs.splunk.com/Documentation/Splunk/7.0.2/RESTREF/RESTsearch#saved.2Fsearches) which does not list these as available parameters.

I should I set these using the REST API ?

Labels (3)
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...