# Postgres integration Fleet

**URL:** https://discuss.elastic.co/t/postgres-integration-fleet/317649
**Category:** Beats
**Tags:** fleet
**Created:** [October 27, 2022, 9:24pm UTC](https://discuss.elastic.co/t/postgres-integration-fleet/317649 "2022-10-27T21:24:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Gaston\_Beltramelli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gaston_beltramelli/32/112623_2.png) [@Gaston\_Beltramelli](https://discuss.elastic.co/u/Gaston_Beltramelli)
#### Post date: [October 27, 2022, 9:24pm UTC](https://discuss.elastic.co/t/postgres-integration-fleet/317649/1 "2022-10-27T21:24:03Z")

</div>

Hello!  
I'm trying to install the Postgres integration to get metrics via Fleet,  
but when I get to the configuration I don't have the option to add the database from the UI, no matter how I add the database in the connection string I always get errors.  
does anyone know how to configure it?

 ![postgres](https://us1.discourse-cdn.com/elastic/original/3X/d/e/defad39e68e65343280135c119d84b5e131f18ee.png)

in this second image in the server the user appear as the database but i´ve never add that config.

 ![log](https://us1.discourse-cdn.com/elastic/original/3X/8/3/832fd946d5c7a2e22691ff8a1984b1251db7f6a6.png)

---

<div class="post-metadata">

### Author: ![Julia\_Bardi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/julia_bardi/32/79463_2.png) [@Julia\_Bardi](https://discuss.elastic.co/u/Julia_Bardi)
#### Post date: [November 22, 2022, 10:12am UTC](https://discuss.elastic.co/t/postgres-integration-fleet/317649/2 "2022-11-22T10:12:33Z")

</div>

I don't see a config for database name either, can you try setting the database in the host url?  
`postgres://host:port/YourDatabaseName`

---

<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 20, 2022, 12:12pm UTC](https://discuss.elastic.co/t/postgres-integration-fleet/317649/3 "2022-12-20T12:12:37Z")

</div>

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