File: //snap/google-cloud-cli/current/help/man/man1/gcloud_alpha_run_revisions_logs_tail.1
.TH "GCLOUD_ALPHA_RUN_REVISIONS_LOGS_TAIL" 1
.SH "NAME"
.HP
gcloud alpha run revisions logs tail \- tail logs for a Cloud Run revision
.SH "SYNOPSIS"
.HP
\f5gcloud alpha run revisions logs tail\fR \fIREVISION\fR [\fB\-\-log\-filter\fR=\fILOG_FILTER\fR] [\fB\-\-region\fR=\fIREGION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR gcloud alpha run revisions logs tail tails log\-entries for a
particular Cloud Run revision in real time. The log entries are formatted for
consumption in a terminal.
.SH "EXAMPLES"
To tail log entries for a Cloud Run revision, run:
.RS 2m
$ gcloud alpha run revisions logs tail my\-revision
.RE
To tail log entries with severity ERROR or higher, run:
.RS 2m
$ gcloud alpha run revisions logs tail my\-revision \e
\-\-log\-filter="severity>=ERROR"
.RE
Detailed information about filters can be found at:
https://cloud.google.com/logging/docs/view/advanced_filters
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIREVISION\fR
Name for a Cloud Run revision.
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-log\-filter\fR=\fILOG_FILTER\fR
Filter expression that specifies the log entries to return. Detailed information
about filters can be found at:
https://cloud.google.com/logging/docs/view/logging\-query\-language
.TP 2m
\fB\-\-region\fR=\fIREGION\fR
Region in which the resource can be found. Alternatively, set the property
[run/region].
.RE
.sp
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.
Run \fB$ gcloud help\fR for details.
.SH "NOTES"
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation\-only early access
allowlist. This variant is also available:
.RS 2m
$ gcloud beta run revisions logs tail
.RE