Skip to content

Latest commit

 

History

History
70 lines (44 loc) · 3.77 KB

README.md

File metadata and controls

70 lines (44 loc) · 3.77 KB

Kusto Light Ingest

LightIngest is a command-line utility for ad-hoc data ingestion into Azure Data Explorer. The utility can pull source data from a local folder or from a storage container. LightIngest is most useful when you want to ingest a large amount of data, because there is no time constraint on ingestion duration. It's also useful when you want to later query records according to the time they were created, and not the time they were ingested.

Download and Usage

Binaries

Binaries are found under each release in release section. They are standalone and as such have no prerequisites, simply download the one tergeting your operating system and run:

LightIngest.exe "https://ingest-{Cluster name and region}.kusto.windows.net;Fed=True" -db:{Database} -table:{table} -source:"https://{Account}.blob.core.windows.net/{ROOT_CONTAINER};{StorageAccountKey}" -creationTimePattern:"'historicalvalues'yyyyMMdd'.parquet'" -pattern:"*.parquet" -format:parquet -limit:2 -cr:10.0

Dotnet Tool

LightIngest is published as a dotnet tool from this feed Dotnet tools require .Net SDK >= 6.0 installed and run installation command:

dotnet tool install --global Microsoft.Azure.Kusto.LightIngest --version 12.0.0-preview.1

To run the tool simply use its name:

LightIngest "https://ingest-{Cluster name and region}.kusto.windows.net;Fed=True" -db:{Database} -table:{table} -source:"https://{Account}.blob.core.windows.net/{ROOT_CONTAINER};{StorageAccountKey}" -creationTimePattern:"'historicalvalues'yyyyMMdd'.parquet'" -pattern:"*.parquet" -format:parquet -limit:2 -cr:10.0

Documentation

See the full documentation here

Content

This repo contains a command-line project for ingesting to Azure Data Explorer

API Package

This tool is also available as a package on nuget.org

SDK API

The code is using the [ADX C# SDK](package on nuget.org)

Contribute

There are many ways to contribute to the project.

Getting Help / Reporting Problems

Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct.

Resources: