# Permissions for postgres / metricbeat account?

**URL:** https://discuss.elastic.co/t/permissions-for-postgres-metricbeat-account/182764
**Category:** Beats
**Tags:** metricbeat
**Created:** [May 25, 2019, 3:21pm UTC](https://discuss.elastic.co/t/permissions-for-postgres-metricbeat-account/182764 "2019-05-25T15:21:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ethrbunny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ethrbunny/32/34603_2.png) [@ethrbunny](https://discuss.elastic.co/u/ethrbunny)
#### Post date: [May 25, 2019, 3:21pm UTC](https://discuss.elastic.co/t/permissions-for-postgres-metricbeat-account/182764/1 "2019-05-25T15:21:55Z")

</div>

I'd like to monitor postgresql using the metricbeat module. To this end I want to use a separate psql account from any other logins.

What permissions does this account need?

---

<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: [May 28, 2019, 3:17pm UTC](https://discuss.elastic.co/t/permissions-for-postgres-metricbeat-account/182764/2 "2019-05-28T15:17:40Z")

</div>

By looking at [https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-postgresql.html#\_example\_configuration\_30](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-postgresql.html#_example_configuration_30), you will need to specify hosts and then if you have username/password to connect to postgres, then specify those in metricbeat postgresql configuration as well. Is that what you are looking for?

---

<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: [June 25, 2019, 3:17pm UTC](https://discuss.elastic.co/t/permissions-for-postgres-metricbeat-account/182764/3 "2019-06-25T15:17:41Z")

</div>

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