# Metricbeat PostgreSQL module missing Database Name

**URL:** <https://discuss.elastic.co/t/metricbeat-postgresql-module-missing-database-name/315881>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [October 5, 2022, 1:09pm UTC](https://discuss.elastic.co/t/metricbeat-postgresql-module-missing-database-name/315881 "2022-10-05T13:09:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![robdiluca](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robdiluca/32/98729_2.png) [@robdiluca](https://discuss.elastic.co/u/robdiluca)\
**Post date:** [October 5, 2022, 1:09pm UTC](https://discuss.elastic.co/t/metricbeat-postgresql-module-missing-database-name/315881/1 "2022-10-05T13:09:41Z")

</div>

Hi all,

I'm using the Metricbeat PostgreSQL module and the related default Kibana Dashboard. However, when activating the "statement" metricset, I noticed the documents it produce do not contain the field "postgresql.database.name" or another field indicating the name of the database the statement comes from. So, when I select a specific database to inspect its latencies or top queries, the dashboard does not show any data, as illustrated in the picture below.

 ![database filter](https://us1.discourse-cdn.com/elastic/original/3X/9/c/9c4edc0953d177b996df4478d157ce15e5f75ba9.png)

Do you have any solutions to solve this problem?

Thank you,  
Roberto

---

<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 2, 2022, 3:09pm UTC](https://discuss.elastic.co/t/metricbeat-postgresql-module-missing-database-name/315881/2 "2022-11-02T15:09:53Z")

</div>

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