Diagnostic Settings
Last updated
Last updated
Diagnostic settings lets you export platform logs and metrics to other services. Each Azure resource requires its own diagnostic settings where we define the following:
The type of metric and log data to be sent
One or more destinations to send to.
Let us see the configuration of diagnostic settings for the Inforiver resource.
Select the resource for which you want to configure the Diagnostic Settings. Here, choose Inforiver from the resource groups.
From the menu on the left side of the window, go to Monitoring section and choose Diagnostic settings.
On the right, click on + Add diagnostic setting.
Now, you can specify the following settings:
Name: Name your diagnostic setting here.
Logs: Select the types of logs you want to collect through the check boxes available. You can choose from options such as App Service Application logs, HTTP logs, Platform logs, etc. The list of logs varies depending upon the Azure service.
Metrics: Select the metrics you want to collect by ticking on the checkboxes available. Metrics provide performance and usage data for the resource. Select AllMetrics if you want to store metrics in Azure Monitor Logs too.
Destination: Choose the destination where you want to send the logs and metrics. You can select options like Azure Storage, Event Hubs, Log Analytics workspace, or a combination of these.
Retention(days): Specify the number of days you want to retain the logs and metrics data.
Once you have configured the settings, click on Save to apply the diagnostic settings.
You can refer this page to learn more on Diagnostic Settings in Azure.