Getting Data In

REST API: searching piped into stats, no events available

twinspop
Influencer

If I run this search through the web interface:

error | stats count by host | sort - count

And then venture over to port 8089 and check the job, I can see the search summary and hit the Events link at the bottom of the page to get a list of the events.

However, if I run that search through the REST API, the Events link goes to an empty page. How can I get a list of the events from that search using the REST API?

Thanks, Jon

Tags (3)
0 Karma

twinspop
Influencer

If I set the status_buckets POST variable to 300 (as the is the default from the web interface search), I get eventAvailableCount > 0.

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