This topic provides answers to some frequently asked questions (FAQ) about the Elasticsearch-compatible API of Simple Log Service. This topic also describes the common errors and how to troubleshoot the errors.
This topic is proprietary information of Alibaba Cloud, and describes the capabilities that are provided by Alibaba Cloud to interact with third-party services. Therefore, the names of third-party companies and services may be referenced in this topic.
FAQ
Q: Does Elasticsearch need to perform index rollovers when I call an Elasticsearch-compatible API operation?
A: No. Typically, Elasticsearch performs a daily index rollover to create new indexes and prevent any single index from becoming too large. However, Simple Log Service Logstores have a high capacity limit, making index rollover unnecessary.
Common errors
Error message |
Description |
Solution |
index config doesn't exist |
The index configuration is not enabled for the specified Logstore. |
Create an index for the target Logstore and configure a field index for the fields you want to analyze. For more information, see Create indexes. |
xxx is not configed in index |
The field indexing feature is not enabled for the xxx field in Simple Log Service. |
Configure field indexes for the fields that you want to analyze. For more information, see Create indexes. |
|
LogStore xxx does not exist |
The specified Logstore does not exist. |
Verify that the Elasticsearch index pattern is named correctly. The correct naming format is |
please set user/password, use Aliyun accessKeyId/accessKeySecret as user/password |
The authentication failed. |
Check whether the UserName and Password parameters in BasicAuth are valid when you call an Elasticsearch-compatible API operation. |