共用方式為


Monitoring Microsoft Dynamics NAV Server Event Traces

Event tracing provides detailed information about what is occurring on the Microsoft Dynamics NAV Server when users work with Microsoft Dynamics NAV. This can help you identify and analyze problems or conditions that affect performance. Event tracing enables you to dynamically monitor Microsoft Dynamics NAV Server without having to restart the server or Microsoft Dynamics NAV clients. By using industry-standard tools for event tracing, you can start and stop event tracing sessions, and then view the trace event data from a stored log file.

You can use event tracing to track the following operations on Microsoft Dynamics NAV Server instances:

  • Running Microsoft Dynamics NAV reports, queries, and XMLports.

  • Execution of SQL statements by Microsoft Dynamics NAV Server.

  • Execution of C/AL functions.

  • Windows event log events.

Event Trace Monitoring Tools

There are various industry-standard tools that you can use to collect event trace data. The procedures in this section use Windows Performance Monitor, PerfView, Event Viewer, and Windows PowerShell to illustrate how you can collect and view event trace data. For details about how to use these tools and others, refer to the documentation available with the tool.

Getting Started

Task For more information, see

Review the list of trace events that are available for monitoring Microsoft Dynamics NAV Server instances.

Microsoft Dynamics NAV Server Trace Events

Collect event trace data in an event trace log (.etl) file. Use the event trace monitoring tool to start an event trace session.

How to: Use Performance Monitor to Collect Event Trace Data

How to: Use PerfView to Collect Event Trace Data

View event trace data that is contained in an .etl file.

How to: Use PerfView to View Event Trace Data

Use Event Viewer to collect and view event trace data

How to: Use Event Viewer to Collect and View Trace Events

Use Windows PowerShell to view event trace data

Viewing Events by Using Windows PowerShell

See Also

Concepts

Monitoring Microsoft Dynamics NAV Server Events in the Windows Event Log
Monitoring Microsoft Dynamics NAV Server Events
Microsoft Dynamics NAV Server Trace Events