You are part of the DevOps team and troubleshooting an issue related to a newly deployed web application. The clients for the web application have reported failures with creating records into the application over an HTTPS connection. The current logs collected by the Oracle Cloud Infrastructure (OCI) Logging service is not providing much information related to the issue. You have been asked to enable specific logs applicable to services along with con-figuring an alarm to monitor any new failures. Which two steps can you perform to meet this requirement?
The steps that you can perform to enable specific logs applicable to services along with configuring an alarm to monitor any new failures are:
Install the OCI compute agent software on client systems, enable Custom log and create an agent configuration selecting log path. The OCI compute agent is a software component that runs on your compute instances and collects logs from various sources, such as files, syslog, Windows Event Log, etc. You can use the OCI compute agent to enable Custom log, which is a type of log that allows you to define your own log source and format. You can also create an agent configuration that specifies the log path, log group, and log name for your Custom log.
Create custom filters with required data fields (for example: source, time, statusCode, message) to filter log messages, configure Service Connector with Monitoring for creating an Alarm. A custom filter is a query that allows you to filter and analyze your log messages based on various data fields, such as source, time, level, message, etc. You can use custom filters to search for specific patterns or conditions in your logs, such as failures or errors. You can also configure a Service Connector with Monitoring, which is a component that allows you to transfer data from one OCI service to another. You can use a Service Connector with Monitoring to send your filtered log messages to the OCI Monitoring service, which is a service that allows you to create metrics and alarms based on your logs. You can then create an Alarm, which is a rule that triggers an action when a metric meets a specified threshold. Verified Reference: [Compute Agent - Oracle Cloud Infrastructure Logging], [Custom Logs - Oracle Cloud Infrastructure Logging], [Custom Filters - Oracle Cloud Infrastructure Logging], [Service Connectors - Oracle Cloud Infrastructure Logging], [Monitoring - Oracle Cloud Infrastructure Logging], [Alarms - Oracle Cloud Infrastructure Logging]
Stephania
5 months agoLucille
5 months agoLeanora
5 months agoDolores
6 months agoMargurite
6 months agoMilly
5 months agoSilvana
5 months agoLorean
6 months agoBlythe
6 months agoJuan
5 months agoBuffy
5 months agoKristel
5 months agoLeslie
6 months agoSean
6 months agoAlishia
6 months agoGilberto
7 months agoNorah
5 months agoMitzie
6 months agoLoren
6 months agoDeeanna
6 months agoAnisha
6 months agoHyman
6 months ago