Queries the index configuration of a storeview by name. Only storeviews of the Logstore type are supported.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:GetStoreViewIndex |
get |
*All Resource
|
None | None |
Request syntax
GET /storeviews/{name}/index HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| name |
string |
Yes |
The name of the storeview. |
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 storeview. |
||
| indexes |
array<object> |
The list of index configurations. |
|
|
object |
The index configuration. |
||
| index | index |
The index configuration of the Logstore. |
|
| logstore |
string |
The name of the Logstore. |
my-logstore |
| project |
string |
The name of the project to which the Logstore belongs. |
example-project |
Examples
Success response
JSON format
{
"indexes": [
{
"index": {
"keys": {
"key": {
"alias": "myAlias",
"caseSensitive": true,
"chn": true,
"doc_value": true,
"embedding": "",
"index_all": true,
"json_keys": {
"key": {
"alias": "myAlias",
"caseSensitive": true,
"chn": true,
"doc_value": true,
"token": [
"|"
],
"type": "text"
}
},
"max_depth": 0,
"token": [
"|"
],
"type": "text",
"vector_index": ""
}
},
"line": {
"auto_key_detect": false,
"auto_text_keys": [
"host"
],
"caseSensitive": true,
"chn": false,
"exclude_keys": [
"excludeField"
],
"include_keys": [
"includeField"
],
"token": [
","
]
},
"log_reduce": true,
"log_reduce_black_list": [
"time"
],
"log_reduce_white_list": [
"name"
],
"max_text_len": 2048,
"scan_index": false
},
"logstore": "my-logstore",
"project": "example-project"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.