Exam 1z0-1084-23 Topic 6 Question 5 Discussion
Actual exam question for Oracle's 1z0-1084-23 exam
Question #: 5
Topic #: 6
Question #: 5
Topic #: 6
A DevOps engineer is troubleshooting the Meshifyd application, which is running in an Oracle Cloud Infrastructure (OCI) environment. The engineer has set up the OCI Logging service to store access logs for the application but notices that the logs from the Meshifyd application are not showing up in the logging service. The engineer suspects that there might be an issue with the logging configuration. Which two statements are potential reasons for logs from the Meshifyd application not showing up in the OCI Logging service?
Suggested Answer: A,E Vote an answer
The logconfig.json file is a configuration file that specifies how the Unified Monitoring Agent collects and uploads custom logs to the OCI Logging service2. The logconfig.json file contains an array of objects, each representing a custom log configuration2. Each custom log configuration object has the following fields2:
logGroupObjectId: The OCID of the log group where the custom log is stored.
logObjectId: The OCID of the custom log.
paths: An array of paths to files or directories containing the custom logs.
src: A regular expression that matches the files containing the custom logs.
parser: A parser definition that specifies how to parse the custom logs. If the logconfig.json file has incorrect or missing OCID for the custom log in the logobjectId field, or incorrect or missing OCID for the custom log group in the logGroupObjectId field, then the Unified Monitoring Agent will not be able to upload the custom logs to the OCI Logging service2. Therefore, these are potential reasons for logs from the Meshifyd application not showing up in the OCI Logging service. Verified Reference: Unified Monitoring Agent Configuration File
logGroupObjectId: The OCID of the log group where the custom log is stored.
logObjectId: The OCID of the custom log.
paths: An array of paths to files or directories containing the custom logs.
src: A regular expression that matches the files containing the custom logs.
parser: A parser definition that specifies how to parse the custom logs. If the logconfig.json file has incorrect or missing OCID for the custom log in the logobjectId field, or incorrect or missing OCID for the custom log group in the logGroupObjectId field, then the Unified Monitoring Agent will not be able to upload the custom logs to the OCI Logging service2. Therefore, these are potential reasons for logs from the Meshifyd application not showing up in the OCI Logging service. Verified Reference: Unified Monitoring Agent Configuration File
by Alvin at Jan 09, 2024, 04:19 AM
Contact Us
If you have any question please leave me your email address, we will reply and send email to you in 12 hours.
Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday
Support: Contact now
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).