fluent-plugin-salesforce给出错误的错误参数(预期的uri对象或字符串)

时间:2019-01-03 05:24:01

标签: salesforce uri fluentd td-agent

我一直在尝试使用fluent-plugin-salesforce将salesforce与fluentd连接起来,但出现错误:

[错误]:#0意外错误error_class = ArgumentError错误=“错误的参数(预期的URI对象或URI字符串)”

我的配置文件是:

<source>
  @type http
  port 9880
</source>
<source>
  @type tail
  path Documents/trial/trial.log
  pos_file /var/log/td-agent/fluent/access1/one.pos
  tag myapp.access
  read_from_head true
  <parse>
    @type json
  </parse>
</source>
<source>
  @type tail
  path Documents/trial/trial2.log
  pos_file /var/log/td-agent/fluent/access3/two.pos
  tag test.bg
  read_from_head true
  <parse>
   @type json
  </parse>
</source>
<source>
  @type sforce
  username *****
  password *****
  query SELECT AccountId,Description FROM Contact
  tag test.bg
  polling_interval 20
</source>
<match myapp.access>
  @type file
  path /var/log/td-agent/fluent/access1
</match>
<match test.bg>
  @type file
  path /var/log/td-agent/fluent/access3
</match>

有人可以帮我解决这个问题吗?

0 个答案:

没有答案