Added checks to skip entries where username is UNDEF or server_name and client_ip are empty.