【问题标题】:Fluentd does'nt store data on influxdbv2Fluentd 不在 influxdbv2 上存储数据
【发布时间】:2021-12-23 22:07:29
【问题描述】:

我正在尝试使用 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>

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

【问题讨论】:

    标签: influxdb fluentd syslog rsyslog td-agent


    【解决方案1】:

    我修复了这个问题,将字段 org 的值从 org_ID 更改为 org_name

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-07-18
      • 2021-03-28
      • 1970-01-01
      • 2011-09-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多