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

一、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 &  

二、图示:

posted @ 2018-08-25 18:42  随心朝阳  阅读(459)  评论(0)    收藏  举报