azure-cli-extensions icon indicating copy to clipboard operation
azure-cli-extensions copied to clipboard

Possibility to execute kql queries

Open nairu777 opened this issue 2 years ago • 5 comments
trafficstars

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.

nairu777 avatar Feb 14 '23 14:02 nairu777

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: -

ghost avatar Feb 14 '23 19:02 ghost

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

SaurabhSharma-MSFT avatar Feb 14 '23 19:02 SaurabhSharma-MSFT

route to CXP team

yonzhan avatar Feb 14 '23 23:02 yonzhan

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.

mcgov avatar Jun 11 '24 22:06 mcgov

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

ohadbitt avatar Jun 13 '24 08:06 ohadbitt