Detection
After an application update, the CloudWatch agent still sends system logs but no longer sends application logs. The application now writes to a different directory; what should the administrator do?
Show the answer
Correct answerC. Update the agent's file_path and load the revised configuration.
AWhy not this: Retention controls how long received events remain available, not which local files the agent collects.
BWhy not this: Restarting with the existing configuration continues monitoring the old file location.
CWhy this is right: Updating file_path and loading the configuration directs the agent to the new application log location.
DWhy not this: Additional stream permissions do not correct a collection path that points to the old directory.
The agent must collect from the application's new file location, and the revised configuration must be loaded. Restarting with the existing configuration leaves the obsolete path unchanged.