# Fetch data using Query from Mongo DB and AWS RDS

**URL:** <https://community.dynatrace.com/t/fetch-data-using-query-from-mongo-db-and-aws-rds/43320>\
**Category:** Open Q&A\
**Tags:** databases, aws, mongodb\
**Created:** [December 20, 2023, 5:44pm UTC](https://community.dynatrace.com/t/fetch-data-using-query-from-mongo-db-and-aws-rds/43320 "2023-12-20T17:44:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Munzir](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@Munzir](https://community.dynatrace.com/u/Munzir)\
**Post date:** [December 20, 2023, 5:44pm UTC](https://community.dynatrace.com/t/fetch-data-using-query-from-mongo-db-and-aws-rds/43320/1 "2023-12-20T17:44:47Z")

</div>

Hello there,

We are working in a Managed Environment and have a requirement where we have to fetch data from the MongoDB and AWS RDS using queries. For this requirement, which extension will be used?

And can we create a metric using the queries to fetch data and populate it real-time in the dashboard?

MongoDB is an on-Prem DB where we have OneAgent installed in Infra mode, whereas we are using AWS integration for AWS.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [December 21, 2023, 7:31am UTC](https://community.dynatrace.com/t/fetch-data-using-query-from-mongo-db-and-aws-rds/43320/2 "2023-12-21T07:31:59Z")

</div>

Hi,

You can check:

- [MongoDB](https://www.dynatrace.com/news/blog/enhanced-mongodb-monitoring-beta/).
- [AWS RDS](https://docs.dynatrace.com/docs/shortlink/rds-builtin).

Best regards
