Sample Logs Explorer queries

From Genesys Documentation
Jump to: navigation, search
This topic is part of the manual Operations for version Current of Genesys Multicloud CX Private Edition.

Learn about the interface for analyzing logs data - the Logs Explorer, and take a look at some sample Logs Explorer queries to find logs.

Sample queries to find important logs using the Logs Explorer

The Cloud Logging interface, the Logs Explorer, enables you to quickly and efficiently retrieve, view, and analyze logs from your queries.

Here are some sample queries for you to understand how to find important logs using the Logs Explorer in the Google Cloud Console.

A sample query for int-id in MCP

resource.type="k8s_container"

resource.labels.project_id="<project ID>"

resource.labels.location="<location name>"

resource.labels.cluster_name="<cluster name>"

resource.labels.namespace_name="gvp"

labels.k8s-pod/app_kubernetes_io/instance="gvp-mcp"

labels.k8s-pod/app_kubernetes_io/log-monitor-name="gvp-mcp-log"

labels.k8s-pod/app_kubernetes_io/name="gvp-mcp"

00640220-10003852

A sample query for UUID in voice-sip

resource.type="k8s_container"

resource.labels.project_id="<project ID>"

resource.labels.location="<location name>"

resource.labels.cluster_name="<cluster name>"

resource.labels.namespace_name="voice"

labels.k8s-pod/app_kubernetes_io/instance="voice-sip"

A sample query for UUID in ORS

resource.type="k8s_container"

resource.labels.project_id="<project ID>"

resource.labels.location="<location name>"

resource.labels.cluster_name="<cluster name>"

resource.labels.namespace_name="voice"

labels.k8s-pod/app_kubernetes_io/instance="voice-ors"

labels.k8s-pod/app_kubernetes_io/name="voice-ors"

00ESOD0T04905B2SK13CC2LAES00002Q

A sample query for Call-ID for sip proxy

resource.type="k8s_container"

resource.labels.project_id="<project ID>"

resource.labels.location="<location name>"

resource.labels.cluster_name="<cluster name>"

resource.labels.namespace_name="voice"

labels.k8s-pod/app_kubernetes_io/instance="voice-sipproxy"

labels.k8s-pod/app_kubernetes_io/name="voice-sipproxy"

00154DB6-1D01-1202-AC5C-A046C60AAA77-9483@10.198.70.160

A sample query for GAUTH for user authentication

resource.type="k8s_container"

resource.labels.project_id="project ID"

resource.labels.location="<location name>"

resource.labels.cluster_name="<cluster name>"

resource.labels.namespace_name="gauth"

labels.k8s-pod/app_kubernetes_io/instance="gauth"

labels.k8s-pod/app_kubernetes_io/name="gauth"

"SAT_Prov_100_genesys@t100"