2V0-32.24 Question 234
Select 3Your organization recently deployed VMware vRealize Log Insight and you have been tasked with configuring Log Insight Agents on multiple Linux-based servers to collect application logs. After deploying the agent, you need to ensure it is configured to collect custom application logs from the '/var/log/app/custom.log' file. Which of the following steps must you take to correctly configure the Log Insight Agent for this task?
- A
Edit the 'liagent.ini' file to define a new filelog section with the path to '/var/log/app/custom.log'.
- B
Restart the vRealize Log Insight server to apply the configuration changes made on the agents.
- C
Ensure the Log Insight Agent service is restarted after updating the 'liagent.ini' file.
- D
Set the proper permissions for the Log Insight Agent to read the '/var/log/app/custom.log' file.
- E
Configure a user filter in the vRealize Log Insight web UI to include logs from '/var/log/app/custom.log'.
Show answer and explanation
Correct answers: A, C, D
Explanation
To configure the Log Insight Agent to collect custom application logs, you must modify the 'liagent.ini' file to define the custom log path, ensure the agent has the necessary file permissions, and restart the agent service to apply the changes. Restarting the vRealize Log Insight server or creating user filters in the web UI are not relevant steps in this process.
- A. Correct.
Correct. The 'liagent.ini' file is used to configure the Log Insight Agent, including defining custom log file paths.
- B. Incorrect.
Incorrect. Restarting the vRealize Log Insight server is not required after making changes to agent configurations.
- C. Correct.
Correct. The Log Insight Agent must be restarted to apply changes made to its configuration file.
- D. Correct.
Correct. The Log Insight Agent needs sufficient file permissions to access the custom log file for collection.
- E. Incorrect.
Incorrect. Configuring user filters in the vRealize Log Insight web UI is unrelated to configuring Log Insight Agents.