Skilling tasks
- Create a Log Analytics workspace
- Configure Log Analytics data retention and archive policies
- Enable access to a Log Analytics workspace
Exercise instructions
Create a Log Analytics workspace
- In the Azure Portal Search Bar, enter Log Analytics and select Log Analytics workspaces from the list of results.
- On the Log Analytics workspaces page, choose Create.
-
On the Basics page of the Create Log Analytics workspace wizard, provide the following information and choose Review + Create.
Property Value Subscription Your subscription Resource Group rg-alpha Name LogAnalytics1 Region East US - Review the information and choose Create.
Configure Log Analytics data retention and archive policies
- In the Azure Portal Search Bar, enter Log Analytics and select Log Analytics workspaces from the list of results.
- On the Log Analytics workspaces page, choose LogAnalytics1.
- On the Log Analytics workspace page for LogAnalytics1, choose Usage and estimated costs.
- Select Data Retention and set the slider to 60 days. Choose OK.
- On the Log Analytics workspace page for LogAnalytics1, choose Usage and estimated costs.
- Select Daily cap. Choose On. Set the daily cap to 10 GB and choose OK.
Enable access to a Log Analytics workspace
- In the Azure Portal Search Bar, enter Log Analytics and select Log Analytics workspaces from the list of results.
- On the Log Analytics workspaces page, choose LogAnalytics1.
- Select Access control (IAM).
- Choose Add and then choose Add role assignment.
- On the list of roles, select Log Analytics Reader and choose Next.
- On the Members page, choose Select Members and choose the App Log Examiners security group. Choose Select.
- On the Members space, choose Review + Assign.