The Azure Insights NuGet package allows you to programmatically retrieve the logs that are exposed in the
Azure Preview Portal. This allows you to get the Event Logs for a:
- Resource
- Resource group
- Resource provider
- Azure subscription
For more information, see
Microsoft Azure Insights Library 0.7.1-preview.
Also see this code sample for more details:
Programmatic Retrieval of Azure Event Logs.