Splunk Dev

Is it possible to show rows as they are yielded from GeneratingCommand?

dedupper
Explorer

I have written an addon that gets data from an API and yields rows from it one by one in a loop. I use the GeneratingCommand class from splunklib. When I run it in the search-head, it runs for a time, and then returns all the rows at once. So it seems that Splunk buffers the results until the whole process is complete, even though the addon code itself has no such buffering.

Is it possible to have it show the rows in the search-head as they are yielded, similar to how a normal Splunk search does?

0 Karma
Get Updates on the Splunk Community!

Index This | What did the zero say to the eight?

June 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

This is the fifth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...