Skip to content
Extension (Magic) to Jupyter notebook and Jupyter lab, that enable notebook experience working with Kusto, ApplicationInsights, and LogAnalytics data.
Python Jupyter Notebook HTML Other
Branch: master
Clone or download
mbnshtck added to plot_package 'plotly_widget'; added to submit new parameters…
… override_query_properties and override_connection;
Latest commit bef2aca Feb 21, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vs fix missing lxml.py module dependency in setup.py; created history.rs… Mar 24, 2019
.vscode Added to submit override_vars parameter; + PR55 Feb 16, 2020
azure added to plot_package 'plotly_widget'; added to submit new parameters… Feb 21, 2020
binder added to plot_package 'plotly_widget'; added to submit new parameters… Feb 21, 2020
data/images Version 0.1.14 Aug 7, 2018
notebooks add to submit override_options parameter; update ParameterizeYourQuer… Feb 17, 2020
.gitignore fix tests import; add to setup QtPy and PyQt5 Feb 17, 2020
.markdownlint.json version 103 Sep 5, 2019
CODE_OF_CONDUCT.md
CONTRIBUTING.md support alt schema names; simplify code; improve connection inheritan… Oct 15, 2018
CONTRIBUTORS.md Added to submit override_vars parameter; + PR55 Feb 16, 2020
FAQ.html Adde request tags; FAQ; improved version management to support dev, p… Oct 3, 2019
HISTORY.md Version 0.1.108, Added Help for Logging and bug fixes Dec 11, 2019
HISTORY.rst Version 102 - Added option: 'show_query' (abbreviation 'sq', default … Aug 27, 2019
KqlMagic.pyproj
KqlMagic.sln Version 0.1.14 Aug 7, 2018
LICENSE.TXT bump version 0.1.31 Sep 19, 2018
MANIFEST.in bump version 0.1.31 Sep 19, 2018
NEWS.txt updated README, and setup Oct 17, 2018
NOTICE.TXT Version 0.1.14 Aug 7, 2018
README.md
README.rst
TODO.txt fixed #14, adjusted setup to Azure notebooks, added dev dependencies … Jun 9, 2019
azure_bdist_wheel.py bump version 0.1.31 Sep 19, 2018
build_packages.py changes state from 1-alpha to 3-beta; published in PyPI; modified not… Oct 16, 2018
dev_requirements.txt support partial result, add command concept, added commands, 0.1.66 Oct 25, 2018
run_black.sh changes state from 1-alpha to 3-beta; published in PyPI; modified not… Oct 16, 2018
run_pytest.bat
run_tests.bat added test_notebook_app for testing, , commands instead of show_windo… Dec 25, 2018
run_upgrade.bat added run_upgrade.bat; enhanced run_tests.bat Dec 24, 2018
setup.py

README.md

Kqlmagic: Microsoft Azure Monitor magic extension to Jupyter notebook.

PyPi Version Python Versions License

PyPI link: https://pypi.org/project/kqlmagic/, PePy download information:

Downloads Downloads Downloads

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

Install

Option 1: Via PyPi

To install via the Python Package Index (PyPI), type:

pip install Kqlmagic

Option 2: Source Via Git

To get the source code of the SDK via git just type:

git clone git://github.com/Microsoft/jupyter-Kqlmagic.git
cd ./jupyter-Kqlmagic
python setup.py install

Option 3: Source Zip

Download a zip of the code via GitHub or PyPI. Then follow the same instructions as in option 2.

Minimum Requirements

  • Python 3.6+
  • See setup.py for dependencies

Load

To load the Kqlmagic extension, run in notebook cell:

In [ ]: %reload_ext Kqlmagic

Authentication methods:

  • AAD Username/password - Provide your AAD username and password.
  • AAD application - Provide your AAD tenant ID, AAD app ID and app secret.
  • AAD code - Provide only your AAD username, and authenticate yourself using a code, generated by ADAL.
  • certificate - Provide your AAD tenant ID, AAD app ID, certificate and certificate-thumbprint (supported only with Azure Data Explorer)
  • appid/appkey - Provide you application insight appid, and appkey (supported only with Application Insights)

Get Started Notebooks:

Need Support?

  • Have a feature request for Kqlmagic? Please post it on User Voice to help us prioritize
  • Have a technical question? Ask on Stack Overflow with tag "Kqlmagic"
  • Need Support? Every customer with an active Azure subscription has access to support with guaranteed response time. Consider submitting a ticket and get assistance from Microsoft support team
  • Found a bug? Please help us fix it by thoroughly documenting it and filing an issue.

Contribute

We gladly accept community contributions.

  • Issues: Please report bugs using the Issues section of GitHub
  • Forums: Interact with the development teams on StackOverflow or the Microsoft Azure Forums
  • Source Code Contributions: If you would like to become an active contributor to this project please follow the instructions provided in Contributing.md.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

For general suggestions about Microsoft Azure please use our UserVoice forum.

You can’t perform that action at this time.