Create¶
POST /api/v1/workspace/create
Overview¶
Body Request Parameters¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| isOpenCustomMappingRule | boolean | Whether to enable custom mapping rules Example: 0 Allow empty: False |
|
| maxSearchResultCount | integer | Maximum search result count Example: 0 Allow empty: False |
|
| name | string | Y | Name Example: supper_workspace Allow empty: False Max length: 256 |
| brandKey | string | Brand key Example: guance Allow empty: False |
|
| esIndexMerged | boolean | Whether to merge indices, default is true Example: False Allow empty: False |
|
| leftWildcard | boolean | Whether to enable left * matching, default is false, i.e., disabled Example: False Allow empty: False |
|
| isOpenLogMultipleIndex | boolean | Whether to enable log multiple index configuration, default is true, i.e., disabled Example: False Allow empty: False |
|
| logMultipleIndexCount | int | Limit on the number of log multiple indices after enabling log multiple index configuration, workspace level Example: 3 Allow empty: False |
|
| loggingCutSize | int | Large log cutting unit, transmitted in bytes Example: False Allow empty: False |
|
| storageTypeUUID | string | UUID of the corresponding non-primary storage type Example: uuid_xxxxxxxx Allow empty: True |
|
| durationSet | object | Data retention duration information |
|
| durationSet.rp | string | Duration of time series RP Example: 30d Allow empty: False |
|
| durationSet.logging | string | Duration of log RP Example: 14d Allow empty: False |
|
| durationSet.backup_log | string | Duration of backup logs Example: 180d Allow empty: False |
|
| durationSet.security | string | Duration of inspection data Example: 90d Allow empty: False |
|
| durationSet.keyevent | string | Duration of event RP Example: 14d Allow empty: False |
|
| durationSet.tracing | string | Duration of tracing Example: 7d Allow empty: False |
|
| durationSet.rum | string | Duration of rum Example: 7d Allow empty: False |
|
| durationSet.apm | string | Duration of apm (valid when indices are merged) Example: 7d Allow empty: False |
|
| durationSet.network | string | Duration of network data (valid when indices are merged) Example: 7d Allow empty: False |
|
| ownerUuid | string | Y | Workspace owner Allow empty string: False Example: uuid-001 |
| language | string | Language information Allow empty: True Allow empty string: True Optional values: ['zh', 'en'] |
|
| enableRumMultipleTable | integer | Whether to enable RUM multiple tables (i.e., whether to split tables), default value is 1 Allow empty: True Optional values: [0, 1] |