Skip to content

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
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
brandKey string Brand key
Example: guance
Can be empty: False
Optional values: ['guance', 'truewatch']
esIndexMerged boolean Whether to merge indexes, default is true
Example: False
Can be empty: False
leftWildcard boolean Whether to enable left * match, default is false, i.e., disabled state
Example: False
Can be empty: False
isOpenLogMultipleIndex boolean Whether to enable log multiple index configuration, default is true, i.e., disabled state
Example: False
Can be empty: False
logMultipleIndexCount int Number of log multiple indexes limit after enabling log multiple index configuration, workspace level
Example: 3
Can be empty: False
loggingCutSize int Super large log cutting unit, transmitted using byte
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 duration
Example: 30d
Can be empty: False
durationSet.logging string Log RP duration
Example: 14d
Can be empty: False
durationSet.backup_log string Backup log duration
Example: 180d
Can be empty: False
durationSet.security string Inspection data duration
Example: 90d
Can be empty: False
durationSet.keyevent string Event RP duration
Example: 14d
Can be empty: False
durationSet.tracing string Tracing duration
Example: 7d
Can be empty: False
durationSet.rum string RUM duration
Example: 7d
Can be empty: False
durationSet.apm string APM duration (valid in the case of merged indexes)
Example: 7d
Can be empty: False
durationSet.network string Network data duration (valid in the case of merged indexes)
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']

Supplementary Parameter Notes

Response


Feedback

Is this page helpful? ×