Skip to content

CSM access log on GDC baremetal won't be queried correctly #778

Description

@kyasbal

Current KHI seems to query CSM logs with the following query:

LOG_ID("server-accesslog-stackdriver") OR LOG_ID("client-accesslog-stackdriver") 
-labels.response_flag:("-")
-- No namespace filter
resource.labels.project_id="<Project ID>"
resource.labels.location="<Location name>"
resource.labels.cluster_name="<Cluster name without prefix>" -- <- but this must be "baremetalCluster/<Cluster name without prefix>" for GDC
timestamp >= "2026-06-17T20:32:03+0900"
timestamp <= "2026-06-17T21:32:03+0900"

The cluster type prefix is missing in the cluster name field and it won't match with the actual logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions