0

我正在尝试使用 fluentd (td-agent) 将系统日志存储在 influxdbv2 上。td-agent的配置是:

<match system.**>
    @type influxdb2                           
    url             http://influxdb:8086
    token           my_token
    bucket          bucket_name
    org             org_ID
    use_ssl         false
</match>

<source>
  @type syslog
  port 42185
  tag system
</source>

*.* @127.0.0.1:42185在 rsyslog.conf 文件中添加了。所有数据似乎都正确到达,但在 influxDB 中什么都没有。有谁知道可能是什么问题?

4

1 回答 1

0

我解决了这个问题,将字段的值orgorg_ID改为org_name

于 2021-11-25T09:22:35.257 回答