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) Add an additional input channel with the option source => "/opt/app/log/info.log" to the Logstash configuration. 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. 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. 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. Add a new cron job that invokes filebeat -i /opt/app/log/info.log periodically.
E) Replace / opt/app/log/info.log by a symbolic link to / dev/filebeat and restart the new application. Replace / by a symbolic link to / dev/filebeat and restart the new application.
Correct Answer:
Verified
Q32: Which of the following properties apply to
Q33: Which of the following Ansible tasks copies
Q34: What must be the first line of
Q35: Which Ansible modules can be used to
Q36: An Ansible variable file contains the following
Q38: Which of the following goals are favored
Q39: How does Prometheus gather information about monitored
Q40: Which of the following sections must exist
Q41: Which section of the Prometheus configuration defines
Q42: Consider the following Kubernetes Deployment:
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents