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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...