Utility for transforming unstructured log to key-value pairs.