Domain name for API request: tcss.intl.tencentcloudapi.com.
This API is used to get the index list.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeIndexList. |
Version | Yes | String | Common Params. The value used for this API: 2020-11-01. |
Region | No | String | Common Params. This parameter is not required. |
Parameter Name | Type | Description |
---|---|---|
Data | String | ES index information |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: tcss.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeIndexList
<Common request parameters>
{}
{
"Response": {
"Data": "{\"indexSort\":{\"k8sapi logs\":[\"userlog-k8s-api\"],\"Container bash logs\":[\"userlog-container-bash\"],\"Container startup logs\":[\"userlog-container-start\"]},\"indexArr\":[\"userlog-container-bash\",\"userlog-container-start\",\"userlog-k8s-api\"],\"fieldArr\":[{\"_feature\":{\"_feature\":{\"type\":\"_feature\",\"searchable\":true,\"aggregatable\":false}},\"_field_names\":{\"_field_names\":{\"type\":\"_field_names\",\"searchable\":true,\"aggregatable\":false}},\"_id\":{\"_id\":{\"type\":\"_id\",\"searchable\":true,\"aggregatable\":true}},\"_ignored\":{\"_ignored\":{\"type\":\"_ignored\",\"searchable\":true,\"aggregatable\":false}},\"_index\":{\"_index\":{\"type\":\"_index\",\"searchable\":true,\"aggregatable\":true}},\"_routing\":{\"_routing\":{\"type\":\"_routing\",\"searchable\":true,\"aggregatable\":false}},\"_seq_no\":{\"_seq_no\":{\"type\":\"_seq_no\",\"searchable\":true,\"aggregatable\":true}},\"_source\":{\"_source\":{\"type\":\"_source\",\"searchable\":false,\"aggregatable\":false}},\"_type\":{\"_type\":{\"type\":\"_type\",\"searchable\":true,\"aggregatable\":true}},\"_version\":{\"_version\":{\"type\":\"_version\",\"searchable\":false,\"aggregatable\":false}},\"annotations\":{\"object\":{\"type\":\"object\",\"searchable\":false,\"aggregatable\":false}},\"annotations.authorization\":{\"object\":{\"type\":\"object\",\"searchable\":false,\"aggregatable\":false}},\"annotations.authorization.k8s\":{\"object\":{\"type\":\"object\",\"searchable\":false,\"aggregatable\":false}},\"annotations.authorization.k8s.io/decision\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"annotations.authorization.k8s.io/reason\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"apiVersion\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"appid\":{\"long\":{\"type\":\"long\",\"searchable\":true,\"aggregatable\":true}},\"auditID\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"container_id\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"container_name\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"event_time\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"image_id\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"image_name\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"insert_time\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"kind\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"level\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"objectRef\":{\"object\":{\"type\":\"object\",\"searchable\":false,\"aggregatable\":false}},\"objectRef.apiVersion\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"objectRef.namespace\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"objectRef.resource\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"quuid\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"requestReceivedTimestamp\":{\"date\":{\"type\":\"date\",\"searchable\":true,\"aggregatable\":true}},\"requestURI\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"responseStatus\":{\"object\":{\"type\":\"object\",\"searchable\":false,\"aggregatable\":false}},\"responseStatus.code\":{\"long\":{\"type\":\"long\",\"searchable\":true,\"aggregatable\":true}},\"sourceIPs\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"stage\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"stageTimestamp\":{\"date\":{\"type\":\"date\",\"searchable\":true,\"aggregatable\":true}},\"user\":{\"object\":{\"type\":\"object\",\"searchable\":false,\"aggregatable\":false}},\"user.groups\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"user.uid\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"user.username\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"userAgent\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"uuid\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"verb\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}}},{\"Action\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"Actor\":{\"object\":{\"type\":\"object\",\"searchable\":false,\"aggregatable\":false}},\"Actor.Attributes\":{\"object\":{\"type\":\"object\",\"searchable\":false,\"aggregatable\":false}},\"Actor.Attributes.image\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"Actor.Attributes.name\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"Actor.Attributes.org\":{\"object\":{\"type\":\"object\",\"searchable\":false,\"aggregatable\":false}},\"Actor.Attributes.org.label-schema\":{\"object\":{\"type\":\"object\",\"searchable\":false,\"aggregatable\":false}},\"Actor.Attributes.org.label-schema.build-date\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"Actor.Attributes.org.label-schema.license\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"Actor.Attributes.org.label-schema.name\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"Actor.Attributes.org.label-schema.schema-version\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"Actor.Attributes.org.label-schema.vendor\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"Actor.ID\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"Type\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"_feature\":{\"_feature\":{\"type\":\"_feature\",\"searchable\":true,\"aggregatable\":false}},\"_field_names\":{\"_field_names\":{\"type\":\"_field_names\",\"searchable\":true,\"aggregatable\":false}},\"_id\":{\"_id\":{\"type\":\"_id\",\"searchable\":true,\"aggregatable\":true}},\"_ignored\":{\"_ignored\":{\"type\":\"_ignored\",\"searchable\":true,\"aggregatable\":false}},\"_index\":{\"_index\":{\"type\":\"_index\",\"searchable\":true,\"aggregatable\":true}},\"_routing\":{\"_routing\":{\"type\":\"_routing\",\"searchable\":true,\"aggregatable\":false}},\"_seq_no\":{\"_seq_no\":{\"type\":\"_seq_no\",\"searchable\":true,\"aggregatable\":true}},\"_source\":{\"_source\":{\"type\":\"_source\",\"searchable\":false,\"aggregatable\":false}},\"_type\":{\"_type\":{\"type\":\"_type\",\"searchable\":true,\"aggregatable\":true}},\"_version\":{\"_version\":{\"type\":\"_version\",\"searchable\":false,\"aggregatable\":false}},\"appid\":{\"long\":{\"type\":\"long\",\"searchable\":true,\"aggregatable\":true}},\"container_id\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"container_name\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"event_time\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"from\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"id\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"image_id\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"image_name\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"insert_time\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"quuid\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"scope\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"status\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"time\":{\"long\":{\"type\":\"long\",\"searchable\":true,\"aggregatable\":true}},\"timeNano\":{\"lon g\":{\"type\":\"long\",\"searchable\":true,\"aggregatable\":true}},\"uuid\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}}},{\"_feature\":{\"_feature\":{\"type\":\"_feature\",\"searchable\":true,\"aggregatable\":false}},\"_field_names\":{\"_field_names\":{\"type\":\"_field_names\",\"searchable\":true,\"aggregatable\":false}},\"_id\":{\"_id\":{\"type\":\"_id\",\"searchable\":true,\"aggregatable\":true}},\"_ignored\":{\"_ignored\":{\"type\":\"_ignored\",\"searchable\":true,\"aggregatable\":false}},\"_index\":{\"_index\":{\"type\":\"_index\",\"searchable\":true,\"aggregatable\":true}},\"_routing\":{\"_routing\":{\"type\":\"_routing\",\"searchable\":true,\"aggregatable\":false}},\"_seq_no\":{\"_seq_no\":{\"type\":\"_seq_no\",\"searchable\":true,\"aggregatable\":true}},\"_source\":{\"_source\":{\"type\":\"_source\",\"searchable\":false,\"aggregatable\":false}},\"_type\":{\"_type\":{\"type\":\"_type\",\"searchable\":true,\"aggregatable\":true}},\"_version\":{\"_version\":{\"type\":\"_version\",\"searchable\":false,\"aggregatable\":false}},\"appid\":{\"long\":{\"type\":\"long\",\"searchable\":true,\"aggregatable\":true}},\"cmd\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"container_id\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"container_name\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"event_time\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"image_id\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"image_name\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"insert_time\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"quuid\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}},\"uuid\":{\"keyword\":{\"type\":\"keyword\",\"searchable\":true,\"aggregatable\":true}}}]}",
"RequestId": "49082d4a-71b4-4e32-9ca1-b33872a4a63a"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError | An internal error occurred. |
InternalError.MainDBFail | The database operation failed. |
InvalidParameter | The parameter is incorrect. |
本页内容是否解决了您的问题?