AWS Opensearch 1.2.4 with Filebeats OSS

0

Hi,

Im trying to connect filebeat to AWS Opensearch, but keep hitting template issues. Filebeats errors with the following:

Connection marked as failed because the onConnect callback failed: error loading template: could not load template. Elasticsearch returned: couldn't load template: 400 Bad Request: {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters:  [_default_]

If I manually export the template and load it into Opensearch I get the following:

{"error":{"root_cause":[{"type":"x_content_parse_exception","reason":"[1:51] [index_template] unknown field [mappings]"}],"type":"x_content_parse_exception","reason":"[1:51] [index_template] unknown field [mappings]"},"status":400

I would have assumed there is an out the box version of filebeat-oss that is compatible with Opensearch 1.2.4

Any suggestions?

Thanks

질문됨 2년 전1568회 조회
1개 답변
1

Resolved using the compatibility mode setting

PUT /_cluster/settings
{
  "persistent" : {
    "compatibility.override_main_response_version" : true
  }
}
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인