Kusto tooling
CLI tools to fetch data from the Kusto API.
Installation and authentication
- Install the Azure CLI with
brew install azure-cli.- If you have the option to not update all your brew packages, choose that, or it will take a really long time.
- Run
az login.- You'll have to run
az loginwhenever your session expires. The sessions are fairly long lasting.
- You'll have to run
- Enter your
<username>@githubazure.comcredentials.- These will get cached for future logins.
- At the prompt in Terminal asking which subscription you want to use, just press Enter to choose the default.
- Open or create an
.envfile in the root directory of your checkout (this file is already in.gitignore). - Add the
KUSTO_CLUSTERandKUSTO_DATABASEvalues to the.env.KUSTO_CLUSTER='<value>' KUSTO_DATABASE='<value>'