Azure / azure-cli-extensions

Public Repository for Extensions of Azure CLI.
https://docs.microsoft.com/en-us/cli/azure
MIT License
382 stars 1.23k forks source link

Possibility to execute kql queries #5881

Open nairu777 opened 1 year ago

nairu777 commented 1 year ago

Related command

az kusto database

Extension name (the extension in question)

kusto

Description of issue (in as much detail as possible)

I would love to execute a KQL-query using the CLI, but at this moment it doesn't look possible. Correct me if I'm wrong, but currently the kusto extension can only be used to manage the kusto databases and clusters.

Ideally I would like something like "az kusto database query" or "az kusto query", so I can automate a lot of processes.

ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @ilayrn, @orhasban, @zoharHenMicrosoft, @sagivf, @Aviv-Yaniv.

Issue Details
### Related command az kusto database ### Extension name (the extension in question) kusto ### Description of issue (in as much detail as possible) I would love to execute a KQL-query using the CLI, but at this moment it doesn't look possible. Correct me if I'm wrong, but currently the kusto extension can only be used to manage the kusto databases and clusters. Ideally I would like something like "az kusto database query" or "az kusto query", so I can automate a lot of processes.
Author: nairu777
Assignees: -
Labels: `customer-reported`, `Service Attention`, `feature-request`, `Azure Data Explorer`, `Auto-Assign`
Milestone: -
SaurabhSharma-MSFT commented 1 year ago

@nairu777 Thanks for your feedback! I have redirected your ask to respective service team.

yonzhan commented 1 year ago

route to CXP team

mcgov commented 4 months ago

Any movement on this? I would also love to do this. Either adding an up-to-date documentation example or just clarifying that it's not possible would be more helpful than the current state. Right now there's just a bunch of deprecated docs with no examples.

It seems odd to have a kusto extension with no ability to run a query.

ohadbitt commented 4 months ago

Az Kusto is used to manage the kusto resources Kusto CLI can be used for querying https://learn.microsoft.com/en-us/azure/data-explorer/kusto/tools/kusto-cli