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
Have questions? Visit Splunk Answers and see what questions and answers the Splunk community has using the localop command.
This documentation applies to the following versions of Splunk Cloud™: 7.0.11, 7.0.13, 7.1.3, 7.1.6, 7.2.4, 7.2.6, 7.2.7, 7.2.8, 7.2.9, 8.0.2001