Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

logman creates and manages Event Trace Session and Performance logs and supports many functions of Performance Monitor from the command line.


logman [create | query | start | stop | delete| update | import | export | /?] [options]


Action Description
logman create create a counter, trace, configuration data collector, or API.
logman query query data collector properties.
logman start | stop start or stop data collection.
logman delete delete an existing data collector.
logman update Update the properties of an existing data collector.
logman import | export import a data collector set from an XML file or export a data collector set to an XML file.