This document describes how you can use Logs Explorer to view maintenance activities stored in logs.
To view maintenance activities using the Unified Maintenance API, see View resource maintenances by using the API.
To view upcoming and historical maintenance activities in Cloud Hub, see View maintenance activities.
Before you begin
Before you view maintenance activity logs using Unified Maintenance:
- Verify that Unified Maintenance supports your resource types.
View maintenance activity logs
To view maintenance activity logs in Google Cloud console:
- Go to Logs Explorer.
- Select the appropriate log timeframe.
- In the All log names drop-down, select
maintenance_events
. A list of existing logs for maintenance activities within your selected timeframe will appear. Click a log to see more details.
The log fields provide information such as scheduled start and end time, actual start and end time, and a description of the activity. If the Google Cloud product supports rescheduling or applying an update on-demand,
jsonPayload.controls
provides a link to the service provider's documentation in thedocumentation
field.For examples, see Reschedule or apply an update on demand. For more information about the maintenance log format, see Log schema overview.
What's next
- Use Unified Maintenance to reschedule or apply an update on demand.
- Learn how to configure alert policies.
- Learn how to configure alerts and notifications based on different webhooks.
- See the Unified Maintenance log schema for more information about reading logs.