Skip to content
Legacy docs for Tenzir v5.x. For the latest Tenzir v6 series, visit docs.tenzir.com. Migrating from v5? Read the Tenzir v6 migration guide.

Google Cloud Logging is Google’s log management solution. Tenzir can send events to Google Cloud Logging.

IngestionAPIGoogle Cloud Logging

The easiest way to send data to Cloud Logging is via Google Applciation Default Credentials (ADC). Assuming you have configured your node so that it finds the credentials, you can pipe any data to the to_google_cloud_logging operator:

from {
content: "log message",
timestamp: now(),
}
to_google_cloud_logging name="projects/PROJECT_ID/logs/LOG_ID",
resource_type="global"

Last updated: