Closed qaiofeng closed 5 years ago
[[outputs.http]] [[inputs ]] 我这儿这么配置呢
telegraf如何与LMQ连接,在配置文件中telegraf.conf如何配置?
json格式的数据
是的,阿里云的,
[[inputs.mqtt_consumer]] servers = ["http://"] topics = [to] connection_timeout = "30s" max_undelivered_messages = 1000 persistent_session = false client_id = "3" username = "" password = "" insecure_skip_verify =false data_format = "json" 这么配置对吗
配置了,telegraf会有社么显示
配置已经没问题了 但web页面并没有出现connection
在这个过程当中,我需要用到influxdb吗
[[outputs.http]] [[outputs.http]] url = "http://127.0.0.1:6020/telegraf/udb" method = "POST" username = "root" password = "taosdata" data_format = "json" json_timestamp_units = "1ms"
[agent] hostname = "gsl" metric_batch_size = 30 interval = "10s" debug = true omit_hostname = false
hostname 我怎么确定其唯一性,我的设备有好多
接下来我该怎么让数据接通呢,目前的话我没有收到mq传过来的数据
没有文件生成
加了
可以说下流程或代码吗