fix variable in telegraf erb file, SC-2522

This commit is contained in:
Patrik Holmqvist 2025-03-26 09:39:56 +01:00
parent 40544384e9
commit 96f4dd3340
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273

View file

@ -1,5 +1,5 @@
[[outputs.influxdb_v2]] [[outputs.influxdb_v2]]
urls = [<%= @influxdb2_urls %>] urls = "<%= @influxdb2_urls %>"
token = <%= @influxdb2_token %> token = <%= @influxdb2_token %>
organization = <%= @influxdb2_org %> organization = <%= @influxdb2_org %>
bucket = <%= @influxdb2_bucket %> bucket = <%= @influxdb2_bucket %>
@ -7,7 +7,7 @@
[outputs.influxdb_v2.tagdrop] [outputs.influxdb_v2.tagdrop]
influxdb_database = ["*"] influxdb_database = ["*"]
[[outputs.influxdb_v2]] [[outputs.influxdb_v2]]
urls = [<%= @influx_urls %>] urls = "<%= @influx_urls %>"
token = <%= @influxdb2_token %> token = <%= @influxdb2_token %>
organization = <%= @influxdb2_org %> organization = <%= @influxdb2_org %>
bucket = <%= @INFLUXDB2_BUCKET_PROXY %> bucket = <%= @INFLUXDB2_BUCKET_PROXY %>