Reporting

How can I fetch report of Splunk via Rest API

indeed_2000
Motivator

Hi I create report (like below screenshot)
How can I fetch this report of Splunk via Rest API ?
Thanks
alt text

0 Karma

jkat54
SplunkTrust
SplunkTrust
0 Karma

indeed_2000
Motivator

I saw this link before but need real example.

0 Karma

jkat54
SplunkTrust
SplunkTrust

everything you need to know is on that page. Complete with examples.

0 Karma

indeed_2000
Motivator

Sure but I cant run simple request.
For example create pivot and need to fetch pivot data with rest, try example on page but can’t fetch them.
Now ask here anybody here do the same with Splunk, if yes tell me steps that should I take.
Thanks

0 Karma

jkat54
SplunkTrust
SplunkTrust

You POST a search search="| pivot ..."

Then you get SID as reply

Then you GET results endpoint for the SID, and get the results.

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@mehrdad_2000 It would be awesome if you share more details about your requirement or Scenario. 🙂

0 Karma

indeed_2000
Motivator

I need to use rest api to fetch report or result of query to other application that support rest api.

any idea?

 Thanks  

0 Karma

indeed_2000
Motivator

ok please tell me what you need to know?

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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