1.下载
wget https://grafanarel.s3.amazonaws.com/builds/grafana-4.1.1-1484211277.linux-x64.tar.gz

2.解压
tar -zxvf grafana-4.1.1-1484211277.linux-x64.tar.gz

3.配置文件
cd grafana-4.1.1-1484211277
cp conf/sample.ini conf/custom.ini
#  make changes to conf/custom.ini then start grafana-server

4.后台启动
./bin/grafana-server &

5.打开web
http://172.16.101.66:3000/   admin/admin

6.配置数据源influxdb
16【在线日志分析】之grafana-4.1.1 Install和新建日志分析的DashBoard

还要填写Database 为 online_log_analysis

7.IDEA本机运行OnLineLogAanlysis2.class,实时计算存储到influxdb
 
8.新建dashboard和 cdh_hdfs_warn曲线图
16【在线日志分析】之grafana-4.1.1 Install和新建日志分析的DashBoard


参考:
http://grafana.org/download/
http://docs.grafana.org/

 

相关文章:

  • 2021-04-02
  • 2021-09-21
  • 2021-06-13
  • 2021-04-23
  • 2022-12-23
  • 2021-12-24
猜你喜欢
  • 2021-07-20
  • 2021-12-12
  • 2021-07-03
  • 2021-10-13
相关资源
相似解决方案