Index Acceleration Field Configuration Modification¶
POST /api/v1/workspace/index_speed_field/modify
Overview¶
Index query acceleration field configuration.
Currently only supports LOG type indexes under the ScopeDB storage engine.
Index information comes from the LOG-Index-List interface
Index field information can be queried via the dql statement SHOW_LOGGING_FIELD(index='xx')
Body Request Parameters¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| fieldSpeedConfig | array | Field acceleration configuration Allow empty: False |
|
| fieldSpeedConfig[*] | None | ||
| fieldSpeedConfig[*].index | string | Index name, from the name field in the log index listExample: default Allow empty: False |
|
| fieldSpeedConfig[*].field | string | Y | Field Example: dest_host Allow empty: False |
| fieldSpeedConfig[*].enable | boolean | Y | Whether to enable Example: False Allow empty: False |
| namespace | string | Namespace, lowercase full name of namespace in dql Allow empty: False |
|
| source | string | Source Allow empty: False |
Parameter Additional Notes¶
Request Example¶
curl 'https://openapi.guance.com/api/v1/workspace/index_speed_field/modify' \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--data-raw '{"namespace":"logging","fieldSpeedConfig":[{"index":"default","field":"dest_host","enable":false}]}' \
--insecure