<PackageReference Include="System.Diagnostics.EventLog" Version="9.0.0-rc.2.24473.5" />

EventLogRecord

public class EventLogRecord : EventRecord
Contains the properties of an event instance for an event that is received from an EventLogReader object. The event properties provide information about the event such as the name of the computer where the event was logged and the time that the event was created.
public string ContainerLog { get; }

Gets the name of the event log or the event log file in which the event is stored.

public IEnumerable<int> MatchedQueryIds { get; }

Gets a list of query identifiers that this event matches. This event matches a query if the query would return this event.

public IList<object> GetPropertyValues(EventLogPropertySelector propertySelector)

Gets the enumeration of the values of the user-supplied event properties, or the results of XPath-based data if the event has XML representation.