| object | The information about the index. | |
index_mode | string | | v2 |
keys | object | The configurations of field indexes. A field index is in the key-value format in which the key specifies the name of the field and the value specifies the index configuration of the field. | |
| object | The configurations of the field index. | |
caseSensitive | boolean | Indicates whether case sensitivity is enabled. This parameter is required only when type is set to text. Valid values:
| false |
chn | boolean | Indicates whether Chinese characters are included. This parameter is required only when type is set to text. Valid values:
| false |
token | array | | |
| string | The delimiter. This parameter is required only when type is set to text. | , |
type | string | The data type of the field value. Valid values: text, json, double, and long. | text |
doc_value | boolean | Indicates whether the analytics feature is enabled for the field. Valid values:
| false |
alias | string | | myAlias |
line | object | The configurations of full-text indexes. | |
include_keys | array | | |
| string | | includeField |
exclude_keys | array | | |
| string | | excludeField |
chn | boolean | Indicates whether Chinese characters are included. Valid values:
| false |
token | array | | |
| string | The delimiter. Examples: ",", ".", "\r", and "\n". | , |
caseSensitive | boolean | Indicates whether case sensitivity is enabled. Valid values:
| false |
storage | string | The storage type. The value is fixed as pg. | pg |
ttl | integer | The lifecycle of the index file. Valid values: 7, 30, and 90. Unit: day. | 30 |
lastModifyTime | long | The time when the index configurations were last updated. The value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC. | 1524155379 |
log_reduce | boolean | Indicates whether the log clustering feature is enabled. | false |
max_text_len | integer | The maximum length of a field value that can be retained. Default value: 2048. Unit: bytes. The default value is equal to 2 KB. You can change the value of the max_text_len parameter. Valid values: 64 to 16384. Unit: bytes. | 2048 |
log_reduce_black_list | array | The fields in the blacklist that are used to cluster logs. This parameter is valid only if the log clustering feature is enabled. | |
| string | The field in the blacklist. | b |
log_reduce_white_list | array | The fields in the whitelist that are used to cluster logs. This parameter is valid only if the log clustering feature is enabled. | |
| string | The field in the whitelist. | a |