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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...