DevOps Tools Engineer (LPIC-OT 701) — Question 20

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?

Answer options

Correct answer: E

Explanation

The correct answer E is valid because creating a symbolic link to /dev/filebeat allows Filebeat to monitor the new log file directly. The other options either misconfigure Filebeat or do not properly link the log file to the Filebeat process, preventing the logs from being sent to Logstash.