Filebeat.yml and logstash.conf are not getting loaded automatically

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.

  1. filebeat.exe -c filebeat.yml -e -d "publish"

  2. Logstash.bat -f logstash.conf

FB and LS can work as services. If something is not OK, check logs.