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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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