Dears ,
-please check the below configuration for the filebeat as below -->
[root@nabilmohamed2c filebeat]# cat filebeat.yml
filebeat.prospectors:
- type: log
paths:- /var/log/logstash-tutorial.log
output.logstash:
hosts: ["localhost:5044"]
- /var/log/logstash-tutorial.log
-so how can i make the elasticsearch is automatically updated with the new data for "logstash-tutorial.log" automatically instead i manually put the new data every day at /var/log/logstash-tutorial.log ?
thanks ,