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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则