This page describes how to find and use Cloud Logging to query and view maintenance logs for a Memorystore for Valkey instance.
View logs for scheduled maintenance
You can use the Google Cloud console to query and view logs for scheduled maintenance.
Console
In the Google Cloud console, go to the Logs Explorer page.
At the top of the page, select your Google Cloud project.
From the time-range menu, select a range for which you want to query maintenance logs. For example, you can query for logs that Memorystore for Valkey captured over the past 30 days.
In the Query builder, add the following lines of code:
logName="projects/PROJECT_NAME/logs/maintenance.googleapis.com%2Factivity_log" labels.activity_type_name="CloudMemorystoreRolloutAdvanced"
Replace PROJECT_NAME with the name of your Google Cloud project.
Click Run query. The logs appear for scheduled maintenance.
View logs for in-progress maintenance
You can use the Google Cloud console to query and view logs for maintenance that's in progress.
Console
In the Google Cloud console, go to the Logs Explorer page.
At the top of the page, select your Google Cloud project.
From the time-range menu, select a range for which you want to query maintenance logs. For example, you can query for logs that Memorystore for Valkey captured over the past 30 days.
In the Query builder, add the following lines of code:
logName="projects/PROJECT_NAME/logs/maintenance.googleapis.com%2Factivity_log" labels.activity_type_name="CloudMemorystoreRolloutInProgress" labels.is_completed="false"
Replace PROJECT_NAME with the name of your Google Cloud project.
Click Run query. The logs appear for maintenance that's in progress.
View logs for completed maintenance
You can use the Google Cloud console to query and view logs for maintenance that's completed.
Console
In the Google Cloud console, go to the Logs Explorer page.
At the top of the page, select your Google Cloud project.
From the time-range menu, select a range for which you want to query maintenance logs. For example, you can query for logs that Memorystore for Valkey captured over the past 30 days.
In the Query builder, add the following lines of code:
logName="projects/PROJECT_NAME/logs/maintenance.googleapis.com%2Factivity_log" labels.activity_type_name="CloudMemorystoreRolloutInProgress" labels.is_completed="true"
Replace PROJECT_NAME with the name of your Google Cloud project.
Click Run query. The logs appear for maintenance that's completed.
View logs for canceled maintenance
You can use the Google Cloud console to query and view logs for maintenance that's canceled.
Console
In the Google Cloud console, go to the Logs Explorer page.
At the top of the page, select your Google Cloud project.
From the time-range menu, select a range for which you want to query maintenance logs. For example, you can query for logs that Memorystore for Valkey captured over the past 30 days.
In the Query builder, add the following lines of code:
logName="projects/PROJECT_NAME/logs/maintenance.googleapis.com%2Factivity_log" labels.activity_type_name="CloudMemorystoreRolloutCanceled"
Replace PROJECT_NAME with the name of your Google Cloud project.
Click Run query. The logs appear for maintenance that's canceled.