A recently installed application writes log data to /opt/app/log/info.log. If Filebeat is already installed and set up for communication with a remote Logstash, what has to be done in order to submit the log data of the new application to Logstash?
A recently installed application writes log data to /opt/app/log/info.log. If Filebeat is already installed and set up for communication with a remote Logstash, what has to be done in order to submit the log data of the new application to Logstash?
Filebeat is designed to collect and ship log data to a remote server, such as Logstash. To include a new log file, one needs to update the Filebeat configuration. Specifically, adding the new log file to the path option within the log prospector in the Filebeat configuration ensures that Filebeat monitors the new log file. After updating the configuration, restarting Filebeat will apply the changes and start monitoring the new log file for any log data to send to Logstash.
The correct answer is C see: https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-configuration.html
https://www.elastic.co/guide/en/beats/filebeat/6.8/filebeat-configuration.html C is correct