How to: Log Bot Defense traffic

In the following, while enabling bot-defense, the request-loggers is configured.

{
    "policy": {
        "name": "test_policy",
        "template": {
            "name": "POLICY_TEMPLATE_COMPREHENSIVE"
        },
        "applicationLanguage": "utf-8",
        "general": {
            "customXffHeaders": [],
            "trustXff": true
        },
        "bot-defense": {
            "settings": {
                "isEnabled": true
            },
            "mitigations": {
                "classes": [
                    {
                        "name": "trusted-bot",
                        "action": "detect"
                    },
                    {
                        "name": "untrusted-bot",
                        "action": "block"
                    },
                    {
                        "name": "suspicious-browser",
                        "action": "detect"
                    },
                    {
                        "name": "malicious-bot",
                        "action": "detect"
                    }
                ],
                "signatures": []
            }
        },
        "request-loggers": [
            {
                "name": "test_log_profile",
                "destination": "10.165.0.80:614",
                "formatType": "default"
            }
        ]
    }
}