Splunk Dev

Get data from REST API

beebeandwer
Path Finder

If I create a report in my account, can I get the data in the report from REST API.
If it is supported, can you give me a simple example?

Tags (2)
0 Karma
1 Solution

sdaniels
Splunk Employee
Splunk Employee
0 Karma

sdaniels
Splunk Employee
Splunk Employee

Tutorials here:

http://dev.splunk.com/view/rest-api-tutorials/SP-CAAADQ6

Why not use our SDKs and save yourself some time though?

http://dev.splunk.com/view/sdks/SP-CAAADP7

0 Karma

sdaniels
Splunk Employee
Splunk Employee

Look at the below link, you just need to figure out the splunk search that you want. Filter on 'flower' and then do a stats count.

Something like ... | stats count by product will give you a count by all products.

http://docs.splunk.com/Documentation/Splunk/5.0.2/RESTAPI/RESTbasicexamples

0 Karma

beebeandwer
Path Finder

I mean some detail data like the data in tutorial.
Such as the count of people who bought flower.
I get the info from https://localhost:8089/servicesNS/admin/search/saved/searches/test2 which is not the real data i want.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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