POST /config/event_sources/log_source_management/log_source_bulk_tasks/{id}
Updates a log source bulk task. The only field that can be updated is the 'status' field, and the only allowed value is 'CANCELLED'.
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
id |
path |
Required |
String |
text/plain |
The ID of the log source bulk task to update. |
fields |
header |
Optional |
String |
text/plain |
Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas. |
Parameter | Data Type | MIME Type | Description | Sample |
---|---|---|---|---|
updated_log_source_bulk_task |
Object |
application/json |
The updated log source bulk task data. |
{ "status": "String <one of: IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED_SUCCESSFULLY, CANCELLING, CANCELLED>" } |
HTTP Response Code | Unique Code | Description |
---|---|---|
200 |
The log source bulk task was updated successfully. |
|
404 |
1001 |
The requested log source bulk task cannot be found. |
Response Description
The updated log source bulk task.
Response Sample
{
"id": "String",
"operation_statuses": [
{
"http_status": 42,
"log_source_id": 42,
"message": "String",
"operation_type": "String <one of: CREATE, UPDATE, DELETE>",
"unique_code": 42
}
],
"status": "String <one of: IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED_SUCCESSFULLY, CANCELLING, CANCELLED>"
}