2V0-32.24 Question 233
Select 3You are tasked with configuring a vRealize Log Insight Agent on a Linux-based web server to collect logs from a custom application. The logs are stored in '/var/log/custom-app/'. After installing the agent, you need to ensure that the agent is configured to forward logs from this directory to your vRealize Log Insight instance. What steps should you take?
- A
Edit the 'liagent.ini' file and specify the custom log directory under the [filelog] section.
- B
Ensure the vRealize Log Insight Agent service is running on the Linux server.
- C
Install the vRealize Log Insight Content Pack for your custom application.
- D
Restart the vRealize Log Insight Agent service after making configuration changes to 'liagent.ini'.
- E
Configure the custom log directory in the vRealize Log Insight web interface instead of editing the 'liagent.ini' file.
Show answer and explanation
Correct answers: A, B, D
Explanation
To forward logs from a custom application to vRealize Log Insight, you must configure the 'liagent.ini' file to include the custom log directory and ensure the agent service is running. Restarting the service after applying changes ensures the new configuration is applied. Content packs and web interface configurations are unrelated to this specific task.
- A. Correct.
Correct: To collect logs from a custom application, you need to edit the 'liagent.ini' file and specify the log path in the [filelog] section.
- B. Correct.
Correct: The vRealize Log Insight Agent service must be running on the server to collect and forward logs.
- C. Incorrect.
Incorrect: While content packs enhance log analysis, they are not required for configuring the agent to forward custom logs.
- D. Correct.
Correct: After making changes to the 'liagent.ini' file, restarting the agent service is necessary to apply the configuration updates.
- E. Incorrect.
Incorrect: The custom log directory must be configured in the 'liagent.ini' file, not the vRealize Log Insight web interface.