# Why is the postgresql ouput plugin missing from the docker container and can I add it?

**URL:** <https://community.influxdata.com/t/why-is-the-postgresql-ouput-plugin-missing-from-the-docker-container-and-can-i-add-it/25104>\
**Category:** Telegraf\
**Tags:** telegraf, outputs, docker, plugin\
**Created:** [May 19, 2022, 12:26pm UTC](https://community.influxdata.com/t/why-is-the-postgresql-ouput-plugin-missing-from-the-docker-container-and-can-i-add-it/25104 "2022-05-19T12:26:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oren\_Shani](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/oren_shani/32/10195_2.png) [@Oren\_Shani](https://community.influxdata.com/u/Oren_Shani)\
**Post date:** [May 19, 2022, 12:26pm UTC](https://community.influxdata.com/t/why-is-the-postgresql-ouput-plugin-missing-from-the-docker-container-and-can-i-add-it/25104/1 "2022-05-19T12:26:27Z")

</div>

Hi All,

I wanted to test using telegraf to write data streams into a postgresql db. I can see the plugin [in the git](https://github.com/influxdata/telegraf/tree/9a01472c1ff9b7d516ef18a10838108c20984f1e/plugins/outputs/postgresql), but it seems to be missing in the telegraf docker container. So am I missing something (maybe I am using the wrong container?), or maybe there is a way I can add the plugin (into the container or out side of it)?

Many thanks,

Oren

---

<div class="post-metadata">

**Author:** ![jpowers](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jpowers/32/8569_2.png) [@jpowers](https://community.influxdata.com/u/jpowers)\
**Post date:** [May 19, 2022, 1:22pm UTC](https://community.influxdata.com/t/why-is-the-postgresql-ouput-plugin-missing-from-the-docker-container-and-can-i-add-it/25104/2 "2022-05-19T13:22:06Z")

</div>

The [postgresql output](https://github.com/influxdata/telegraf/pull/8651) is not merged yet. It should be soon and once done you can get it as a part of our nightly builds until we release v1.23.0.

That link you have is to a different branch, not to master either.

---

<div class="post-metadata">

**Author:** ![Oren\_Shani](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/oren_shani/32/10195_2.png) [@Oren\_Shani](https://community.influxdata.com/u/Oren_Shani)\
**Post date:** [May 22, 2022, 8:00am UTC](https://community.influxdata.com/t/why-is-the-postgresql-ouput-plugin-missing-from-the-docker-container-and-can-i-add-it/25104/3 "2022-05-22T08:00:54Z")

</div>

Thank you jpowers,

BTW I found another container, telegraf-timescaledb that has the output plugin and seem to work OK

---

<div class="post-metadata">

**Author:** ![jpowers](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jpowers/32/8569_2.png) [@jpowers](https://community.influxdata.com/u/jpowers)\
**Post date:** [May 23, 2022, 1:38pm UTC](https://community.influxdata.com/t/why-is-the-postgresql-ouput-plugin-missing-from-the-docker-container-and-can-i-add-it/25104/4 "2022-05-23T13:38:40Z")

</div>

> [@Oren\_Shani](#):
>
> BTW I found another container, telegraf-timescaledb that has the output plugin and seem to work OK

Please be aware that we do not control, monitor for security updates, or update that container image.
