LinuxCommandLibrary

gcloud-feedback

Provide feedback about Google Cloud products

TLDR

Provide feedback to the gcloud team

$ gcloud feedback
copy

Provide feedback to the gcloud team and attach a log file
$ gcloud feedback --log-file [log_file]
copy

SYNOPSIS

gcloud feedback [GLOBAL-FLAGS]

PARAMETERS

-h, --help
    Show help for the command and exit.

--verbosity=VERBOSITY
    Set output verbosity (debug, info, warning, error, critical, none).

--quiet, -q
    Disable most output and prompts; assume yes for confirmations.

--trace-filename=TRACE_FILENAME
    Write trace output to file for debugging.

--log-http-redaction-masks=REGEX
    Regex masks for redacting HTTP logs before feedback collection.

--format=FORMAT
    Output format (table, json, yaml, value, none).

DESCRIPTION

The gcloud feedback command is part of the Google Cloud CLI, designed to help users report issues, bugs, or suggestions directly to the development team. When run, it automatically gathers diagnostic data including recent logs from ~/.config/gcloud/logs, command history, and configuration details. Sensitive information like project IDs, auth tokens, and HTTP payloads is automatically redacted for privacy.

This collected data is packaged and your default web browser opens to a pre-filled feedback form at Google's Cloud feedback portal. Users can add context, select issue type (bug, feature request, etc.), and submit. It simplifies troubleshooting by providing devs with complete context, reducing back-and-forth.

Ideal for CLI errors, performance issues, or auth problems. No arguments needed; supports global flags for customization. Logs are limited to recent entries to keep submissions concise. Always recommended before filing GitHub issues.

CAVEATS

Requires internet access and default browser. Logs include recent activity only; older logs not captured. Sensitive data redacted but review before submit. Not for production secrets.

USAGE EXAMPLE

gcloud feedback
Collects logs and opens browser form.

LOG LOCATION

Default: $HOME/.config/gcloud/logs/*.log; recent entries only.

HISTORY

Introduced in early Google Cloud SDK (pre-2015); evolved with gcloud CLI v1+ for better diagnostics. Logs collection refined in v200+ for privacy (redaction defaults since ~2018).

SEE ALSO

gcloud(1), gcloud info(1), gcloud components(1)

Copied to clipboard