logman create

Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

Creates a counter, trace, configuration data collector, or API.

Syntax

logman create <counter | trace | alert | cfg | api> <[-n] <name>> [options]

Parameters

Parameter Description
logman create counter Creates a counter data collector.
logman create trace Creates a trace data collector.
logman create alert Creates an alert data collector.
logman create cfg Creates a configuration data collector.
logman create api Creates an API tracing data collector.