<p>I'm using the DataDog Helm chart to install the DataDog agent on my EKS Kubernetes clusters (<a href="https://github.com/helm/charts/tree/master/stable/datadog" rel="nofollow noreferrer">https://github.com/helm/charts/tree/master/stable/datadog</a>). The problem I'm having now is that I am not able to filter logs by cluster name. I have also set the <code>DD_CLUSTER_NAME</code> environment variable but it does not seem to do anything.</p>

<p>I have set the following in my values.yml file:</p>

<pre><code>datadog:
  site: datadoghq.com
  logLevel: ERROR

  logsEnabled: true
  logsConfigContainerCollectAll: true
  processAgentEnabled: true
  apmEnabled: true
  nonLocalTraffic: true
  leaderElection: true
  collectEvents: true

  resources:
    requests:
      cpu: 100m
      memory: 100Mi
    limits:
      cpu: 500m
      memory: 500Mi

  nodeLabelsAsTags:
    beta.kubernetes.io/instance-type: aws_instance_type
    kubernetes.io/role: kube_role
  podAnnotationsAsTags:
    iam.amazonaws.com/role: kube_iamrole
  podLabelsAsTags:
    app: kube_app
    release: helm_release

clusterAgent:
  enabled: true
</code></pre>

Mikhail Janowski
<p>I believe you are looking for <code>clusterName</code>:
<a href="https://github.com/helm/charts/blob/master/stable/datadog/values.yaml#L75" rel="noreferrer">https://github.com/helm/charts/blob/master/stable/datadog/values.yaml#L75</a></p>

<p>You can add it in your <code>values.yaml</code> under the <code>datadog</code> section like this:</p>

<pre><code>datadog:
  clusterName: myexamplename
</code></pre>
