# Add AWS EKS Cluster name dynamically to metrics/logs collection via fleet agent

**URL:** <https://discuss.elastic.co/t/add-aws-eks-cluster-name-dynamically-to-metrics-logs-collection-via-fleet-agent/326341>\
**Category:** Elastic Observability\
**Created:** [February 23, 2023, 3:41pm UTC](https://discuss.elastic.co/t/add-aws-eks-cluster-name-dynamically-to-metrics-logs-collection-via-fleet-agent/326341 "2023-02-23T15:41:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ekane\_bksy](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ekane\_bksy](https://discuss.elastic.co/u/ekane_bksy)\
**Post date:** [February 23, 2023, 3:41pm UTC](https://discuss.elastic.co/t/add-aws-eks-cluster-name-dynamically-to-metrics-logs-collection-via-fleet-agent/326341/1 "2023-02-23T15:41:04Z")

</div>

How to configure elastic-agent dynamically with AWS EKS cluster name to metrics and logs forwarded to ElasticCloud? Documentation details configuring ElasticCloud side with processor. What method can be used on agent-side to modify/add value orchestrator.cluster.name to data?
