Skip to content

Commit

Permalink
updated-log-retention-policy-doc (#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
fatima99s authored Aug 25, 2023
1 parent b254fe0 commit 1ff40b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions en/azure/monitor/log-profile-retention-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
1. Log into the Microsoft Azure Management Console.
2. Select the "Search resources, services, and docs" option at the top and search for Monitor. </br> <img src="/resources/azure/monitor/log-profile-retention-policy/step2.png"/>
3. Scroll down the left navigation panel and choose "Activity Log" option in the "Monitor" page.</br> <img src="/resources/azure/monitor/log-profile-retention-policy/step3.png"/>
4. On the "Monitor - Activity log" click on the "Export to Event Hub".</br> <img src="/resources/azure/monitor/log-profile-retention-policy/step4.png"/>
4. On the "Monitor - Activity log" click on the "Export Activity Logs".</br> <img src="/resources/azure/monitor/log-profile-retention-policy/step4.png"/>
5. On the "Diagnostics settings" page select the diagnostic setting for which "Retention policy" needs to be verified and click on "Edit setting" option.</br> <img src="/resources/azure/monitor/log-profile-retention-policy/step5.png"/>
6. On the "Diagnostics settings" page select the "Storage account" option and check the "retention policy".If log "retention policy" is less than 365 days then it's not as per the Azure Recommendations.</br> <img src="/resources/azure/monitor/log-profile-retention-policy/step6.png"/>
7. Repeat steps number 2 - 6 to verify other Azure accounts for "Log Profile Retention Policy".</br>
8. Navigate to "Monitor" and click on the "Activity Log" under "Monitor page", click on the "Export to Event Hub" and select the "Diagnostic Setting" on which "Log Profile Retention Policy" needs to be set to at least 365 days.</br> <img src="/resources/azure/monitor/log-profile-retention-policy/step8.png"/>
8. Navigate to "Monitor" and click on the "Activity Log" under "Monitor page", click on the "Export Activity Logs" and select the "Diagnostic Setting" on which "Log Profile Retention Policy" needs to be set to at least 365 days.</br> <img src="/resources/azure/monitor/log-profile-retention-policy/step8.png"/>
9. Click on the "Edit Setting" option next to the "Diagnostic setting".</br> <img src="/resources/azure/monitor/log-profile-retention-policy/step9.png"/>
10. Click on the "Storage Account", select the "Region" and enter the "Retention(days)" to 365 and save the changes.</br> <img src="/resources/azure/monitor/log-profile-retention-policy/step10.png"/>
11. Repeat steps number 8 - 10 to ensure that the Activity Log export to Event Hub is configured with a retention policy of at least 365 days. </br>
11. Repeat steps number 8 - 10 to ensure that the Activity Log Export Activity Logs is configured with a retention policy of at least 365 days. </br>
Binary file modified resources/azure/monitor/log-profile-retention-policy/step4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/azure/monitor/log-profile-retention-policy/step8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1ff40b8

Please sign in to comment.