SQL Server Monitor: Azure SQL Connection Failure Logs

    Feb 05, 2025Simon Dang
    SQL Server Monitor: Azure SQL Connection Failure Logs

    Viewing Connection Failure Logs in Azure SQL

    Here's a simple query you can run within the master database on any Azure SQL Server to view all server connections that failed. The details about the connection failure isn't too specific but a DBA can use it to generally find the root cause of a connection failure.

    SELECT database_name
          , start_time
          , end_time
          , event_category
          , event_type
          , event_subtype
          , event_subtype_desc
          , severity
          , event_count
          , description
    FROM master.sys.event_log
    WHERE event_type = 'connection_failed'

    Monitor Connections Automatically with SQL Brainbox

    Don't wait for users to report connection problems. SQL Brainbox is a powerful SQL Server monitor that tracks all connections in real-time and alerts you to failures instantly across your SQL Server and Azure SQL instances. Download SQL Brainbox for free and start monitoring today.

    © 2026 Crystal Enterprise, LLC. All rights reserved.