SystemMonitor.SaveAs method
Saves the counter values in the graph view to a log file.
Syntax
SystemMonitor.SaveAs( _
ByVal fileName As String, _
ByVal fileType As SysmonFileType _
)
Parameters
-
fileName [in]
-
File path of the log file. You can specify the path as an absolute, relative, or UNC path. The log file name extension must be either .tsv or .htm. If a folder in the path does not exist, SYSMON will create it. If the file exists, the file is overwritten. SYSMON applies the default ACLs from the parent directory.
-
fileType [in]
-
Format of the counter data saved to the log file. You can specify either SysmonFileType.sysmonFileHtml or SysmonFileType.sysmonFileTsv.
Return value
This method does not return a value.
Remarks
Only the counter data visible in the graph view is saved (for the actual number of data points saved, see SystemMonitor.DataPointCount).
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
DLL |
|