Splunk Cloud Platform

What is the definition of  "rest.simpleRequest" function?

Path Finder

Hello all, 

Did someone know the definition of  "rest.simpleRequest" function ? I'm trying to find how it works when we use it like this. 

rest.simpleRequest(url, postargs=postargs, sessionKey=key, raiseAllErrors=True)


thank y'all

Labels (1)
Tags (2)
0 Karma


Hey rolyrolex,

You can actually view the contents of the class under $SPLUNK_HOME/lib/python3.7/site-packages/splunk/rest/__init__.py

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...