Mining Unstructured Log Messages for Security Threat Detection