I am using fluent bit to stream logs from Kubernetes to OpenSearch (AWS). I have deployed via the Helm charts and have configured the output as below
[OUTPUT]
Name opensearch
Match *
Host aws-domain-name.region.es.amazonaws.com
Port 443
Index k8s-index
Type my_type
tls on
tls.verify off
HTTP_User redacted
HTTP_Passwd redacted
This gives me the following error
[2022/09/27 11:52:19] [error] [output:opensearch:opensearch.0] HTTP status=401 URI=/_bulk
The user has been created in OpenSearch with all_access
. This was originally deployed using IAM roles but was replaced with HTTP username and password to try and simplify the troubleshooting