Perform try-this exercises
Complete these try-this exercises to get some hands-on on experience with Azure.
Task 1 - Activity Logs and Alerts
In this task, we will configure an alert.
- Sign into the Portal.
- Search for and launch Monitor.
- Review the capabilities of Monitor: Monitor & Visualize Metrics, Query & Analyze Logs, and Setup Alerts & Actions.
- Select Activity log.
- Under the filters, click Timespan and review the drop-down choices.
- Open an event and discuss.
- Back in the Monitor main page, click Alerts then click + New alert rule.
- Under Resource click Select.
- Discuss how alerts can be scoped by subscription, resource type, and location.
- Select a resource for the alert and then click Done.
- Under Condition click Add.
- Select a signal, such as All Administrative operations, and then click Done.
- Under Action group, click Create. Review how action groups are used.
- Under Select an action type review the various ways the action group can be alerted.
- Select Email/SMS/Push/Voice.
- Review the configuration choices and finish creating your action group.
- Complete the Alert details and click Create alert rule.
- On the Alerts page, review how you can search your alerts by resource and time range.
Task 2 - Log Analytics
This lab requires a virtual machine in a running state.
In this task, we will configure Log Analytics and run a query.
- Sign into the Portal.
- Search for and launch Log Analytics workspaces.
- Click Add or Create.
- On the Basics tab, review and complete the required information.
- Under the Essentials view, review the Pricing tier detail (example: Pricing tier: Pay-as-you-go)
- Finish creating the workspace and wait for it to deploy.
- Go to resource and discuss how Log Analytics is used and configured.
- Under Workspace Data Sources select Virtual machines.
- Select a virtual machine and click Connect.
- While you wait for the connection, under Settings click Advanced settings.
- Click Connected sources. Discuss the possible sources like virtual machines and storage accounts.
- Click Data. Review the different data sources.
- Show how Windows event logs can be collected.
- Save any changes you make.
- Back at the Log Analytics workspace, Under General select Logs.
- Review how log data is stored in tables and can be queried.
- Select the Event table and then click Run.
- Review the results.
- There is a Log Analytics Querying Demonstration page.
- This page provides a live demonstration workspace where you can run and test queries.
- As you have time, review the log query demonstration environment.