2024年11月在RedHat上安装Fluentd的步骤(2)

发布时间:

  ⑴-- :: +: fluent/supervisor.rb::supervise: starting fluentd-..

  ⑵-- :: +: fluent/supervisor.rb::read_config: reading config file path=“fluent.conf”

  ⑶-- :: +: fluent/plugin.rb::register_impl: registered buffer plugin ‘file’

  ⑷-- :: +: fluent/plugin.rb::register_impl: registered buffer plugin ‘memory’

  ⑸-- :: +: fluent/plugin.rb::register_impl: registered input plugin ‘debug_agent’

  ⑹-- :: +: fluent/plugin.rb::register_impl: registered input plugin ‘exec’

  ⑺-- :: +: fluent/plugin.rb::register_impl: registered input plugin ‘forward’

  ⑻-- :: +: fluent/plugin.rb::register_impl: registered input plugin ‘gc_stat’

  ⑼-- :: +: fluent/plugin.rb::register_impl: registered input plugin ‘http’

  ⑽-- :: +: fluent/plugin.rb::register_impl: registered input plugin ‘object_space’

  ⑾-- :: +: fluent/plugin.rb::register_impl: registered input plugin ‘status’

  ⑿-- :: +: fluent/plugin.rb::register_impl: registered input plugin ‘tcp’

  ⒀-- :: +: fluent/plugin.rb::register_impl: registered input plugin ‘unix’

  ⒁-- :: +: fluent/plugin.rb::register_impl: registered input plugin ‘syslog’

  ⒂-- :: +: fluent/plugin.rb::register_impl: registered input plugin ‘tail’

  ⒃-- :: +: fluent/plugin.rb::register_impl: registered output plugin ‘copy’

  ⒄-- :: +: fluent/plugin.rb::register_impl: registered output plugin ‘exec’

  ⒅-- :: +: fluent/plugin.rb::register_impl: registered output plugin ‘exec_filter’

  ⒆-- :: +: fluent/plugin.rb::register_impl: registered output plugin ‘file’

  ⒇-- :: +: fluent/plugin.rb::register_impl: registered output plugin ‘forward’

  ⒈-- :: +: fluent/plugin.rb::register_impl: registered output plugin ‘null’

  ⒉-- :: +: fluent/plugin.rb::register_impl: registered output plugin ‘roundrobin’

  ⒊-- :: +: fluent/plugin.rb::register_impl: registered output plugin ‘stdout’

  ⒋-- :: +: fluent/plugin.rb::register_impl: registered output plugin ‘tcp’

  ⒌-- :: +: fluent/plugin.rb::register_impl: registered output plugin ‘unix’

  ⒍-- :: +: fluent/plugin.rb::register_impl: registered output plugin ‘test’

  ⒎-- :: +: fluent/engine.rb::block in configure: adding source type=“forward”

  ⒏-- :: +: fluent/engine.rb::block in configure: adding source type=“http”

  ⒐-- :: +: fluent/engine.rb::block in configure: adding match pattern=“debug.**” type=“stdout”

  ⒑-- :: +: plugin/in_forward.rb::listen: listening fluent socket on ...:

  ⒒-- :: +: plugin/in_http.rb::start: listening http on ...:

  ⒓stat -na | grep

  ⒔tcp ...: ...:* LISTEN

  ⒕tcp ...: ...: TIME_WAIT

  ⒖udp ::: :::*

  ⒗unix [ ] DGRAM

  ⒘unix [ ] DGRAM

  ⒙unix [ ] DGRAM

  ⒚unix [ ] DGRAM

  ⒛echo ‘{“json”:“message”}’|fluent-cat debug.test

  ①-- :: +: plugin/in_forward.rb::initialize: aepted fluent socket object_id=

  ②-- :: + debug.test: {“json”:“message”}

  ③-- :: +: plugin/in_forward.rb::on_close: closed fluent socket object_id=

  ④至此安装全部完成。

  ⑤上面就是RedHat安装Fluentd的介绍了,安装的时候需要联网,采用的是在线安装,当然你也可以先安装ruby,不影响Fluentd的安装。