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!

.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 ...