Google Cloud Operations Suite

Google Cloud Operations Suite destination plugin

Google Cloud Operations Suite, formerly known as Stackdriver, is a cloud-based management platform designed to provide observability and insight into the performance, uptime, and overall health of applications and infrastructure running on Google Cloud and other cloud environments.

The suite includes a range of integrated tools such as logging, monitoring, trace, debugging, and error reporting to help developers and IT teams identify, troubleshoot, and resolve issues quickly. The platform also provides real-time metrics and alerts, letting teams proactively monitor and optimize their applications and services for optimal performance and reliability.

The Google Cloud Operations Suite destination plugin in Calyptia Core lets you configure your pipeline to stream your log data and metrics to Google Cloud Operations Suite.

Configuration parameters

The Google Cloud Operations Suite destination plugin provides these configuration parameters.

General

KeyDescription
Google Service Credentials PathThe Service Credentials file lets Calyptia Core to communicate directly with Google Cloud Services. Read the following on how to set up service credentials: https://cloud.google.com/logging/docs/agent/logging/authorization#create-service-account (opens in a new tab).
Google Cloud Service Account EmailAccount email associated to the service. Only available if no credentials file has been provided.
Google Cloud Service Account SecretPrivate key content associated with the service account. Only available if no credentials file has been provided.
Metadata ServerPrivate key content associated with the service account. Only available if no credentials file has been provided.

Advanced

KeyDescription
Region LocationThe Google Cloud or AWS region in which to store data about the resource. If the resource type is one of the generic_node or generic_task, this field is required.
Namespace IdentifierA namespace identifier, such as a cluster name or environment. If the resource type is one of the generic_node or generic_task, this field is required.
Node ID IdentifierA unique identifier for the node within the namespace, such as hostname or IP address. If the resource type is generic_node, then this field is required.
Job IdentifierAn identifier for a grouping of related task, such as the name of a microservice or distributed batch. If the resource type is generic_task, then this field is required.
Task ID IdentifierA unique identifier for the task within the namespace and job, such as a replica index identifying the task within the job. If the resource type is generic_task, then this field is required.
Google Cloud Project IDThe Google Cloud project that should receive these logs.Defaults to the project ID of the google_service_credentials file, or the project_id from Google's metadata.google.internal server.
Resource TypeSet resource type of data. Supported resource types: k8s_container, k8s_node, k8s_pod, global, generic_node, generic_task, and gce_instance.
Kubernetes Cluster NameThe name of the cluster that the container (node or pod based on the resource type) is running in. If the resource type is one of the k8s_container, k8s_node or k8s_pod, then this field is required.
Kubernetes Cluster LocationThe physical location of the cluster that contains (node or pod based on the resource type) the container. If the resource type is one of the k8s_container, k8s_node or k8s_pod, then this field is required.
Labels KeyThe value of this field is used by the Stackdriver output plugin to find the related labels from jsonPayload and then extract the value of it to set the LogEntry Labels.
LabelsOptional list of comma separated of strings specifying key=value pairs. The resulting labels will be combined with the elements in obtained from labels_key to set the LogEntry Labels. Elements from labels will override duplicate values from labels_key.
Log Name KeyThe value of this field is used by the Stackdriver output plugin to extract logName from jsonPayload and set the logName field.
Tag PrefixSet the tag_prefix used to validate the tag of logs with k8s resource type. Without this option, the tag of the log must be in format of k8s_container(pod/node).* in order to use the k8s_container resource type. Now the tag prefix is configurable by this option, being aware of the ending dot.
Severity KeySpecify the name of the key from the original record that contains the severity information.
Enable Cloud Trace IntegrationRewrite the trace field to include the projectID and format it for use with Cloud Trace. When this flag is enabled, the user can get the correct result by printing only the traceID (usually 32 characters).
Custom K8s RegexSet a custom regex to extract field like pod_name, namespace_name, container_name and docker_id from the local_resource_id in logs. This is helpful if the value of pod or node name contains dots.

Security and TLS

KeyDescription
TLSEnable or disable TLS/SSL support.
TLS Certificate ValidationTurn TLS/SSL certificate validation on or off. TLS must be on for this setting to be enabled.
TLS Debug LevelSet TLS debug verbosity level. Accepts these values: 0 (No debug), 1 (Error), 2 (State change), 3 (Informational), 4 (Verbose).
CA Certificate File PathAbsolute path to CA certificate file.
Certificate File PathAbsolute path to certificate file.
Private key File PathAbsolute path to private key file.
Private Key Path PasswordOptional password for tls.key_file file.
TLS SNI Hostname ExtensionHostname to be used for TLS SNI extension.

Configuration

KeyDescription
DNS ModeSelect the primary DNS connection type (TCP or UDP).
DNS ResolverSelect the primary DNS connection type (TCP or UDP).
Prefer IPv4Prioritize IPv4 DNS results when trying to establish a connection.
KeepaliveEnable or disable Keepalive support.
Keepalive Idle TimeoutSet maximum time allowed for an idle Keepalive connection.
Max Connect TimeoutSet maximum time allowed to establish a connection, this time includes the TLS handshake.
Max Connect Timeout Log ErrorOn connection timeout, specify if it should log an error. When disabled, the timeout is logged as a debug message.
Max Keepalive RecycleSet maximum number of times a keepalive connection can be used before it is retired.
Source AddressSpecify network address to bind for data traffic.