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 number of search results Example: 0 Allow Empty: False |
|
| name | string | Y | Name Example: supper_workspace Allow Empty: False Max Length: 256 |
| desc | string | Description Example: Workspace description Allow Empty: True Allow Empty String: True |
|
| brandKey | string | Brand key Example: guance Allow Empty: False |
|
| esIndexMerged | boolean | Whether to merge indexes, default is true Example: False Allow Empty: False |
|
| leftWildcard | boolean | Whether to enable left wildcard matching, default is false, meaning disabled Example: False Allow Empty: False |
|
| isOpenLogMultipleIndex | boolean | Whether to enable log multi-index configuration, default is true, meaning disabled Example: False Allow Empty: False |
|
| logMultipleIndexCount | int | The limit on the number of log multi-indexes after enabling log multi-index configuration, workspace level Example: 3 Allow Empty: False |
|
| loggingCutSize | int | Oversized log cutting unit, transmission uses byte Example: False Allow Empty: False |
|
| storageTypeUUID | string | The UUID corresponding to the non-primary storage type Example: uuid_xxxxxxxx Allow Empty: True |
|
| durationSet | object | Data retention duration information |
|
| durationSet.rp | string | Duration of the time series RP Example: 30d Allow Empty: False |
|
| durationSet.logging | string | Duration of the logging RP Example: 14d Allow Empty: False |
|
| durationSet.backup_log | string | Duration of the backup logs Example: 180d Allow Empty: False |
|
| durationSet.security | string | Duration of the inspection data Example: 90d Allow Empty: False |
|
| durationSet.keyevent | string | Duration of the event RP Example: 14d Allow Empty: False |
|
| durationSet.tracing | string | Duration of the tracing data Example: 7d Allow Empty: False |
|
| durationSet.rum | string | Duration of the RUM data Example: 7d Allow Empty: False |
|
| durationSet.apm | string | Duration of the APM data (effective when indexes are merged) Example: 7d Allow Empty: False |
|
| durationSet.network | string | Duration of the network data (effective when indexes 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] |