全部產品
Search
文件中心

Simple Log Service:常見問題和錯誤排查

更新時間:Mar 14, 2026

本文介紹Log Service所提供的Elasticsearch相容介面的常見問題和錯誤排查方法。

重要

本文檔為阿里雲原創文檔,智慧財產權歸阿里雲所有,由於本文檔旨在介紹阿里雲與第三方產品互動的服務能力,因此可能會提及第三方公司或產品等名稱。

常見問題

Q:使用Elasticsearch相容介面時,Elasticsearch是否需要執行Index滾動?

A:不需要。一般情況下,Elasticsearch按天滾動Index,產生新的Index,從而避免單個Index過大問題。但是Log Service的LogStore容量上限較高,Elasticsearch不需要執行Index滾動。

常見錯誤

錯誤資訊

錯誤說明

處理方法

index config doesn't exist

對應的LogStore沒有開啟索引配置。

為目標LogStore建立索引,並且為需要分析的欄位設定欄位索引。具體操作,請參見建立索引

xxx is not configed in index

在Log Service中,沒有為xxx欄位配置欄位索引。

為需要分析的欄位設定欄位索引。具體操作,請參見建立索引

LogStore xxx does not exist"

對應的LogStore不存在。

檢查Elasticsearch的索引模式名稱是否配置正確。該名稱的正確命名規則為${Log ServiceProject名稱}.${Logstore名稱}

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

鑒權認證失敗。

檢查請求Elasticsearch相容介面時,是否正確配置了BasicAuth的UserName和Password。