Description of problem: In order to be able to analyze events we would like to be able to filter events by event_id. The event ID is missing from the logs and should be added.
After reviewing the engine events, we would need to add to the logs log_type. The numeric value that represents the type of the event and not audit_log_id. The audit_log_id is a serial number that is generated by the database and will not help us with analyzing the events.
Verified on ovirt-engine-4.1.1-0.0.master.20170201124236.git503df00.el7.centos.noarch INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-5) [0a57cbd7-9071-4a22-bb03-3bf844f1b4ed] EVENT_ID: USER_REMOVE_VM_FINISHED(113), Correlation ID: 0a57cbd7-9071-4a22-bb03-3bf844f1b4ed, Job ID: 7ab1dad3-7e26-4159-8c44-8823d7935fef, Call Stack: null, Custom Event ID: -1, Message: VM 123 was successfully removed.