/AzDataExplorerAndFunctions

Sample repo for querying Azure Data Explorer from Azure Functions

Primary LanguageC#

AzDataExplorerAndFunctions

A developer can explore many data streams with Azure Data Explorer. After a developer injest and explore the data, he/she want to query data from application layer. You can learn how to query data from Azure Data Explorer with .NET Core and Azure Functions.

Prerequistics

How to run app

  1. Rename local.settings.sample.json to local.settings.json and replace value with your Azure AD applications and Azure Data Explorer settings.
  2. Press [F5] key to start Azure Functions app.
  3. Send HTTP GET (http://localhost:7071/api/GetTestData?durationDay=1) request to the Azure Functions. You can set appropriate durationDay variable as positive value. It will change duration of data (ex. 2 means that an app get data from 2 days ago to now)