# Possibility to visualize data in postgress by querying

**URL:** <https://community.dynatrace.com/t/possibility-to-visualize-data-in-postgress-by-querying/39686>\
**Category:** Open Q&A\
**Tags:** databases, postgresql\
**Created:** [May 11, 2023, 11:09am UTC](https://community.dynatrace.com/t/possibility-to-visualize-data-in-postgress-by-querying/39686 "2023-05-11T11:09:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jomon](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@Jomon](https://community.dynatrace.com/u/Jomon)\
**Post date:** [May 11, 2023, 11:09am UTC](https://community.dynatrace.com/t/possibility-to-visualize-data-in-postgress-by-querying/39686/1 "2023-05-11T11:09:15Z")

</div>

Hi i am new to dynatrace. Actually I was using grafana before for monitoring purposes. In dynatrace is there is any option to view data from a postgres table by using sql queries. As of now i could able to find the performance metrices of postgres

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [May 11, 2023, 2:18pm UTC](https://community.dynatrace.com/t/possibility-to-visualize-data-in-postgress-by-querying/39686/2 "2023-05-11T14:18:46Z")

</div>

Hi!

welcome to Dynatrace 🙂 Sure there are options for both.

For metrics - just use this extension 2.0 -&nbsp;[https://www.dynatrace.com/hub/detail/postgresdb-remote-monitoring/](https://www.dynatrace.com/hub/detail/postgresdb-remote-monitoring/)  
For data collected using queries defined by you, you can use this extension&nbsp;[https://www.dynatrace.com/hub/detail/custom-database-queries/](https://www.dynatrace.com/hub/detail/custom-database-queries/)&nbsp;or you can create your own Extension 2.0 using the Postgres SQL data source - see more here&nbsp;[Extensions — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/extensions20)

---

<div class="post-metadata">

**Author:** ![Jomon](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@Jomon](https://community.dynatrace.com/u/Jomon)\
**Post date:** [May 16, 2023, 7:45am UTC](https://community.dynatrace.com/t/possibility-to-visualize-data-in-postgress-by-querying/39686/3 "2023-05-16T07:45:09Z")

</div>

![Jomon_0-1684222965029.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/0/70d546e0907b9a66efead4e9a7333be5ad0ef6d8.png)

I have received the above error while establishing the postgres connection. What could be the reason? The Dynatrace Token which i have provided is taken from the ‘Access token’ tab from settings and with API v2 scope type.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [July 15, 2023, 4:31pm UTC](https://community.dynatrace.com/t/possibility-to-visualize-data-in-postgress-by-querying/39686/4 "2023-07-15T16:31:42Z")

</div>

Please check the log files on the activegate. Did you also unzip the extension on the activegate?
