# AWS RDS Metricset whitelist by database name and/or tags

**URL:** <https://discuss.elastic.co/t/aws-rds-metricset-whitelist-by-database-name-and-or-tags/207796>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [November 14, 2019, 1:32am UTC](https://discuss.elastic.co/t/aws-rds-metricset-whitelist-by-database-name-and-or-tags/207796 "2019-11-14T01:32:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![justinw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/justinw/32/40277_2.png) [@justinw](https://discuss.elastic.co/u/justinw)\
**Post date:** [November 14, 2019, 1:32am UTC](https://discuss.elastic.co/t/aws-rds-metricset-whitelist-by-database-name-and-or-tags/207796/1 "2019-11-14T01:32:10Z")

</div>

Hi,

Is there the option to whitelist which databases metricbeat pulls metrics for?

Looking at [https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-aws-rds.html](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-aws-rds.html) it's not clear if there are additional configs to specify.

Thank you!  
Justin

---

<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:** [November 14, 2019, 2:29pm UTC](https://discuss.elastic.co/t/aws-rds-metricset-whitelist-by-database-name-and-or-tags/207796/2 "2019-11-14T14:29:14Z")

</div>

Hi @justinw, great question. Unfortunately we don't have whitelist for choosing database at this point. Also I have an issue open to add more support in RDS metricset: [https://github.com/elastic/beats/issues/14142](https://github.com/elastic/beats/issues/14142)

One workaround would be to use `cloudwatch` metricset with specific metric names specified:

```auto
- module: aws
  period: 300s
  metricsets:
    - cloudwatch
  metrics:
    - namespace: AWS/RDS
      name: ["AuroraGlobalDBReplicatedWriteIO", "AuroraGlobalDBDataTransferBytes", ......]
      tags.resource_type_filter: rds
      statistic: ["Average", "Maximum"]

```

Your whitelist idea is great! I should put that into consideration when expanding rds metricset. Thanks!

---

<div class="post-metadata">

**Author:** ![justinw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/justinw/32/40277_2.png) [@justinw](https://discuss.elastic.co/u/justinw)\
**Post date:** [November 14, 2019, 8:53pm UTC](https://discuss.elastic.co/t/aws-rds-metricset-whitelist-by-database-name-and-or-tags/207796/3 "2019-11-14T20:53:34Z")

</div>

Thanks @Kaiyan_Sheng. This would be a great feature as it will help reduce costs for databases we don't want high fidelity monitoring for. I'll comment on the issue too.

Best, Justin

---

<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:** [December 12, 2019, 8:53pm UTC](https://discuss.elastic.co/t/aws-rds-metricset-whitelist-by-database-name-and-or-tags/207796/4 "2019-12-12T20:53:35Z")

</div>

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