Logging of diagnostics logs
Azure diagnostics logs are another great troubleshooting mechanism to get information about the operation of an Azure resource—a Stream Analytics job in our case. Let's understand how the information provided by diagnostics logs can help you to troubleshoot issues faster, in case of an unexpected event. You can use diagnostics logs to collect the following categories of data:
- Execution: Log events occurring at runtime, that is, during job execution
- Authoring: Capturing job authoring events, such as job creation/modification
- All Metrics: Log metrics emitted by a Stream Analytics job
When it comes to storage and consumption of diagnostics logs, you have the following three options at hand:
- Archive to a storage account:Â You can choose to store the diagnostics logs on a storage account for later analysis, or for auditing purposes. When a storage account is chosen as an option, you can optionally specify a retention period (in days) for the logs. A retention period configuration...