The output from the program with bad options or -h
usage: kusto-cli [-c cluster] [-d database] [-q query] [-i query file] [-f format] [--useClientId]
Print usage and exit
Cluster to query, full URL. Example: https://help.kusto.windows.net
Database to query. Example: Samples
Query string to run. Example: StormEvents | project StartTime, EventId, EpisodeNarrative, EventNarrative | take 10
File containing a query to run. Example: docs/samples/sample_db_query.kql
Output format. Defaults to Text. Example: Text
Full List:
- Text
- Json
- Csv
- Tsv
- Html
- Markdown
This allows you to use an external client (ie an AAD SP or App) to authenticate to Kusto. Currently only an Client ID + Client ID are supported, no MSI or certificates.
You'll need to set the following environment variables when using this option:
KUSTOCLI_CLIENT_ID
: the client IDKUSTOCLI_CLIENT_KEY
: the client key/secretKUSTOCLI_TENANT_ID
: the GUID id of the tenant your ADD entity and cluster are in