Reputation: 1
My requirement is using Azure Event Hub to capture events in format Json and/or Avro format and finally ingesting those events into ADX. Also don't want to capture these events in to Blob storage etc and using Event Grid option on top of it. Want to capture these events directly into ADX.
After going through several documentation and online sites on these topics, below are the high-level steps as per my understanding, however was not able to complete this due to several issues, so reaching out for help to see if any blog /video which shows this process end to end with a simple example ?
Here is the KQL script for the pre-creating table and mapping I am using.
.create table test123 (
RGUID: string,
EnvironmentName: string,
MachineName: string,
DateTimeUTC: long
)
.create table test123 ingestion avro mapping 'test123Mapping1' '[{"column":"RGUID","Properties":{"Field":"$.RGUID"}},{"column":"EnvironmentName","Properties":{"Field":"$.EnvironmentName"}},{"column":"MachineName","Properties":{"Field":"$.MachineName"}},{"column":"DateTimeUTC","Properties":{"Field":"$.DateTimeUTC"}}]'
Thanks
Edit-1: There are 2 issues mainly while creating DB connection from Event Hub.
Table Level Ingest Data wizard
Upvotes: 0
Views: 1207
Reputation: 1175
Upvotes: 0
Reputation: 91
If you already know how to create the table and the ingestion mapping, you can create the Data Connection directly from the Azure portal instead of going through the one-click wizard:
Create an Event hub data connection
Upvotes: 0