Thank you to @Steve Faehl, @Jing Nghik, and @Sreedhar_Ande for co-authoring this solution. Thank you as well to the many Microsoft employees who assisted with testing this workbook and by providing feedback for change.
Looking to start the new year with KQL? Looking for a hands-on method to do so? Look no further with this interactive KQL learning workbook in Microsoft Sentinel!
The Kusto Query Language (KQL) is the driving language for using Microsoft Sentinel. Though similar to SQL, new users must still learn and practice the language. To assist in accelerating learning the language, an interactive learning workbook has been created. This current version will assist new or existing users gain a 100-200 level understanding of the language while also providing hands-on experience that will assist them with hitting the ground running when executing real world queries.
This workbook is made up of several parts:
Workflow:
When a user enters the workbook, they will need to choose a tab that houses the operators that can be practiced. Once a tab is selected, the operators will be listed with the related exercises and content.
Once the exercise is selected, the user can reference the documentation or a summary of the operator. The summary includes examples and when to use the operator in a query.
Once a user feels ready to practice the operator, they can go to the query space and attempt the exercise. As the user types, the query will be performed against the data and results will be returned. If the answer is correct, the user can attempt another exercise for the operator (if there is one provided) or they can move onto another operator. If the answer is incorrect, the user can attempt the exercise again or reveal the answer to learn more.
This process is repeated throughout the workbook. Once the user completes the workbook, they should have a level 200 understanding of KQL and how to use it in a query. To supplement this workbook, the Advanced KQL Framework workbook is linked as well as the Azure Log Analytics demo workspace. The Advanced KQL workbook will provide users more examples and detailed use cases to continue their learning. The Azure Log Analytics demo workspace will allow users to practice what they have learned on more real data that is similar to what they see in their workspaces.
Deployment:
In the event that the workbook is not available yet in the workbooks gallery, the workbook can be deployed via the following process:
Things to Note:
Go out and practice KQL today! If there are operators or exercises that you feel should be added to the workbook, please consider submitting feedback via our form.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.