log

Cloud Logging

ManagementGCP
General

General information about the service.

Description

Google Cloud Logging allows you to store, search, analyze, monitor, and alert on logging data and events.

Service ID

logging.googleapis.com

Resource Pattern

projects/{project}/sinks/{sink}

Chat

Powered by AI

Talk to this service to learn more about it.

Suggested questions:

Naming

The conventions, rules, and restrictions for naming this service.

Naming Convention

log-{workload}-{environment}

Length

1-63

Valid Characters

Lowercase letters, numbers, hyphens

Scope

project

Code

Deploy your infrastructure as code using your preferred tooling.

Official DocumentationTerraform
terraform
1resource "google_logging_project_sink" "main" {
2 name = "log-${var.environment}"
3 destination = "storage.googleapis.com/${google_storage_bucket.main.name}"
4 filter = "severity >= ERROR"
5}
Utilities

Utilities to support app deployment or configuration.