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!

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

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...