QuestionQ133

VerifiedPerformance and Troubleshooting

Consider the following search, which runs over a very large dataset:

Question Image

Which of the following is a logically correct, most performant rewrite of the same search?

Explanation

Restrictive event filters should be included in the initial search so that later commands process fewer events. bucket _time span=1m groups events into one-minute time intervals without overwriting _time with a formatted string. The lookup must run before stats because location is a grouping field produced by that lookup.

Learn more

Community Discussion

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