Prevents subsequent commands from being executed on remote peers. Tells the search to run subsequent commands locally, instead.
localop command forces subsequent commands to be part of the reduce step of the mapreduce process.
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
This documentation applies to the following versions of Splunk Cloud Platform™: 8.0.2006, 8.0.2007, 8.1.2009, 8.1.2011, 8.1.2012, 8.1.2101, 8.1.2103, 8.2.2104, 8.2.2105, 8.2.2106, 8.2.2107 (latest FedRAMP release), 8.2.2109, 8.2.2111