# Metricbeat duplicated data in elastic cloud

**URL:** <https://discuss.elastic.co/t/metricbeat-duplicated-data-in-elastic-cloud/283895>\
**Category:** Metrics\
**Created:** [September 10, 2021, 1:54pm UTC](https://discuss.elastic.co/t/metricbeat-duplicated-data-in-elastic-cloud/283895 "2021-09-10T13:54:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Misagh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/misagh/32/94421_2.png) [@Misagh](https://discuss.elastic.co/u/Misagh)\
**Post date:** [September 10, 2021, 1:54pm UTC](https://discuss.elastic.co/t/metricbeat-duplicated-data-in-elastic-cloud/283895/1 "2021-09-10T13:54:11Z")

</div>

Hi there,

I am using metricbeat to collect metrics from AWS cloudwatch and insert them into the elastic cloud environment. it works fine but there is an issue that I couldn't solve. there are duplicated data for one namespace and dimension. here is the configuration file

```auto
- module: aws
  period: 300s
  metricsets:
    - cloudwatch
  metrics:
    - namespace: AWS/ApiGateway
      name: ["4XXError", "5XXError", "Count", "CacheHitCount", "CacheMissCount", "Latency", "IntegrationLatency"]
      statistics: ["Sum", "SampleCount", "Average"]

```

and this is an image that shows the duplicated data on kibana

 ![Screenshot from 2021-09-10 15-49-37](https://us1.discourse-cdn.com/elastic/original/3X/9/4/946f1373b05f009f239545b78f8764822253a445.png)

As you can see in the image, for the same dimension there are two similar metrics at the same time. I tried to change the configuration and also time period but no success to sort it out. I would be grateful if you could share your idea.

Thanks

---

<div class="post-metadata">

**Author:** ![simianhacker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simianhacker/32/3383_2.png) [@simianhacker](https://discuss.elastic.co/u/simianhacker)\
**Post date:** [September 27, 2021, 7:04pm UTC](https://discuss.elastic.co/t/metricbeat-duplicated-data-in-elastic-cloud/283895/2 "2021-09-27T19:04:34Z")

</div>

Is every field in the JSON an exact duplicate?

---

<div class="post-metadata">

**Author:** ![Misagh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/misagh/32/94421_2.png) [@Misagh](https://discuss.elastic.co/u/Misagh)\
**Post date:** [September 29, 2021, 10:54am UTC](https://discuss.elastic.co/t/metricbeat-duplicated-data-in-elastic-cloud/283895/3 "2021-09-29T10:54:32Z")

</div>

Yes, exactly the same data. I should mention that I deployed the metricbeat on an AWS ECS cluster.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 27, 2021, 10:54am UTC](https://discuss.elastic.co/t/metricbeat-duplicated-data-in-elastic-cloud/283895/4 "2021-10-27T10:54:44Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
