def rule(event):
    if all(
        [
            event.deep_get("cs-method", default="") == "POST",
            "logupload" in event.deep_get("cs-uri-query", default=""),
            "logMetaData" in event.deep_get("cs-uri-query", default=""),
            "wsgi_log_upload.py" in event.deep_get("cs-uri-query", default=""),
        ]
    ):
        return True
    return False
