# Metricbeat AWS RDS Module for Aurora Serverless

**URL:** <https://discuss.elastic.co/t/metricbeat-aws-rds-module-for-aurora-serverless/203077>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [October 10, 2019, 5:37pm UTC](https://discuss.elastic.co/t/metricbeat-aws-rds-module-for-aurora-serverless/203077 "2019-10-10T17:37:19Z")\
**Posts on this page:** 7\
**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:** [October 10, 2019, 5:37pm UTC](https://discuss.elastic.co/t/metricbeat-aws-rds-module-for-aurora-serverless/203077/1 "2019-10-10T17:37:20Z")

</div>

Hi,

Are there plans to scrape metrics for aurora serverless databases?

Best, 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:** [October 18, 2019, 2:03pm UTC](https://discuss.elastic.co/t/metricbeat-aws-rds-module-for-aurora-serverless/203077/2 "2019-10-18T14:03:19Z")

</div>

Hi @justinw, sorry for the late response. Amazon Aurora sends monitoring metrics to Cloudwatch under AWS/RDS namespace based on [https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Monitoring.html](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Monitoring.html)

That means you can use aws module cloudwatch metricset in Metricbeat to scrape these metrics:

```auto
- module: aws
  period: 300s
  metricsets:
    - cloudwatch
  credential_profile_name: <your profile name>
  metrics:
    - namespace: AWS/RDS
      tags.resource_type_filter: rds
      statistic: ["Average"]

```

You can specify the statistic method you'd prefer and tags.resource\_type\_filter enables tag collection.

Please let me know if this helps. 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:** [October 18, 2019, 9:06pm UTC](https://discuss.elastic.co/t/metricbeat-aws-rds-module-for-aurora-serverless/203077/3 "2019-10-18T21:06:41Z")

</div>

Thanks @Kaiyan_Sheng for the response! That would work. Are there plans to integrate this into the RDS module for a higher period (better than 300s)? We'd like to create some alerts on these metrics too.

Best,  
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:** [October 18, 2019, 10:08pm UTC](https://discuss.elastic.co/t/metricbeat-aws-rds-module-for-aurora-serverless/203077/4 "2019-10-18T22:08:20Z")

</div>

I see some of the cloudwatch metrics for Amazon Aurora get reported every 5 minutes and some of them are reported every minute. Is that why you are looking for higher period? If that's the case, probably it's easier to use cloudwatch metricset for now to control the different collection period. For example, you can specify periods with a list of metric names:

```auto
- module: aws
  period: 60s
  metricsets:
    - cloudwatch
  credential_profile_name: <your profile name>
  metrics:
    - namespace: AWS/RDS
      tags.resource_type_filter: rds
      statistic: ["Average"]
      names: ["WriteIOPS", "ReadIOPS"]
- module: aws
  period: 300s
  metricsets:
    - cloudwatch
  credential_profile_name: <your profile name>
  metrics:
    - namespace: AWS/RDS
      tags.resource_type_filter: rds
      statistic: ["Average"]
      names: ["VolumeWriteIOPs", "VolumeReadIOPs"]

```

For adding support in RDS metricset, it should be a fairly easy task. I can create a github issue to track it and we can start from there 😄 But with the nature of RDS metricset, it won't have the capability/flexibility cloudwatch metricset has to specify metric names to collect for different frequency.

---

<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:** [October 18, 2019, 10:34pm UTC](https://discuss.elastic.co/t/metricbeat-aws-rds-module-for-aurora-serverless/203077/5 "2019-10-18T22:34:01Z")

</div>

I see. Thanks for the help! Let me know the ticket number so I can track there too 😄

Best, 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:** [October 18, 2019, 11:26pm UTC](https://discuss.elastic.co/t/metricbeat-aws-rds-module-for-aurora-serverless/203077/6 "2019-10-18T23:26:10Z")

</div>

Here it is: [https://github.com/elastic/beats/issues/14142](https://github.com/elastic/beats/issues/14142)  
Please feel free to add more info to the issue 👍

---

<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:** [November 15, 2019, 11:37pm UTC](https://discuss.elastic.co/t/metricbeat-aws-rds-module-for-aurora-serverless/203077/7 "2019-11-15T23:37:33Z")

</div>

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