hardgcloud

Update the log filter on an existing log export sink

command

gcloud logging sinks update SINK_NAME --log-filter NEW_FILTER

also accepted

gcloud logging sinks update

Command breakdown

Part of the Google Cloud CLI (gcloud) — Operations category.

gcloudloggingsinksupdateSINK_NAME--log-filterNEW_FILTER
FlagPurpose
--log-filterBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →