User and password in telegraf.conf

hi guys,
telegraf agent has been installed on one server in order to collect cpu data and send them to an Influxdb installed as test.
Now we will have another Influxdb as prod.
for this connection we will use user and password.
For the first time telegraf should send the data to both Influxdb
Is it possible to configure telegraf, that it is using conenction without user and password and a connection with user and password.

best regards


Hello @Connz21,
Sure you can include multiple output configurations. One with the password and one without. Let me know how that works for you and if you have any trouble.
Here is the configuration for reference