Pushing MS SQL RDS Logs to Cloudwatch

0

I found a documentation on pushing RDS microsoft SQL logs but if SQL Server Express Edition is used, there's only error logs while if SQL Server Web Edition is used, there's both agent and error logs.

  1. What is the difference between error and agent logs?
  2. And is this the best way to push logs automatically from MS SQL RDS to Cloudwatch? What if there are other logs I wish to push to Cloudwatch?
1 Answer
0

Hello.

  1. Error Logs: ** Purpose: Error logs contain information about critical errors and issues that occur within SQL Server. They are essential for troubleshooting problems and identifying issues that may impact the database's functionality. ** Content: Error logs typically include error messages, severity levels, timestamps, and a brief description of the problem. They are essential for diagnosing and resolving issues that could potentially affect the SQL Server instance. ** Frequency: **Error logs are generated automatically whenever a critical error occurs, and they can accumulate over time. SQL Server retains a specified number of error log files, and older ones are automatically recycled.
  2. Agent Logs: ** Purpose:** SQL Server Agent is a component that allows you to automate various tasks within SQL Server, such as running jobs, backups, and maintenance tasks. Agent logs contain information related to the SQL Server Agent service's activities and the execution status of scheduled jobs and tasks. ** Content:** Agent logs include information about job history, job steps, execution duration, and status (success, failure, etc.). These logs are helpful for monitoring and auditing scheduled tasks and jobs in SQL Server. ** Frequency: **Agent logs are generated based on the execution of scheduled jobs and tasks. They provide a historical record of these activities.

This documentation must help you with correct configuration for RDS logs https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.Concepts.SQLServer.html

Best regards, Andrii

profile picture
EXPERT
answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions