curl --request PUT \
--url https://api.bunny.net/mc/log/forwarding/{appId} \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"app": "<string>",
"type": "SyslogUdp",
"endpoint": "<string>",
"port": 123,
"format": "SyslogRfc3164",
"enabled": true,
"token": "<string>"
}
'{
"id": "<string>",
"app": "<string>",
"productId": "<string>",
"type": "SyslogUdp",
"endpoint": "<string>",
"port": 123,
"createdAt": "2023-11-07T05:31:56Z",
"token": "<string>",
"format": "SyslogRfc3164",
"enabled": true
}Update an existing log-forwarding configuration.
curl --request PUT \
--url https://api.bunny.net/mc/log/forwarding/{appId} \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"app": "<string>",
"type": "SyslogUdp",
"endpoint": "<string>",
"port": 123,
"format": "SyslogRfc3164",
"enabled": true,
"token": "<string>"
}
'{
"id": "<string>",
"app": "<string>",
"productId": "<string>",
"type": "SyslogUdp",
"endpoint": "<string>",
"port": 123,
"createdAt": "2023-11-07T05:31:56Z",
"token": "<string>",
"format": "SyslogRfc3164",
"enabled": true
}Please enter a valid personal API key.
App ID for log forwarding configuration.
App unique identifier
Log endpoint type
SyslogUdp, SyslogTcp Log destination endpoint
Log destination port
Which Syslog RFC will be used
SyslogRfc3164, SyslogRfc5424 Whether forwarding is enabled
Token passed as field of syslog
Log-forwarding configuration updated successfully.
Unique identifier
App unique identifier
Product unique identifier
Log endpoint type
SyslogUdp, SyslogTcp Log destination endpoint
Log destination port
When the configuration was created
Token passed as field of syslog
Which Syslog RFC will be used
SyslogRfc3164, SyslogRfc5424 Whether forwarding is enabled
Was this page helpful?