hello.
I wanted to analyze log informatins in real time by receiving them from the Wi-Fi terminal. so I used rsyslog to get logs and saved them as /var/log/remote.log.
filebeat.yml
filebeat.inputs:
- type: log
enabled: true
paths:- /var/log/remote.log
output.logstash:
hosts: ["localhost:5043"]
- /var/log/remote.log
logstash.conf
input {
beats {
port => "5043"
}
}
It is working. however there are two problems.
- The value does not come in real time.
- I set the path to /var/log/remote.log but the /var/log/syslog, /var/log/syslog3, /var/log/syslog4 logs are also included.
What should i do?