Skip to content

Latest commit

 

History

History
86 lines (45 loc) · 3.09 KB

README.rst

File metadata and controls

86 lines (45 loc) · 3.09 KB

Kqlmagic: Microsoft Azure Monitor magic extension to Jupyter notebook

Enables notebook experience, exploring Microsoft Azure Monitor data: Azure Data Explorer (Kusto), ApplicationInsights, and LogAnalytics data, from Jupyter notebook (Python3 kernel), using kql (Kusto Query language).

version python license

downloads monthDownloads weekDownloads

Example

Install latest version of package
In [1]: !pip install Kqlmagic --no-cache-dir --upgrade
Add Kqlmagic to notebook magics
In [2]: %reload_ext Kqlmagic
Connect to database at cluster
In [3]: %kql kusto://code;cluster='help';database='Samples'
Query database@cluster and render result set to a pie chart
In [4]: %kql Samples@help StormEvents | summarize count() by State | sort by count_ | limit 10 | render piechart title='my apple pie'

Get Started Notebooks