Hi everybody,
we are migrating an environment with Influxdb 1.x to the newer Influxdb 2.7. The old environment sends data (through telegraf plugin) to Chronograf where we can check and analyze data on dashboards. We want to keep using Chronograf with the new version too. We configured Telegraf to make it work with the new influxdb by editing the inputs and outputs in telegraf.conf as below:
[[inputs.influxdb_v2_listener]]
## Address and port to host InfluxDB listener on
## (Double check the port. Could be 9999 if using OSS Beta)
service_address = “:8088”
# ## Maximum duration before timing out read of the request
read_timeout = “10s”
Maximum duration before timing out write of the response
write_timeout = “10s” # # ## Maximum allowed HTTP request body size in bytes.
0 means to use the default of 32MiB.
[[outputs.influxdb_v2]]
## The URLs of the InfluxDB cluster nodes.
## # ## Multiple URLs can be specified for a single cluster, only ONE of the
## urls will be written to each interval.
## ex: urls = [“https://us-west-2-1.aws.cloud2.influxdata.com”]
urls = [“http://127.0.0.1:8086”]
# ## Token for authentication.
token = “VnhbknSxw4tqBoEzy4SNe8fDpJRRmRz0-pgUy29dPq5gbn_qlboNZCfr5gHagZPfnm5ji2As2XXpqNY4K8Nd6Q==”
# ## Organization is the name of the organization you wish to write to.
organization = “alten-org-test”
# ## Destination bucket to write into.
bucket = “Telegraf-local”
In the Chronograf end we found two templates called “influxdb” and “system”. Only the second one works fine. Isn’t there a template that matches the influxdb2 parameters?
In the attachment you can find an example screen of the Influxdb template which is not working.
Thanks in advance.