Manage Diagnostic Logging
Introduction
Diagnostic logging allows you to collect detailed
operational data for an Azure AI services resource, which can be utilized to
assess service usage and resolve issues.
Create Resources for Diagnostic Log Storage
To collect diagnostic
logs for an AI services resource, you must establish a destination for the log
data. Azure Event Hubs can serve as a destination, allowing you to forward the
data to a custom telemetry solution, and it can also connect directly to certain
third-party solutions. However, in many instances, you will utilize one (or
both) of the following types of resources within your Azure subscription:
- Azure Log Analytics
- a service that enables you to query and visualize log data within the Azure
portal.
- Azure Storage
- a cloud-based data store that you can use to store log archives (which can be
exported for analysis in other tools as needed).
It is essential to
generate these resources prior to setting up diagnostic logging for your AI
services resource. If you plan to store log data in Azure Storage, ensure that
the Azure Storage account is established in the same region as your AI services
resource.
Configure Diagnostic Settings
After setting up your log
destinations, you may set up your AI services resource's diagnostic settings. On
the blade's Diagnostic settings page for your AI services resource in the Azure
portal, you can specify diagnostic settings. When adding diagnostic parameters,
you have to indicate:
- A name for your diagnostic settings.
- The categories of log event data that you want to capture.
- Details of the destinations in which you want to store the log data.
View Log Data in Azure
Log Analytics
Diagnostic data may not
begin to flow to the destinations for up to an hour, but once it has, you may
view it in your Azure Log Analytics resource by executing queries.
Conclusion
We have successfully learnt
about Diagnostic Log storage.
Comments
Post a Comment