AdxUtilities 2024.2.6.56
dotnet tool install --global AdxUtilities --version 2024.2.6.56
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local AdxUtilities --version 2024.2.6.56
#tool dotnet:?package=AdxUtilities&version=2024.2.6.56
nuke :add-package AdxUtilities --version 2024.2.6.56
Azure Data Explorer Utilities
This is a command line application which is intended to provide a useful set of utilities for working with Azure Data Explorer. Mostly to make things easier where some tasks are not supported by the Azure CLI or are needed to work in a way to support other activities.
Installation
You can install the utility as a dotnet global tool using the published package available at nuget.org.
> dotnet tool install --global AdxUtilities
Authentication
The app can currently use either Client Secret Key authentication, or Azure CLI authentication. Using CLI authentication allows the application to make use of the existing sign-in information from the Azure CLI tool.
Export
This is the first of the utilities developed which automates the generation of a CSL script for a given database. The script contains the commands needed to re-create the tables and functions, along with mapping information. It also supports renaming of tables and the ability to copy data using an .set-or-replace
command with datatable
operator. The generated output is intended to work with the Azure DevOps Task for Data Explorer where the commands are split based on empty lines and executed individually against the target database. The generated script can just as easily be executed directly by using an .execute database script
.
An example usage of the command is
> adxutils -c https://myinstance.region.kusto.windows.net/
-d my-database
--ignore Table3
--function folder3/,function1
--export Table1,Table2
--rename Table4=Table5
--update table=Table1 columnType=Type columnToAdd=Column1 columnToDrop=Column2
--use-cli
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
2024.2.6.56 | 419 | 2/6/2024 |
2023.8.14.55 | 540 | 8/14/2023 |
2023.8.14.54 | 249 | 8/14/2023 |
2022.11.24.50 | 764 | 11/24/2022 |
2022.10.14.49 | 442 | 10/14/2022 |
2022.10.11.48 | 392 | 10/11/2022 |
2022.10.11.47 | 403 | 10/11/2022 |
2022.9.29.45 | 401 | 9/29/2022 |
2022.9.28.44 | 468 | 9/28/2022 |
2022.9.27.43 | 392 | 9/27/2022 |
2022.9.21.35 | 387 | 9/21/2022 |
2022.9.21.34 | 420 | 9/21/2022 |
2022.9.21.33 | 425 | 9/21/2022 |