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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...