reverse
Description
Reverses the order of the results.
The reverse
command does not affect which results are returned by the search, only the order in which the results are displayed. For the CLI, this includes any default or explicit maxout
setting.
On very large result sets, which means sets with millions of results or more, reverse
command requires large amounts of temporary storage, I/O, and time.
Syntax
reverse
Usage
The reverse
command is a dataset processing command. See Command types.
Examples
Example 1:
Reverse the order of a result set.
... | reverse
See also
return | rex |
This documentation applies to the following versions of Splunk Cloud Platform™: 8.2.2112, 8.2.2201, 8.2.2202, 8.2.2203, 9.0.2205, 9.0.2208, 9.0.2209, 9.0.2303, 9.0.2305, 9.1.2308, 9.1.2312, 9.2.2403 (latest FedRAMP release), 9.2.2406
Feedback submitted, thanks!