Operation
Cloud Logging and Monitoring
Logging and Monitoring in Google Cloud
Cloud Logging and Monitoring is the process of storing logs across all cloud products, with the ability to search, monitor, and issue alerts based on various metrics. You can store, search, analyse, monitor, and base alerts on log data from services such as Compute Engine instances, Cloud Storage services, Cloud Big Data analytics services, Cloud Functions, AI infrastructure, Cloud CDN, and more. In this article, we discuss what options Google Cloud offers around Cloud Logging and Monitoring as well as the possibilities for integration with third-party tools.
Google Cloud Logging and Monitoring enables you not only to log and monitor your services running in Google Cloud, but also on Amazon Web Services. Because Google Cloud Logging and Monitoring (GCLM) is a fully managed service, you don't need to worry about setting up, maintaining, or scaling servers. It can ingest application and system log data from thousands of sources simultaneously. Another impressive feature of GCLM is its ability to analyse this incoming data in real time, whilst synchronising server instances and managing different time zones.
Log entries are blocks of data generated by a service running in Google Cloud, third-party applications, or even your own code. Examples of log entries include a user accessing your storage bucket, details about launching a Compute Engine instance, a call to the AI infrastructure, an action to query Cloud SQL or BigQuery, your application code writing to standard or error output files, and more. GCLM allows you to query these log entries based on parameters such as timestamps, log levels, resource names, namespaces, or any custom parameters you define.
Google Cloud offers powerful in-house tools like Logs Explorer and the Logging API to help with querying and analysing log entries. If you wish, you have the option to export your logs to other Google services, such as BigQuery, Cloud Storage, Pub/Sub, after which you can export them to a storage service of your choice for advanced analytics, archiving purposes, or any other reason.
Integration with Third-Party Tools
Google Cloud does not restrict you to using GCLM services alone. It allows integration with other third-party tools, as discussed below:
Prometheus – is a popular open-source monitoring tool that supports metrics and monitoring. Prometheus is often integrated with Google Kubernetes Engine (GKE), which enables external metrics in Cloud Monitoring. Prometheus offers high-dimensional data models and great data visualisations with multiple modes. It also allows integration with many client libraries.
Datadog – is a monitoring and security tool for cloud applications. Datadog integrates with GCP and can collect metrics from Stackdriver logs, monitor Google Cloud Run, monitor GKE, and monitor Compute and App Engine instances. You can also monitor your Anthos infrastructure with Datadog.
Grafana – is a tool that helps assemble dashboards from log entries and metrics. It offers built-in support for Google Cloud Monitoring, making it easy to create dashboards for your GCLM metrics.
BindPlane – is an IT operations data management tool that delivers a relational stream of metrics and logs in real time. BindPlane integrates with GCP and allows you to view logs and metrics from Google Cloud, other cloud providers, and on-premises data centres in one place.
FortiAnalyzer – is an analytics-driven security management tool. FortiAnalyzer integrates with Google Cloud to provide centralised logging, analytics, and reporting capabilities. It can be deployed on a Compute Engine VM instance to enable the collection, correlation, and analysis of geographically and chronologically diverse data.



