<<기본실행>>
$filebeat -c filebeat.yml
<<config file 구조>>
filebeat.prospectors:
inout_type: log
paths:
- /var/log/accesslogs
-/var/log/*.log
output.file:
path: "/home/filebeat"
filename: filebeat
processors:
- drop_fields:
when: condition
fields: ["field1", "field2", ...]
<<config test>>
$filebeat -c filebeat.yml -configtest
0 Comments