BACK TO INDEX

Win32_NTLogEvent
This class is used to translate instances from the NT Eventlog.
NameSpace Path
\ROOT\CIMV2
PROPERTYSMS_REPORTCIMTYPEDESCRIPTION
CategoryUInt16Specifies a subcategory for this event. This subcategory is source specific.
CategoryStringStringSpecifies the translation of the subcategory. The translation is source specific.
ComputerNameStringThe variable-length null-terminated string specifying the name of the computer that generated this event.
DataUInt8The binary data that accompanied the report of the NT event.
EventCodeUInt16This property has the value of the lower 16-bits of the EventIdentifier property. It is present to match the value displayed in the NT Event Viewer. NOTE: Two events from the same source may have the same value for this property but may have different severity and EventIdentifier values
EventIdentifierUInt32Identifies the event. This is specific to the source that generated the event log entry, and is used, together with SourceName, to uniquely identify an NT event type.
EventTypeUInt8The Type property specifies the type of event.
InsertionStringsStringThe insertion strings that accompanied the report of the NT event.
LogfileStringThe name of NT Eventlog logfile. This is used together with the RecordNumber to uniquely identify an instance of this class.
MessageStringThe event message as it appears in the NT Eventlog. This is a standard message with zero or more insertion strings supplied by the source of the NT event. The insertion strings are inserted into the standard message in a predefined format. If there are no insertion strings or there is a problem inserting the insertion strings, only the standard message will be present in this field.
RecordNumberUInt32Identifies the event within the NT Eventlog logfile. This is specific to the logfile and is used together with the logfile name to uniquely identify an instance of this class.
SourceNameStringThe variable-length null-terminated string specifying the name of the source (application, service, driver, subsystem) that generated the entry. It is used, together with the EventIdentifier, to uniquely identify an NT event type.
TimeGeneratedDateTimeSpecifies the time at which the source generated the event.
TimeWrittenDateTimeSpecifies the time at which the event was written to the logfile.
TypeStringSpecifies the type of event. This is an enumerated string
UserStringThe user name of the logged on user when the event ocurred. If the user name cannot be determined this will be NULL
SAMPLE DATA INSTANCE
   [LOCALE(1033): ToInstance Amended]
   instance of Win32_NTLogEvent
   {
    Category = 0;
    ComputerName = "SCCM01";
    Data = {123, 68, 55, 68, 65, 68, 49, 69, 52, 45, 52, 53, 70, 52, 45, 51, 66, 50, 66, 45, 56, 57, 57, 65, 45, 69, 65, 55, 50, 56, 49, 54, 55, 69, 67, 52, 70, 125};
    EventCode = 1035;
    EventIdentifier = 1035;
    EventType = 3;
    InsertionStrings = {"Microsoft Visual Studio 2008 Professional Edition - ENU", "9.0.30729", "1033", "0", "(NULL)", "", ""};
    Logfile = "Application";
    RecordNumber = 90676;
    SourceName = "MsiInstaller";
    TimeGenerated = "20110330145145.000000-420";
    TimeWritten = "20110330145145.000000-420";
    Type = "Information";
    User = "NT AUTHORITY\\SYSTEM";
   };