Hello,
my filebeat doesnt seem to collect my logs (i have multiple source, and filebeat only capture the most bottom part. and adding file in the module.d doesnt capture either) theres nothing on the filebeat log
below is my configuration
filebeat.inputs:
- type: log
enabled: true
paths:
- '/log/path-1.log'
multiline:
pattern: '^\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}'
match: after
negate: true
processors:
- add_locale: ~
output.elasticsearch:
hosts: ["ip:9200"]
index: "no1"
pipeline: "no1-pipeline"
setup:
template.enabled: false
ilm.enabled: false
filebeat.inputs:
- type: log
enabled: true
paths:
- '/path/to.log2.log'
multiline:
pattern: '^\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}'
match: after
negate: true
processors:
- add_locale: ~
output.elasticsearch:
hosts: ["ip:9200"]
index: "no2"
pipeline: "no2-pipeline"
setup:
template.enabled: false
ilm.enabled: false
thanks