QuestionQ84

VerifiedPerformance and Troubleshooting

Which of these is the most efficient search?

Explanation

Using fields host early removes unneeded event fields while retaining the lookup key. The fields command is distributable streaming, and a lookup without local=true is also distributable streaming. Specifying local=true forces the lookup to run on the search head, while table is a transforming command that prevents subsequent distributable commands from running on indexers. Restricting the initial search to sourcetype=bar also avoids searching unnecessary sourcetypes.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!