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
If enabled logs will be send to server
- tag string
Possible values: Value must match regular expression
^[a-zA-Z0-9]{1,32}$
Alphanumeric, maximum length is 32 symbols
server object
This model describe syslog server configuration
server stringSyslog server address
port integerPort number
severity integerPossible values:
<= 7
Events with this severity and higher will be send to server
{
"enabled": false,
"tag": "aa12fb",
"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 message
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...