Skip to content

Create



POST /api/v1/workspace/create

Overview

Body 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 indices, default is true
Example: False
Allow empty: False
leftWildcard boolean Whether to enable left * wildcard matching, default is false, i.e., disabled
Example: False
Allow empty: False
isOpenLogMultipleIndex boolean Whether to enable log multi-index configuration, default is true, i.e., disabled
Example: False
Allow empty: False
logMultipleIndexCount int Limit on the number of log multi-indices after enabling log multi-index configuration, workspace level
Example: 3
Allow empty: False
loggingCutSize int Oversized log cutting unit, transmitted in bytes
Example: False
Allow empty: False
storageTypeUUID string UUID corresponding to the non-primary storage type
Example: uuid_xxxxxxxx
Allow empty: True
durationSet object Data retention duration information
durationSet.rp string Duration for Time Series RP
Example: 30d
Allow empty: False
durationSet.logging string Duration for Log RP
Example: 14d
Allow empty: False
durationSet.backup_log string Duration for backup logs
Example: 180d
Allow empty: False
durationSet.security string Duration for Security Check data
Example: 90d
Allow empty: False
durationSet.keyevent string Duration for Event RP
Example: 14d
Allow empty: False
durationSet.tracing string Duration for tracing
Example: 7d
Allow empty: False
durationSet.rum string Duration for RUM
Example: 7d
Allow empty: False
durationSet.apm string Duration for APM (effective when indices are merged)
Example: 7d
Allow empty: False
durationSet.network string Duration for network data (effective 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
Allowed values: ['zh', 'en', 'zh-hant', 'id']
enableRumMultipleTable integer Whether to enable RUM multiple tables (i.e., whether to split tables), default value is 1
Allow empty: True
Allowed values: [0, 1]

Parameter Supplementary Notes

Response


Feedback

Is this page helpful? ×