# Functions
New creates a new event with empty meta data.
NewWithProperties creates a new event with passed metadata.
ToProtoEC - Converts a protbuf EventCategory to type event.Category.
# Constants
AGENT - Event originated within an agent.
ALERT - Output by anomaly detectors.
AUDIT - Audit trail events.
COLLECTD - (deprecated in favor of agent) Event originated within collectd.
EXCEPTION - Created by exception appenders to denote exceptional events.
JOB - Generated by analytics server.
SERVICEDISCOVERY - Service discovery event.
USERDEFINED - Created by user via UI or API, e.g.
# Type aliases
Category define how to display the Category.