Splunk Search

Feels like "return" command should support argument of 0 (all). Thoughts?

dstaulcu
Builder

When performing subsearches using the return command, I am often disgusted with myself for employing a not-future-proof strategy of hard-coding an arbitrarily high count of count of records (say 9999) to return to my primary command.

Does anyone else sense a logical break in use of the return command in this regard?

Can you think of any cons to adding an option to return 0 (all) results?

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Index This | What’s a riddle wrapped in an enigma?

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

BORE at .conf25

Boss Of Regular Expression (BORE) was an interactive session run again this year at .conf25 by the brilliant ...

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...