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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...