Skip to content

【Workspace】Create



POST /api/v1/workspace/create

Overview

Body Request Parameters

Parameter Name Type Required Description
isOpenCustomMappingRule boolean No Whether to enable custom mapping rules
Example: 0
Nullable: False
maxSearchResultCount integer No Maximum number of search results
Example: 0
Nullable: False
name string Yes Name
Example: supper_workspace
Nullable: False
Maximum Length: 256
esIndexMerged boolean No Whether to merge indices, default is true
Example: False
Nullable: False
leftWildcard boolean No Whether to enable left * matching, default is false, i.e., disabled
Example: False
Nullable: False
isOpenLogMultipleIndex boolean No Whether to enable multi-index configuration for logs, default is true, i.e., enabled
Example: False
Nullable: False
logMultipleIndexCount int No Limit on the number of multi-indices for logs after enabling multi-index configuration, at workspace level
Example: 3
Nullable: False
loggingCutSize int No Unit for cutting oversized logs, transmitted using bytes
Example: False
Nullable: False
storageTypeUUID string No UUID corresponding to non-primary storage type
Example: uuid_xxxxxxxx
Nullable: True
durationSet object No Data retention duration information
durationSet.rp string No Duration for Time Series RP
Example: 30d
Nullable: False
durationSet.logging string No Duration for log RP
Example: 14d
Nullable: False
durationSet.backup_log string No Duration for backup logs
Example: 180d
Nullable: False
durationSet.security string No Duration for Security Check data
Example: 90d
Nullable: False
durationSet.keyevent string No Duration for event RP
Example: 14d
Nullable: False
durationSet.tracing string No Duration for tracing
Example: 7d
Nullable: False
durationSet.rum string No Duration for RUM
Example: 7d
Nullable: False
durationSet.apm string No Duration for APM (valid when merging indices)
Example: 7d
Nullable: False
ownerUuid string Yes Command
Nullable empty string: False
Example: uuid-001
language string No Language information
Nullable: True
Nullable empty string: True
Optional values: ['zh', 'en']

Additional Parameter Notes

Response


Feedback

Is this page helpful? ×