q789321 发表于 2019-1-28 10:29:30

ELK 实验(五)配置数据源和仪表盘

http://i2.运维网.com/images/blog/201804/18/3e9612ed4ab5106cfb285ad966e78824.jpg
http://i2.运维网.com/images/blog/201804/18/3e1c0f5fdd0f269a108c6a238db65482.jpg
  下载metric beat
  sudo wget https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-6.2.4-x86_64.rpm
  sudo rpm -ivh metricbeat-6.2.4-x86_64.rpm
  编辑metric 配置,指向kibana和es的地址
  vi /etc/metricbeat/metricbeat.yml
  setup.kibana:
  host: "192.168.209.160:5601"
  output.elasticsearch:
  hosts: "192.168.209.160:9200"
  启动下
  sudo metricbeat setup sudo service metricbeat start
  logstash日志已经打印出来了
http://i2.运维网.com/images/blog/201804/18/5ca9433fec3fe07bd1b9b85c33be4061.jpg
  kibana编辑下数据索引
http://i2.运维网.com/images/blog/201804/18/c335f0c577ad99667fdda076ae2cc50a.jpg
http://i2.运维网.com/images/blog/201804/18/80ba13e3c2ebec417e65374978822959.jpg
  以时间过滤排序
http://i2.运维网.com/images/blog/201804/18/85daf6b705193ff0da928ac58a646393.jpg
http://i2.运维网.com/images/blog/201804/18/760298ca910a4f65932f0a3288e48d79.jpg
  可以在左侧编辑数据和可视化界面以及仪表盘了
http://i2.运维网.com/images/blog/201804/18/cc5aeb770dcc6cbd0d96705439984628.jpg
http://i2.运维网.com/images/blog/201804/18/22bded3a60bdf2240485b05a30420673.jpg
  在console随意输入些数据
http://i2.运维网.com/images/blog/201804/18/74bb4a83dc7a4db8949336773b2d3711.jpg
  仪表盘也会更新



页: [1]
查看完整版本: ELK 实验(五)配置数据源和仪表盘