You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

<<기본실행>>

$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

  • No labels