This API allows remote hosts to log data to the central syslog when needed for debugging purposes.
Ratelimits apply.
| URL | https://api.telecomx.dk/tools/syslog | ||
|---|---|---|---|
| Method | GET or POST | ||
| Access level | PERSONAL, VIEWER, MANAGER, OWNER, RESELLER, RESELLER_ADMIN, ADMIN | ||
| query or body | host | String | Name of host reporting the data, defaults to the hosts IP address. |
| app | String | Name of application, defaults to TCX-syslog. |
|
| severity | String | INFO, WARNING, ERROR, DEBUG, defaults to INFO. | |
| message | String | The log message to store. | |
{
host: 'test.domain.com',
app: 'testapp',
severity: 'DEBUG',
message: 'testing if we got a connection'
}
Any request with receive an 200 OK response with an empty body.
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Access denied |
| 500 | internal_error | <Unspecified> |