Get syslog server settings
Returns settings used to send logs to syslog server RFC5424
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Syslog config
Schema
- enabled boolean
Default value:
false
If enabled logs will be send to server
- tag string
Possible values: Value must match regular expression
^[a-zA-Z0-9]{1,32}$
Alphanumberic, maximum length is 32 symbold
server object
This model describe syslog server configuration
server stringSyslog server address
port integerseverity integerPossible values:
<= 7
Events with this severity and higher will be send to server
{
"enabled": false,
"tag": "string",
"server": {
"server": "192.168.88.249",
"port": 514,
"severity": 6
}
}
{
"enabled": false,
"tag": "string",
"server": {
"server": "192.168.88.249",
"port": 514,
"severity": 6
}
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...