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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...