美文网首页
filebeat用法

filebeat用法

作者: _染123 | 来源:发表于2019-08-28 17:46 被阅读0次

https://blog.csdn.net/wangpei1949/article/details/81839830

filebeat.inputs:
- type: log
  paths:
    - /home/service/app/xxx-xxx-xxx-service/*/release/logs/login/xxx.log

  close_renamed: true
  scan_frequency: 3s
  close_inactive: 5m

output.logstash:
  hosts: ["10.11.188.40:5044","10.15.66.151:5044"]
  loadbalance: true


#================================ Logging =====================================
logging.to_files: true
logging.files:
  path: .
  name: filebeat
  interval: 24h
  keepfiles: 7
  permissions: 0644

相关文章

网友评论

      本文标题:filebeat用法

      本文链接:https://www.haomeiwen.com/subject/txvmectx.html