17 lines
411 B
YAML
17 lines
411 B
YAML
[[outputs.influxdb_v2]]
|
|
urls = ["http://influxdb:8086"]
|
|
token = "aN63bJ-Y3ek0apvePvLayXNaiEiYtqGdZ-zYV6GtpoeEq_ko2DOsLoOEZzhkSsWDOHrzpaJedIHtxcjxIGExXw=="
|
|
organization = "portainer.io"
|
|
bucket = "telegraf"
|
|
|
|
|
|
[[outputs.file]]
|
|
files = ["stdout", "/tmp/metrics.out"]
|
|
|
|
[[inputs.mqtt_consumer]]
|
|
servers = ["tcp://mosquitto:1883"]
|
|
data_format = "value"
|
|
data_type = "float"
|
|
topics = [
|
|
"edge/#"
|
|
] |