Troubleshooting ADX
As you may recall from Chapter 4, Ingesting Data in Azure Data Explorer, we set up infrastructure to ingest data from a storage account using an event grid and an event hub. Since we did not configure diagnostics at the time, the only way to check whether the ingestion succeeded was to run a query to check whether any data was available. Depending on the ingestion policy, you had to wait up to 5 minutes for the data to be ingested. Now, imagine an error occurred—how would you know? Should you refresh your browser or continuously execute a query to return the number of rows? No! That does not scale and, like me, you probably have better things to do with your time than continuously hitting Shift + Enter to execute a query.
In this section, we will intentionally introduce an error with our data ingestion process, and then we will learn how to troubleshoot such issues by looking at ADX's metrics and diagnostic logs using Log Analytics.
Note
In...