DataCollection オブジェクトは、OpenSearch アプリケーションにおけるデータ収集タスクを記述します。
例
{
"id": "286",
"name": "os_function_test_v1",
"type": "server",
"status": 2,
"dataCollectionType": "BEHAVIOR",
"industryName": "GENERAL",
"created": 1581065837,
"updated": 1581065904,
"sundialId": "1755"
}フィールド
| フィールド | タイプ | 説明 |
|---|---|---|
| id | String | データ収集タスクの ID。 |
| name | String | データ収集タスクの名前。 |
| type | String | データソースタイプ。有効な値: server、web、app。 server のみがサポートされています。 |
| status | Integer | データ収集機能のステータス。詳細については、「ステータスの値」をご参照ください。 |
| dataCollectionType | String | 収集するデータのタイプ。有効な値: behavior、item_info、industry-specific。 |
| industryName | String | アプリケーションの業界タイプ。有効な値: general、ecommerce。 |
| sundialId | String | サンダイアルの ID。 |
| created | Integer | データ収集タスクが作成された日時。 |
| updated | Integer | データ収集タスクが最後に更新された日時。 |
ステータスの値
status フィールドは、次のいずれかの整数コードを返します。
| 値 | 説明 |
|---|---|
0 | 無効 |
1 | 有効化中 |
2 | 有効 |
3 | 有効化に失敗 |