Overview
The Google Cloud Logging product allows you to store, search, analyze, monitor, and alert on log data and events from Google Cloud Platform.
Datadog pulls metrics from Google Cloud Logging to:
- Visualize the performance of your Google Cloud logs.
- Correlate the performance of your Google Cloud logs with your applications.
Setup
Installation
Metrics from Google Cloud logs are included as part of the Google Cloud Platform integration. There are no additional installation steps required.
Log collection
Google Cloud logs are collected with Google Cloud Logging and sent to a Dataflow job through a Cloud Pub/Sub topic. If you haven’t already, set up logging with the Datadog Dataflow template.
Data Collected
Metrics
gcp.logging.billing.bytes_ingested (count) | Log bytes ingested. Shown as byte |
gcp.logging.billing.monthly_bytes_ingested (gauge) | Month-to-date log bytes ingested. Shown as byte |
gcp.logging.byte_count (count) | Number of bytes in all log entries ingested. Shown as byte |
gcp.logging.dropped_log_entry_count (count) | (Deprecated) Number of log entries that did not contribute to user defined metrics. Shown as entry |
gcp.logging.excluded_byte_count (count) | Number of bytes in log entries that were excluded. Shown as byte |
gcp.logging.excluded_log_entry_count (count) | Number of log entries that were excluded. Shown as entry |
gcp.logging.exports.byte_count (count) | Number of bytes in log entries that were exported. Shown as byte |
gcp.logging.exports.error_count (count) | Number of log entries that failed to be exported. Shown as entry |
gcp.logging.exports.log_entry_count (count) | Number of log entries that were exported. Shown as entry |
gcp.logging.log_entry_count (count) | Number of log entries that contributed to user-defined metrics. Shown as entry |
gcp.logging.logs_based_metrics_error_count (count) | Number of log entries that did not contribute to user defined metrics. Shown as entry |
gcp.logging.metric_throttled (gauge) | Indicates if points are being dropped for logs-based metrics due to exceeding time series limits. |
gcp.logging.time_series_count (gauge) | Estimate of the active time series count for logs-based metrics. |
Note: Datadog collects Google Cloud Logging user-defined metrics with the prefix gcp.logging.user
.
Events
The Google Cloud Logging integration does not include any events.
Service Checks
The Google Cloud Logging integration does not include any service checks.
Troubleshooting
Need help? Contact Datadog support.
Further Reading
Additional helpful documentation, links, and articles: