Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@controller1:/etc/filebeat# cat filebeat.yml |egrep -v "^$|^#|^ #|^ #|^ #|^ #"
- filebeat:
- prospectors:
- -
- paths:
- - /var/log/neutron/*.log
- encoding: utf-8
- input_type: log
- fields:
- level: debug
- document_type: neutron
- registry_file: /var/lib/filebeat/registry
- output:
- logstash:
- hosts: ["172.16.69.90:5044"]
- worker: 1
- bulk_max_size: 2048
- tls:
- certificate_authorities: ["/etc/pki/tls/certs/logstash-forwarder.crt"]
- shipper:
- name: ctl_neutron
- tags: ["neutron"]
- logging:
- to_syslog: false
- to_files: true
- files:
- path: /var/log/myfilebeat
- name: myfilebeat
- rotateeverybytes: 1048576000 # = 1GB
- keepfiles: 7
- selectors: ["*"]
- level: info
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement