I installed Signoz to a k8s cluster, configured it...
# support
r
I installed Signoz to a k8s cluster, configured it to receive logs, and setup two otel collectors to send data. Logs are being received, but the default logs filter 'K8S Cluster Name' is blank. In the otel collector/k8s-infra config, I set global.clusterName and clusterName, but that value does not get set as an attribute on the logs, and the 'K8S Cluster Name' filter doesn't work. How do I set cluster name?
p
Hi Ryan, This issue has been reported internally. And we are working on it. For time-being, you may opt for including the following in your override values:
Copy code
presets:
  logsCollection:
    operators:
      - id: container-parser
        type: container
      - id: add-cluster-name
        type: add
        field: resource["k8s.cluster.name"]
        value: EXPR(env("K8S_CLUSTER_NAME"))
r
Thanks!