NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 40 min
Filter early, count events and distinct things, and read top and rare lists in SPL, Kusto KQL and ES|QL, with the traps each platform sets for the careless.
The overnight logon search that Mina wants to migrate returns one number: failed logons for the whole domain. A number like that is almost useless on its own. Twenty-nine failures could be one tired user, a password spray across six accounts, or a scanner hammering the administrator account. What separates those cases is not a smarter query, it is a better aggregation: group the failures by source, count the accounts each source touched, and look at both ends of the sorted list.
Filtering and aggregating are the two halves of nearly every detection, and they are where the three platforms resemble each other most. They are also where small differences in null handling, distinct counting and sorting give you a wrong answer that looks right. This lesson covers the filter, then the aggregate, then the sorted views that analysts call top and rare.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in