Patent attributes
Embodiments are directed to managing event information. A plurality of events associated with entities may be provided. A plurality of state types may be determined based on the plurality of events such that each state type is associated with a state. State keys associated with each entity may be determined based on events associated with each entity and the state types. A state stream for each entity may be provided based on their state keys such that each state stream may be an ordered sequence of the keys associated with each entity. In response to a query that includes a pattern filter, the pattern filter may be employed to determine a portion of the entities based on the state stream for each entity such that the pattern filter matches the state stream for each of the portion of the entities.