Skip to main content

Kqlmagic: Microsoft Azure Monitor magic extension to Jupyter notebook

Project description

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).

Example

Install latest version of package
In [1]: !pip 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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Kqlmagic-0.1.70.tar.gz (76.0 kB view hashes)

Uploaded Source

Built Distribution

Kqlmagic-0.1.70-py3-none-any.whl (86.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page