microsoft / jupyter-Kqlmagic

Extension (Magic) to Jupyter notebook and Jupyter lab, that enable notebook experience working with Kusto, ApplicationInsights, and LogAnalytics data.
Other
85 stars 31 forks source link

No documentation on querying without magic %%kql #83

Closed alexchandel closed 2 years ago

alexchandel commented 2 years ago

A magic %%kql cell runs a multiline query and puts the result into _kql_raw_result_. How does one perform the same query without using a magic command? There's no documentation of any of Kqlmagic's classes.

ForrestTrepte commented 2 years ago

There's a nice answer on Stack Overflow showing approaches for using kqlmagic without %% commands.

I used the Kqlmagic.kql function and it worked for me for making a reusable Python function that can be called from Jupyter to return KQL query results. But I'm not sure of the best way to document these non-magic techniques.

mbnshtck commented 2 years ago

Kqlmagic module documentation is planned, no ETA at this point