流利:如何解决流畅的前向插件错误?

时间:2017-10-26 08:21:52

标签: fluentd

我正在尝试使用流利的方式将日志从一台服务器(A)传输到另一台服务器(B)。 我在A中使用forward_output插件并在B中使用正向输入服务器,但我遇到了错误。

2017-10-26 16:59:27 +0900 [warn]: #0 [forward_output] detached forwarding server 'boxil-log' host="xxx.xxx.xxx.xxx" port=24224 hard_timeout=true

2017-10-26 17:00:43 +0900 [warn]: #0 [forward_output] failed to flush the buffer. retry_time=0 next_retry_seconds=2017-10-26 17:00:44 +0900 chunk="55c6e86321afbab5bed145d53e679865" error_class=Errno::ETIMEDOUT error="Connection timed out - connect(2) for \"xxx.xxx.xxx.xxx\" port 24224"

2017-10-26 17:01:42 +0900 [warn]: #0 [forward_output] failed to flush the buffer. retry_time=6 next_retry_seconds=2017-10-26 17:01:42 +0900 chunk="55c6e86321afbab5bed145d53e679865" error_class=Fluent::Plugin::ForwardOutput::NoNodesAvailable error="no nodes are available"

这是A。

中的输出代码
<match system.*.*>
  @type forward
  @id forward_output

  <server>
    name boxil-log
    host xxx.xxx.xxx.xxx
    port 24224
  </server>
</match>

这是B中输入的代码。

<source>
  @type forward
  @id forward_input
</source>

我想知道这个错误的含义,我得到这个的原因以及解决这个问题的方法。 谢谢。

0 个答案:

没有答案
相关问题