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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

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

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