没有这样的文件或目录@ rb_sysopen-in_http.conf

时间:2019-07-29 06:34:42

标签: fluentd

我正在尝试流利的教程https://docs.fluentd.org/quickstart/life-of-a-fluentd-event

我有一个td代理1.4.2。 因为我找不到他们告诉我要遵循的bin / fluented

$ bin/fluentd -c in_http.conf
2015-01-19 12:37:41 -0600 [info]: reading config file path="in_http.conf"
2015-01-19 12:37:41 -0600 [info]: starting fluentd-0.12.3
2015-01-19 12:37:41 -0600 [info]: using configuration file: <ROOT>
  <source>
    @type http
    bind 0.0.0.0
    port 8888
  </source>
  <match test.cycle>
    @type stdout
  </match>
</ROOT>
2015-01-19 12:37:41 -0600 [info]: adding match pattern="test.cycle" type="stdout"
2015-01-19 12:37:41 -0600 [info]: adding source type="http"
2015-01-19 12:39:57 -0600 test.cycle: {"action":"login","user":2}

我用过 /opt/td-agent/embedded/bin/fluentd -c in_http.conf 这给了我一个错误

** / opt / td-agent / embedded / lib / ruby​​ / gems / 2.4.0 / gems / fluentd-1.4.2 / lib / fluent / supervisor.rb:766:in'initialize':无此文件或ddirectory @ rb_sysopen -i_http.conf(Errno :: ENOENT)

我错用了流利的里面 /opt/td-agent/embedded/bin/fluentd

或者我犯了一些错误?谢谢。

0 个答案:

没有答案