View maintenance logs

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

  1. In the Google Cloud console, go to the Logs Explorer page.

    Logs Explorer

  2. At the top of the page, select your Google Cloud project.

  3. 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.

  4. 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.

  5. 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

  1. In the Google Cloud console, go to the Logs Explorer page.

    Logs Explorer

  2. At the top of the page, select your Google Cloud project.

  3. 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.

  4. 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.

  5. 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

  1. In the Google Cloud console, go to the Logs Explorer page.

    Logs Explorer

  2. At the top of the page, select your Google Cloud project.

  3. 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.

  4. 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.

  5. 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

  1. In the Google Cloud console, go to the Logs Explorer page.

    Logs Explorer

  2. At the top of the page, select your Google Cloud project.

  3. 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.

  4. 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.

  5. Click Run query. The logs appear for maintenance that's canceled.