I have installed Logstash 6.6.1 in rhel 7, from RPM.
Now I have created a file under /etc/logstash/conf.d/apache.conf . This file keeps updating itself.
I ran following command to send logs to elasticsearch:
./logstash -f /etc/logstash/conf.d/apache.conf
It works fine, i can see the logs till command run time. However next time the file is updated, i don't see any changes in elasticsearch.
I have to run above command every time to see updated logs in elasticsearch.
Is there any way to automatic reload logstash, so that i can see updated logs?