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!

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 ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...