# Metrics on specific region

**URL:** <https://discuss.elastic.co/t/metrics-on-specific-region/214371>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [January 9, 2020, 8:34am UTC](https://discuss.elastic.co/t/metrics-on-specific-region/214371 "2020-01-09T08:34:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samerd](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@Samerd](https://discuss.elastic.co/u/Samerd)\
**Post date:** [January 9, 2020, 8:34am UTC](https://discuss.elastic.co/t/metrics-on-specific-region/214371/1 "2020-01-09T08:34:50Z")

</div>

Hi ,

I'm trying to choose specific region to specify the instances which includes in the chosen region only .

i used this section , but it doesn't work:

```
 - module: aws
     period: 10s
     metricsets:
          - ec2
    default_region: eu-central-1
    regions:
          - eu-central-1

```

thanks

---

<div class="post-metadata">

**Author:** ![Kaiyan\_Sheng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaiyan_sheng/32/38247_2.png) [@Kaiyan\_Sheng](https://discuss.elastic.co/u/Kaiyan_Sheng)\
**Post date:** [January 22, 2020, 11:06pm UTC](https://discuss.elastic.co/t/metrics-on-specific-region/214371/2 "2020-01-22T23:06:27Z")

</div>

Hi @Samerd, sorry I missed this question. Do you still have this issue? What Metricbeat version are you using?  
The config below with `regions` config option should do what you need:

```auto
- module: aws
  period: 10s
  metricsets:
    - ec2
  regions:
    - eu-central-1

```

Do you see metrics coming into Elasticsearch from all AWS regions or just no data showed up at all?

---

<div class="post-metadata">

**Author:** ![Samerd](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@Samerd](https://discuss.elastic.co/u/Samerd)\
**Post date:** [February 12, 2020, 12:05pm UTC](https://discuss.elastic.co/t/metrics-on-specific-region/214371/3 "2020-02-12T12:05:00Z")

</div>

i was with old version, thanks

---

<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:** [March 11, 2020, 12:05pm UTC](https://discuss.elastic.co/t/metrics-on-specific-region/214371/4 "2020-03-11T12:05:01Z")

</div>

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