When you create an EventHistoryCollector, you can define filters. For example, rather than returning all Event objects associated with virtual machines, you might create a filter to collect only those Event objects associated with virtual machines that were started by the backup-administrator between 2:00 and 4:00 a.m. on a specific date.
The EventFilterSpec object allows you to specify the collection criteria. Most of the properties are optional and can be submitted as null values. The EventFilterSpec lets you collect events based on user name, entity type, time, and state of the Event.