Sql-server – View SQL’s errorlog in Amazon RDS

amazon-rdssql server

Is there a way to view the SQL Server errorlogs in Amazon's RDS? I usually use sp_ReadErrorlog, but in RDS we need to be a member of securityadmin role.

Best Answer

Per the documentation, there's a custom stored procedure that does just that:

EXEC rdsadmin.dbo.rds_read_error_log [index]