# AWS RDS slow query

**URL:** <https://discuss.elastic.co/t/aws-rds-slow-query/256053>\
**Category:** Metrics\
**Created:** [November 20, 2020, 1:01am UTC](https://discuss.elastic.co/t/aws-rds-slow-query/256053 "2020-11-20T01:01:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elkrocks](https://avatars.discourse-cdn.com/v4/letter/e/73ab20/32.png) [@elkrocks](https://discuss.elastic.co/u/elkrocks)\
**Post date:** [November 20, 2020, 1:01am UTC](https://discuss.elastic.co/t/aws-rds-slow-query/256053/1 "2020-11-20T01:01:22Z")

</div>

Is there a way to show the slow query on aws rds instance?

I know there is metricbeat modules for rds can you give me sample config for this.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Kerry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kerry/32/40330_2.png) [@Kerry](https://discuss.elastic.co/u/Kerry)\
**Post date:** [November 24, 2020, 4:22pm UTC](https://discuss.elastic.co/t/aws-rds-slow-query/256053/2 "2020-11-24T16:22:35Z")

</div>

Hi,

You could look at turning on the [Slow Log functionality](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-slowlog.html) to try and find slow queries. We also have an article [on fine tuning](https://www.elastic.co/blog/advanced-tuning-finding-and-fixing-slow-elasticsearch-queries) which might help.

You can find information on our [AWS Module here](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-aws.html#metricbeat-module-aws), including [RDS](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-aws.html#_rds).

[Here is a configuration example](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-aws-rds.html#_configuration_example_8) on the Metricset documentation.

---

<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 22, 2020, 4:22pm UTC](https://discuss.elastic.co/t/aws-rds-slow-query/256053/3 "2020-12-22T16:22:56Z")

</div>

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