localop
Description
Prevents subsequent commands from being executed on remote peers. Tells the search to run subsequent commands locally, instead.
The localop
command forces subsequent commands to be part of the reduce step of the mapreduce process.
Syntax
localop
Examples
Example 1:
The iplocation
command in this case will never be run on remote peers. All events from remote peers that originate from the initial search, which was for the terms FOO and BAR, are forwarded to the search head. The search head is where the iplocation
command is run.
FOO BAR | localop | iplocation clientip
localize | lookup |
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!