When we starting the filebeat and logstash services through services.msc , filebeat.yml and logstash.conf is not getting loaded automatically. Everytime we need to load 2 files manually through command prompt using below command then only we are getting the very latest logs continuously till we close the command prompt.
-
filebeat.exe -c filebeat.yml -e -d "publish"
-
Logstash.bat -f logstash.conf