All Products
Search
Document Center

Simple Log Service:FAQ and troubleshooting

Last Updated:Jun 08, 2026

Common questions and error solutions for the SLS Elasticsearch-compatible API.

Important

This topic is proprietary to Alibaba Cloud and describes Alibaba Cloud capabilities for interacting with third-party services. Third-party company and service names may appear in this topic.

FAQ

Q: Are index rollovers required when using the Elasticsearch-compatible API?

A: No. Elasticsearch typically performs daily index rollovers to prevent indexes from growing too large. SLS Logstores support a much higher capacity limit, so rollovers are unnecessary.

Common errors

Error message

Description

Solution

index config doesn't exist

The Logstore does not have indexing enabled.

Create an index for the Logstore and configure field indexes for the fields to analyze. Create indexes.

xxx is not configed in index

No field index is configured for the xxx field.

Configure field indexes for the fields to analyze. Create indexes.

LogStore xxx does not exist

The specified Logstore does not exist.

Verify that the Elasticsearch index pattern name follows the correct format: ${Project name}.${Logstore name}.

please set user/password, use Aliyun accessKeyId/accessKeySecret as user/password

Authentication failed.

Verify that the UserName and Password in BasicAuth are set correctly.