Microsoft Azure – Configure Diagnostic Settings For Azure Subscription
Enabling the Diagnostics Setting for Azure Subscription will help in getting the Activity Logs that were performed on Azure Subscription. It will collect the activity logs of Operation Name, Status, Time, Subscription, Event initiated by, and much more in-depth.
- Active Azure Subscription
- Log Analytics Workspace
- The Following Roles are required on the subscription: Owner, Contributor, or User Specified Access.
Follow the steps to configure the diagnostics for an Azure subscription.
Step 1: Log in to Azure Portal.
Step 2: Navigate to Subscriptions and choose your active azure subscription which you want to enable diagnostic settings.
Step 3: Select your active Azure subscription.
Step 4: After selecting the subscription, from the page left menu click on Activity log >> then click on the Diagnostics Settings button.
Step 5: Now, click on “+ Add diagnostic settings”, then give a Diagnostic settings name.
The following are the Category logs (Select all the Category Logs):
Under Destination details >> Select “Send to Log Analytics workspace” >> Subscription: Select your Active Azure Subscription (if you have multiple subscriptions and if you already have another Log Analytics Workspace you can use that as well.) >> Log Analytics workspace: Select your Workspace from the dropdown. If you don’t have to create one.
- Click on “Save” to make the changes.
Step 6: After saving the changes to get the logs in Log Analytics Workspace we have to wait for a least half an hour to collect logs.
Step 7: This step is for verification >>To check the logs go to Activity Logs for your select subscription. Do some kind of create, delete, update activity. To see the changes in the activity log.
You can check the activity logs of Operation Name, Status, Time, Subscription, and Event initiated by.
That’s it you are done.
Please Login to comment...