Fluentd+InfluxDB java日志收集系统搭建

 



  type influxdb
  dbname test
  flush_interval 10s
  host 192.168.200.11
  port 8086

这样会丢数据  

要加   time_precision ns

 

安装Fluentd

curl -L https://toolbelt.treasuredata.com/sh/install-redhat-td-agent3.sh | sh

td-agent-gem install fluent-plugin-influxdb

参考了https://www.cnblogs.com/silvermagic/p/7666314.html这篇文章

 

curl -L https://toolbelt.treasuredata.com/sh/install-redhat-td-agent2.sh | sh

更换成curl -L https://toolbelt.treasuredata.com/sh/install-redhat-td-agent3.sh | sh

你可能感兴趣的:(修电脑)