How to index the data of file beat automatically

Dears ,

-please check the below configuration for the filebeat as below -->

[root@nabilmohamed2c filebeat]# cat filebeat.yml

  • type: log
    • /var/log/logstash-tutorial.log
      hosts: ["localhost:5044"]

-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 ,

Hi @Nabil_Mohamed, is your logstash module in filebeat enabled? More information can be found in for how to use filebeat to collect logstash logs.

thanks ,

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.