Adding Errors Occurred During SAF Beat Operation
POST /error
Add errors that occurred during SAF Beat operation:
curl -k -XPOST https://<SAF BM IP-address>:7767/error
Input Parameters (Headers)
| Name | Type | Description |
|---|---|---|
| СlientIP | string | IP address of the host from which the request originates |
Input Parameters (Body)
| Name | Type | Description |
|---|---|---|
| status | bool | Error presence status |
| guid | string | Unique identifier of the SAF Beat |
| errortimestamp | string | Error submission timestamp |
| errors | object array | Array of error objects |
Objects in the errors array have the following structure:
| Name | Type | Description |
|---|---|---|
| app | string | Name of the resource with which errors occurred |
| apperrors | string array | Error details |
Output Parameters
Status of the error addition operation on the SAF Beat Manager.
Examples
Input parameters example:
{
"status": true,
"guid": "12345",
"errortimestamp": "2020-01-01 00:00:30",
"errors":[
{
"app": "filebeat",
"apperrors": ["error1", "error2"]
},
{
"app": "scriptbeat",
"apperrors": ["error3", "error4"]
}
]
}