# set.log.upload
Configures the device to stream system logs in real-time to a remote server.
This feature is equivalent to running `logread -f` and piping the output to a remote address.
## Parameters
| param | Object | Container for the log server configuration. |
| param.ip | String | The IP address of the remote log server. |
| param.port | String | The port number on the remote server. |
| param.proto | String | The protocol to use for log transmission. Valid values: `tcp`, `udp` |
## Examples
### Request
```json
{
"cmd": "set.log.upload",
"ts": 419286050,
"token": "8bw3WVwx",
"account": "super",
"param": {
"ip": "192.168.2.22",
"port": "4001",
"proto": "udp"
}
}
```
### Response
```json
{
"code": 0,
"when": 1692685496,
"msg": "ok",
"desc": "set.log.upload"
}
```