Forum Discussion
printscreen
Feb 01, 2021Brass Contributor
How to execute KQL queries in Sentinel Notebooks?
Hi. I have installed kqlmagic library and trying to connect to my log analytics workspace to execute the kql queries in Notebooks. Can anyone help me the different approaches on how to connect to the...
MunteanuStefan
May 05, 2023Copper Contributor
Hello,
To be able to run a KQL query in a Microsoft Sentinel notebook you need to install the MSTICPy or KQLMagic library and use a %kql magic command at the start of a query.
To be able to run a KQL query in a Microsoft Sentinel notebook you need to install the MSTICPy or KQLMagic library and use a %kql magic command at the start of a query.