首页 > 其他 > 详细

elk-filebeat-(效果图示)(四)

时间:2018-08-25 19:44:21      阅读:192      评论:0      收藏:0      [点我收藏+]

一、vim filebeat-6.3.2-linux-x86_64/filebeat.yml

- type: log

  # Change to true to enable this input configuration.
  #enabled: false 改为true才生效
  enabled: true

  # Paths that should be crawled and fetched. Glob based paths.
  paths:
    #- /var/log/*.log
    - /home/elk/nginx/logs/error.log
    #- c:\programdata\elasticsearch\logs\*    

启动filebeat

/home/elk/filebeat-6.3.2-linux-x86_64/filebeat &  

二、图示:

技术分享图片

技术分享图片

技术分享图片

技术分享图片

技术分享图片

elk-filebeat-(效果图示)(四)

原文:https://www.cnblogs.com/zhaojingyu/p/9534985.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!