text
stringlengths
0
4.23k
-o <path|dsn!log>
Specifies the output log file or the DSN and log set name in a SQL database.
-[-]r
Repeats the data collector daily at the specified begin and end times.
-[-]a
Appends an existing log file.
-[-]ow
Overwrites an existing log file.
-[-]v <nnnnnn|mmddhhmm>
Attaches file versioning information to the end of the log file name.
-[-]rc <task>
Runs the command specified each time the log is closed.
-[-]max <value>
Maximum log file size in MB or maximum number of records for SQL logs.
-[-]cnf <[[hh:]mm:]ss>
When time is specified, creates a new file when the specified time has elapsed. When time is not specified, creates a new file when the maximum size is exceeded.
-y
Answers yes to all questions without prompting.
-cf <filename>
Specifies the file listing performance counters to collect. The file should contain one performance counter name per line.
-[-]el
Enables or disables Event Log reporting.
-th <threshold [threshold [...]]>
Specify counters and their threshold values for an alert.
-[-]rdcs <name>
Specifies the Data Collector Set to start when an alert fires.
-[-]tn <task>
Specifies the task to run when an alert fires.
-[-]targ <argument>
Specifies the task arguments to be used with the task specified using -tn.
/?
Displays context-sensitive help.
<computer name>
<value>
<name>
<user [password]>
*
<[start] [stop] [[start] [stop] [...]]>
<[[hh:]mm:]ss>
<M/d/yyyy h:mm:ss[AM|PM]>
<M/d/yyyy h:mm:ss[AM|PM]>
<[[hh:]mm:]ss>
<path|dsn!log>
<nnnnnn|mmddhhmm>
<task>
<value>
<[[hh:]mm:]ss>
<filename>
<threshold [threshold [...]]>
<name>
<task>
<argument>
Remarks
Examples
To update the existing alert called new_alert, setting the threshold value for the counter % Processor time in the Processor(_Total) counter group to 40%, type:
logman update alert new_alert -th \Processor(_Total)\% Processor time>40
logman update api
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Updates the properties of an existing API tracing data collector.
Syntax
logman update api <[-n] <name>> [options]