gcloud compute diagnose Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud compute diagnose - debugging tools for Compute Engine virtual machine instances
- SYNOPSIS
gcloud compute diagnoseCOMMAND[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- Debugging tools for Compute Engine virtual machine instances.
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$gcloud helpfor details. - COMMANDS
is one of the following:COMMANDexport-logs- Triggers instance to gather logs and upload them to a Cloud Storage Bucket.
routes- Routes to/from Compute Engine virtual machine instances.
- NOTES
- These variants are also available:
gcloudalphacomputediagnosegcloudbetacomputediagnose
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.