The DataCollection object describes a data collection task in an OpenSearch application.
Example
{
"id": "286",
"name": "os_function_test_v1",
"type": "server",
"status": 2,
"dataCollectionType": "BEHAVIOR",
"industryName": "GENERAL",
"created": 1581065837,
"updated": 1581065904,
"sundialId": "1755"
}Fields
| Field | Type | Description |
|---|---|---|
| id | String | The ID of the data collection task. |
| name | String | The name of the data collection task. |
| type | String | The data source type. Valid values: server, web, app. Only server is supported. |
| status | Integer | The status of the data collection feature. For details, see Status values. |
| dataCollectionType | String | The type of data to collect. Valid values: behavior, item_info, industry-specific. |
| industryName | String | The industry type of the application. Valid values: general, ecommerce. |
| sundialId | String | The ID of the sundial. |
| created | Integer | The time when the data collection task was created. |
| updated | Integer | The time when the data collection task was last updated. |
Status values
The status field returns one of the following integer codes:
| Value | Description |
|---|---|
0 | Not enabled |
1 | Being enabled |
2 | Enabled |
3 | Failed to enable |