From the course: Windows Server 2016: Manage, Monitor, and Maintain Servers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Using log files

Using log files - Windows Server Tutorial

From the course: Windows Server 2016: Manage, Monitor, and Maintain Servers

Start my 1-month free trial

Using log files

- [Instructor] So far in this chapter, we've browsed through the Message Analyzer, and we've filtered through the contents of a live trace from our local machine, and from other servers. But sometimes it isn't necessary to run a new live trace. Sometimes the data that we need has already been collected. In this segment, we're going to bring in data that's been gathered previously. Now you can run a trace at any time on just about any reasonably current Windows computer; whether it's a server or a workstation. You can simply open an administrative command prompt, or on a server with no desktop environment at all, you can just go to the command line and use the command netsh trace start and there are only a couple of parameters that we need to add to that. capture=yes and a path and file name to the log file that we want to create. The extension on the file that we're going to create is etl, and I'm going to store mine in the traces directory on the root of the c drive. So now this…

Contents