Publishing data to existing InfluxDb with credentials #430
-
I would like to configure the influx publisher agent to publish data to an existing InfluxDb instance that requires credentials and I was unable to provide the credentials to the underlying API. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
Hi @mxturri. That's not currently supported in the agent, but could be added. Just to confirm, what version of InfluxDB are you running? (I'm also going to transfer this discussion to the ocs repo, which is where the code for the InfluxDB publisher agent is kept.) |
Beta Was this translation helpful? Give feedback.
-
Alright, this has been implemented in #432. You can now pass credentials via environment variable or file via:
Examples are updated in the agent docs. This new Docker image has the new feature in it: v0.11.3-29-g4f04551 EDIT: SSL support was also added, see #430 (reply in thread). |
Beta Was this translation helpful? Give feedback.
Alright, this has been implemented in #432. You can now pass credentials via environment variable or file via:
INFLUXDB_USERNAME
INFLUXDB_PASSWORD
or
INFLUXDB_USERNAME_FILE
INFLUXDB_PASSWORD_FILE
Examples are updated in the agent docs. This new Docker image has the new feature in it: v0.11.3-29-g4f04551
EDIT: SSL support was also added, see #430 (reply in thread).