Push Log
POST/v1/logs
Manually push a log to ncScale. This endpoint is useful if you want to push logs from a tool that is not yet supported by ncScale.
danger
This endpoint uses a different domain.
warning
Due to infrastructure needs, specific keys in the extra object within the log body must follow specific rules. If the received key format doesn't match the expected one, we'll substitute the value with NULL
.
key | expected format |
---|---|
Log_URL | must be URL including domain |
transfer | must be only numeric |
operations | must be only numeric |
execution_time | must be only numeric, in milliseconds |
execution_time_seconds | must be only numeric, in seconds |
scenario_id | must be only numeric |
executionId | must be only UUID without dashes |
workflow_id | must be only a string |
execution_id | must be only numeric |
Request
- application/json
Body
createdAt numberrequired
Format: Timestamp UTC
event_name stringrequired
Can be empty
extra
object
required
Any key value pair, cannot be nested
message stringrequired
severity stringrequired
Possible values: [verbose
, info
, warning
, error
, critical
]
token stringrequired
Responses
- 200
Loading...