Python EventLogRecord Object
A record from an Event Log contains quite a bit of information.
Rather than attempt to encode this information in a tuple, a
PyEventLogRecord
object is used. These objects have the
attributes described in Table 18.1.
|
Attribute |
Description |
|
|
The number of the Event Log record. This number could be used to seek to the specific record. |
|
|
A |
|
|
A |
|
|
An integer event ID, as defined by the application writing the record. |
|
|
An integer defining the event type. Will be one of:
|
|
|
An integer event category, as defined by the application writing the record. |
|
|
The name of the application that generated the Event Log record. |
|
|
The name of the computer that generated this message. |
|
|
The string inserts for this message. |
|
|
The security identifier of a user to be associated with this record. |
|
|
The raw binary data for the Event Log record. |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access