Queries the indexes of a dataset by using the name of the dataset. Only datasets of the logstore type are supported.
Try it now
Test
RAM authorization
Request syntax
GET /storeviews/{name}/index HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| name |
string |
Yes |
The name of the dataset. |
my_storeview |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the project. |
example-project |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The index configurations of all Logstores in the dataset. |
||
| indexes |
array<object> |
The index configurations. |
|
|
object |
|||
| project |
string |
The name of the project to which the Logstore belongs. |
example-project |
| logstore |
string |
The name of the Logstore. |
my-logstore |
| index | index |
The index configurations of the Logstore. |
Examples
Success response
JSON format
{
"indexes": [
{
"project": "example-project",
"logstore": "my-logstore",
"index": {
"max_text_len": 2048,
"log_reduce_white_list": [
"name"
],
"log_reduce_black_list": [
"time"
],
"line": {
"chn": false,
"caseSensitive": true,
"token": [
","
],
"include_keys": [
"includeField"
],
"exclude_keys": [
"excludeField"
]
},
"keys": {
"key": {
"chn": true,
"caseSensitive": true,
"alias": "myAlias",
"type": "text",
"doc_value": true,
"index_all": true,
"max_depth": 0,
"embedding": "",
"vector_index": "",
"token": [
"|"
],
"json_keys": {
"key": {
"chn": true,
"caseSensitive": true,
"token": [
"|"
],
"alias": "myAlias",
"type": "text",
"doc_value": true
}
}
}
},
"log_reduce": true,
"scan_index": false
}
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.