Monitoring server events on-premises
Monitoring Business Central server events on-premises covers the admin, operational and debug events the server writes through Event Tracing for Windows. It answers questions about viewing events in Event Viewer or PowerShell, collecting trace data with Logman, Performance Monitor or PerfView, and limiting telemetry traces.
Path: Business Central on-premises > Administration > Monitoring Business Central server > Monitoring server events on-premises · tier official · system administration · narrative reviewed (checked by Opus)
Overview
Business Central server uses Event Tracing for Windows to record events that help diagnose conditions and troubleshoot performance. Events are grouped into channels (Admin, Operational, Debug) in Windows Event logs. They cover SQL connections, service startup and shutdown, tenant mounting, authentication, certificate monitoring and licensing violations. Trace events add SQL statements, service calls, AL function execution and telemetry.
Start with the overview page and the server events reference to learn the channels and event categories. To read events, use Event Viewer (with filtering, including XML filters) or the Get-WinEvent cmdlet in PowerShell. For deeper analysis, the trace event reference lists the Microsoft-DynamicsNAV-Server and Microsoft-DynamicsNAV-Common providers and their hexadecimal keyword filters. Three tools can collect that data into .etl files: Logman, Performance Monitor (Data Collector Sets) and PerfView.
If telemetry traces are too noisy, a separate page explains how to turn them off or limit them with the Diagnostic Trace Level setting.
Key points
- Events are grouped into Admin, Operational and Debug channels in Windows Event logs.
- Server events include SQL connection issues, service start and stop, tenant mounting, authentication, certificate monitoring and licensing violations.
- Trace events come from the Microsoft-DynamicsNAV-Server and Microsoft-DynamicsNAV-Common providers and are filtered with hexadecimal keywords.
- Trace events cover SQL statements, service calls, AL function execution, telemetry and session tracking.
- Event Viewer supports event filtering, including XML filtering.
- PowerShell’s Get-WinEvent cmdlet reads instance events and trace events from logs and event tracing files.
- Logman, Performance Monitor Data Collector Sets and PerfView each collect trace data into .etl files.
- Set the Diagnostic Trace Level in CustomSettings.config or with Set-NAVServerConfiguration to turn off or limit telemetry traces.
Learn pages
- Microsoft Dynamics 365 Business Central Server Events: Learn about Microsoft Dynamics 365 Business Central Server Events. Events have the source BusinessCentralServer.
- Microsoft Dynamics 365 Business Central Server Trace Events: Learn about Business Central Server Trace Events. This article provides an overview of the trace events that are generated by Business Central server instance.
- Monitoring Business Central Server Events in Event Viewer: Learn about using event viewer to monitor Business Central Server instances
- Monitoring Business Central Server Events with PowerShell: Learn how to use PowerShell to monitor Business Central Server instances
- Monitoring Microsoft Dynamics 365 Business Central Server Events: Read about how you can monitor events on the server that hosts the Business Central server components for on-premises deployments.
- Turn Off or Limit Telemetry Trace Events: Get tips for how to configure telemetry traces, depending on what you want to measure.
- Use Logman to Collect Event Trace Data: Get tips for how to use LogMan on telemetry traces.
- Use Performance Monitor to Collect Event Trace Data: Get tips for how to use Performance Monitor on telemetry traces.
- Use PerfView to Collect Event Trace Data: Get tips for how to use PerView on telemetry traces.
Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.
What Learn documents here 8 of 9 Learn pages
- learnMicrosoft Dynamics 365 Business Central Server Events2024-10-26
- learnMicrosoft Dynamics 365 Business Central Server Trace Events2024-10-26
- learnMonitoring Business Central Server Events in Event Viewer2021-06-26
- learnMonitoring Business Central Server Events with PowerShell2024-10-26
- learnMonitoring Microsoft Dynamics 365 Business Central Server Events2024-04-16
- learnTurn Off or Limit Telemetry Trace Events2024-10-26
- learnUse Logman to Collect Event Trace Data2024-10-26
- learnUse Performance Monitor to Collect Event Trace Data2024-10-26