Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- filebeat:
- prospectors:
- -
- paths:
- - /usr/local/kong/logs/access.log
- - /usr/local/kong/logs/error.log
- - /usr/local/kong/logs/admin_access.log
- encoding: utf-8
- input_type: log
- fields:
- level: debug
- document_type: kong
- registry_file: /var/lib/filebeat/registry
- output:
- logstash:
- hosts: ["192.168.10.86:5044"]
- worker: 1
- bulk_max_size: 2048
- shipper:
- name: ctl_kong
- tags: ["kong"]
- logging:
- to_syslog: false
- to_files: true
- files:
- path: /var/log/filebeat
- name: filebeat
- rotateeverybytes: 1048576000 # = 1GB
- keepfiles: 7
- selectors: ["*"]
- level: info
- https://github.com/elastic/beats/blob/master/filebeat/filebeat.yml
- https://www.elastic.co/guide/en/beats/filebeat/current/elasticsearch-output.html
- https://www.elastic.co/guide/en/beats/filebeat/master/filebeat-template.html
- https://discuss.elastic.co/t/filebeat-index-issue-template-pattern-name/133738
- https://github.com/TrongTan124/ghi-chep-ELK-OPS/blob/master/tim-hieu-ve-beat.md
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement