pub struct EventLogEntry {
pub id: u64,
pub channel: EventLogChannel,
pub channel_display: String,
pub provider: String,
pub event_id: u32,
pub severity: EventLogSeverity,
pub timestamp: String,
pub computer: Option<String>,
pub message: String,
pub correlation_activity_id: Option<String>,
pub source_file: String,
}Expand description
A single parsed record from a Windows Event Log (.evtx) file.
Fields§
§id: u64Sequential ID across all parsed entries (chronological after sorting).
channel: EventLogChannelTyped channel enum.
channel_display: StringHuman-readable channel display name.
provider: StringProvider name from System.Provider.
event_id: u32Windows Event ID.
severity: EventLogSeveritySeverity mapped from System.Level.
timestamp: StringISO 8601 UTC timestamp.
computer: Option<String>Computer name from System.Computer.
message: StringExtracted message from EventData/UserData.
correlation_activity_id: Option<String>Correlation activity ID from System.Correlation.
source_file: StringPath to the .evtx source file.
Trait Implementations§
Source§impl Clone for EventLogEntry
impl Clone for EventLogEntry
Source§impl Debug for EventLogEntry
impl Debug for EventLogEntry
Source§impl<'de> Deserialize<'de> for EventLogEntry
impl<'de> Deserialize<'de> for EventLogEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EventLogEntry
impl RefUnwindSafe for EventLogEntry
impl Send for EventLogEntry
impl Sync for EventLogEntry
impl Unpin for EventLogEntry
impl UnsafeUnpin for EventLogEntry
impl UnwindSafe for EventLogEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more