def rule(event):
    if all(
        [
            "\\TeamViewer_" in event.deep_get("TargetFilename", default=""),
            event.deep_get("TargetFilename", default="").endswith(".log"),
            not event.deep_get("Image", default="") == "C:\\Windows\\system32\\svchost.exe",
        ]
    ):
        return True
    return False
