LPI 701-100 Exam - Topic 2 Question 9 Discussion
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?
E) Replace /opt/app/log/info.log by a symbolic link to /dev/filebeat and restart the new application.
A) Add an additional input channel with the option source => ''/opt/app/log/info.log'' to the Logstash configuration.
B) Configure logrotate to execute filebeat --I /opt/app/log/info.log 0 after each rotation of /opt/app/log/info.log.
C) Add the log file to the path option within the log prospector in the Filebeat configuration and restart Filebeat.
D) Add a new cron job that invokes filebeat --i /opt/app/log/info.log periodically.
Jannette
8 months agoNakisha
9 months agoViola
9 months agoPura
9 months agoMarnie
9 months agoLeslie
9 months agoMammie
9 months agoArlyne
9 months agoHayley
9 months agoLeonardo
9 months agoTrinidad
9 months agoKimi
9 months agoQuinn
9 months agoNaomi
10 months ago