API for security related events using syslog as a transport