The filebeat shows this error after upgrading the OpenSearch to 2.0.0
2022-05-31T23:38:55.864Z ERROR [elasticsearch] elasticsearch/client.go:224 failed to perform any bulk index operations: 400 Bad Request: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Action/metadata line [1] contains an unknown parameter [_type]"}],"type":"illegal_argument_exception","reason":"Action/metadata line [1] contains an unknown parameter [_type]"},"status":400}
To Reproduce
Upgrade the OpenSearch from 1.3 to 2.0
- OS: CentOS 7.9
- Version : OpenSearch 2.0.0
- Filebeat 7.10.2-1 and 7.12.1-1
Are these related?
#2979 (comment)
#3131