Skip to main content
Any Framework

Provides a set of utilities for working with Azure Data Explorer such as schema and data export

Published
Oct 14, 2022
4y ago
Total Downloads
12.7K
12,676

Install

dotnet add package AdxUtilities --version 2022.10.14.49

No framework information available.

README

Build Status - Publish To Nuget

codecov

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.

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 .ingest inline command. 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
           --use-cli

Changes from Previous Version

No structural changes between v2022.10.11.48 and v2022.10.14.49.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.