Hello team,
Greeting,
I have a setup that will push the logs from filebeat to logstash to elastic.
Here is my filebeat configs
filebeat.inputs:
- type: log
enabled: true
paths:
- '/var/www/log/myapp.log'
close_renamed: true
processors:
- add_tags:
tags: [myapp]
target: "application"
logging.to_files: true
logging.level: debug
logging.files:
path: /var/log/filebeat
name: filebeat
rotateeverybytes: 104857600
keepfiles: 7
output.logstash:
hosts: ["XX1:5044", "XX2:5044", "XX3:5044"]
loadbalance: true
workers: 2
I see myapp logs are having the events but when I run Filebeat in debug mode i don't see anything related to the event that I see in logfile.
Am not sure what am missing at this point. Please help.