Quickstart: Ingest sample data into Azure Data Explorer
This article shows you how to ingest (load) sample data into an Azure Data Explorer database. There are several ways to ingest data. This article focuses on a basic approach that's suitable for testing purposes.
You already have this data if you completed Ingest data using the Azure Data Explorer Python library.
- A Microsoft account or an Azure Active Directory user identity. An Azure subscription isn't required.
- Create a cluster and database.
The StormEvents sample data set contains weather-related data from the National Centers for Environmental Information.
First, sign in to https://dataexplorer.azure.com. Then follow the steps to ingest the sample data.
In the left menu, select Data.
In the Data Management page, select Ingest data from blob, and then Ingest.
In the Destination tab, fill out the following information:
Setting Description Cluster Select your cluster. Database Choose a database. Table Create a new table. For this example, name it StormEvents.
Select Next: Source.
Fill out the Source tab with the following information:
Setting Description Source type Select the data source to ingest. In this example, From blob is already selected. Link to source Use the following storage URI link: https://kustosamples.blob.core.windows.net/samplefiles/StormEvents.csv.
Select Next: Schema.
Confirm the schema details.
Setting Description Compression type The compression type is inferred from the file extension. Data format The data format, CSV, is already specified. Ignore the first record If the source table includes column names, the first record is ignored during ingestion. Mapping Schema mapping name.
Select Next: Summary.
After ingestion completes, select Query in the left pane.
Paste in the following query and select Run.
StormEvents | sort by StartTime desc | take 10
The query returns the following results from the ingested sample data.
- Azure Data Explorer data ingestion to learn more about ingestion methods.
- Quickstart: Query data in Azure Data Explorer web UI.
- Write queries with Kusto Query Language.