Dear Maintainer,
I use rsyslog omelasticsearch plugin to feed logs to Opensearch 2.0. It works well when bulkmode is turned off. But it throws errors when bulkmode is on, with example below,
{ "request": { "url": "https:\/\/localhost:9200\/_bulk", "postdata": "{\"index\":{\"_index\": \"special-2022.06.23\",\"_type\":\"_doc\"}}\n{\"time\":\"2022-06-23T16:25:36.266848+12:00\",\"timereceived\":\"2022-06-23T16:25:36.266848+12:00\",\"severity\":\"INFO\",\"tag\":\"systemd[1]\", \"msg\": \"Started System Logging Service.\", \"pname\": \"systemd\", \"host\": \"host123\", \"fromhost\": \"host123\", \"fac\": \"daemon\", \"pri\": \"30\" }\n\n" }, "reply": { "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 } }
I have reported this problem upstream, see bug report in https://github.com/rsyslog/rsyslog/issues/4908
What I have observed so far is the latest rsyslog v8.2206.0 has fixed this problem. Is there a plan to make this version available soon to Debian stable or backport?