系統(tǒng)之家 - 系統(tǒng)光盤下載網(wǎng)站!

當(dāng)前位置:系統(tǒng)之家 > 系統(tǒng)教程 > RedHat安裝Fluentd

在RedHat上安裝Fluentd的步驟(2)

時(shí)間:2015-04-16 17:16:27 作者:qipeng 來源:系統(tǒng)之家 1. 掃描二維碼隨時(shí)看資訊 2. 請使用手機(jī)瀏覽器訪問: https://m.xitongzhijia.net/xtjc/20150416/45649.html 手機(jī)查看 評論

  輸出

  2012-09-27 17:45:16 +0800: fluent/supervisor.rb:153:supervise: starting fluentd-0.10.26

  2012-09-27 17:45:16 +0800: fluent/supervisor.rb:235:read_config: reading config file path=“fluent.conf”

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered buffer plugin ‘file’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered buffer plugin ‘memory’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered input plugin ‘debug_agent’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered input plugin ‘exec’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered input plugin ‘forward’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered input plugin ‘gc_stat’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered input plugin ‘http’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered input plugin ‘object_space’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered input plugin ‘status’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered input plugin ‘tcp’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered input plugin ‘unix’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered input plugin ‘syslog’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered input plugin ‘tail’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered output plugin ‘copy’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered output plugin ‘exec’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered output plugin ‘exec_filter’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered output plugin ‘file’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered output plugin ‘forward’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered output plugin ‘null’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered output plugin ‘roundrobin’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered output plugin ‘stdout’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered output plugin ‘tcp’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered output plugin ‘unix’

  2012-09-27 17:45:16 +0800: fluent/plugin.rb:89:register_impl: registered output plugin ‘test’

  2012-09-27 17:45:16 +0800: fluent/engine.rb:65:block in configure: adding source type=“forward”

  2012-09-27 17:45:16 +0800: fluent/engine.rb:65:block in configure: adding source type=“http”

  2012-09-27 17:45:16 +0800: fluent/engine.rb:81:block in configure: adding match pattern=“debug.**” type=“stdout”

  2012-09-27 17:45:16 +0800: plugin/in_forward.rb:61:listen: listening fluent socket on 0.0.0.0:24224

  2012-09-27 17:45:16 +0800: plugin/in_http.rb:74:start: listening http on 0.0.0.0:8888

  驗(yàn)證監(jiān)聽端口

  netstat -na | grep 88

  tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN

  tcp 0 0 127.0.0.1:48241 127.0.0.1:8888 TIME_WAIT

  udp 0 0 :::58872 :::*

  unix 2 [ ] DGRAM 9880

  unix 2 [ ] DGRAM 8859

  unix 2 [ ] DGRAM 8846

  unix 2 [ ] DGRAM 8806

  發(fā)送數(shù)據(jù)驗(yàn)證

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

  得到輸出

  2012-09-27 17:45:32 +0800: plugin/in_forward.rb:140:initialize: accepted fluent socket object_id=95324080

  2012-09-27 17:45:32 +0800 debug.test: {“json”:“message”}

  2012-09-27 17:45:32 +0800: plugin/in_forward.rb:181:on_close: closed fluent socket object_id=95324080

  至此安裝全部完成。

  上面就是RedHat安裝Fluentd的介紹了,安裝的時(shí)候需要聯(lián)網(wǎng),采用的是在線安裝,當(dāng)然你也可以先安裝ruby,不影響Fluentd的安裝。

標(biāo)簽 RedHat

發(fā)表評論

0

沒有更多評論了

評論就這些咯,讓大家也知道你的獨(dú)特見解

立即評論

以上留言僅代表用戶個(gè)人觀點(diǎn),不代表系統(tǒng)之家立場

其他版本軟件

熱門教程

人氣教程排行

Linux系統(tǒng)推薦

掃碼關(guān)注
掃碼關(guān)注

掃碼關(guān)注 官方交流群 軟件收錄