Skip to content

【Workspace】Creation



POST /api/v1/workspace/create

Overview

Body Request Parameters

Parameter Name Type Required Description
isOpenCustomMappingRule boolean Whether to enable custom mapping rules
Example: 0
Can be empty: False
maxSearchResultCount integer Maximum number of search results
Example: 0
Can be empty: False
name string Y Name
Example: supper_workspace
Can be empty: False
Maximum length: 256
esIndexMerged boolean Whether to merge indexes, default is true
Example: False
Can be empty: False
leftWildcard boolean Whether to enable left * matching, default is false, i.e., off state
Example: False
Can be empty: False
isOpenLogMultipleIndex boolean Whether to enable multiple log index configuration, default is true, i.e., closed state
Example: False
Can be empty: False
logMultipleIndexCount int Limit on the number of multiple log indexes after enabling the multiple log index configuration, workspace level
Example: 3
Can be empty: False
loggingCutSize int Super large log cutting unit, transmitted in bytes
Example: False
Can be empty: False
storageTypeUUID string Corresponding non-primary storage type UUID
Example: uuid_xxxxxxxx
Can be empty: True
durationSet object Data retention duration information
durationSet.rp string Time Series RP's duration
Example: 30d
Can be empty: False
durationSet.logging string Log RP's duration
Example: 14d
Can be empty: False
durationSet.backup_log string Backup log's duration
Example: 180d
Can be empty: False
durationSet.security string Inspection data's duration
Example: 90d
Can be empty: False
durationSet.keyevent string Event RP's duration
Example: 14d
Can be empty: False
durationSet.tracing string Tracing's duration
Example: 7d
Can be empty: False
durationSet.rum string RUM's duration
Example: 7d
Can be empty: False
durationSet.apm string APM's duration (valid under merged index conditions)
Example: 7d
Can be empty: False
ownerUuid string Y Workspace owner
Allow empty string: False
Example: uuid-001
language string Language information
Can be empty: True
Allow empty string: True
Optional values: ['zh', 'en']

Additional Parameter Notes

Response


Feedback

Is this page helpful? ×