add pillar example for filebeat inputs/output

This commit is contained in:
m0duspwnens
2020-07-08 09:52:25 -04:00
parent 9c11de5455
commit 5f68542241

View File

@@ -0,0 +1,22 @@
filebeat:
config:
inputs:
- type: log
paths:
- /nsm/mylogdir/mylog.log
fields:
module: mymodule
dataset: mydataset
category: mycategory
processors:
- drop_fields:
fields: '["source", "prospector", "input", "offset", "beat"]'
fields_under_root: true
clean_removed: false
close_removed: false
output:
file:
path: "/tmp/filebeat"
filename: filebeat