-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Logs unable to reach OpenSearch #5275
Comments
Hi @zander312 , seems like your fluentbit having some trouble when pushing the logs to your es output. you can try enable error tracing on your es output plugin like this for better debugging
|
Enabling error tracing is probably the right way to tackle this problem. Please reopen if you have more details and think there might be a problem in OpenSearch. |
@andrross @kmdrn7 we were able to solve the issue, there were issues with the health of the OpenSearch cluster and we had run out of space for indexes. However, one thing that concerned me was that we were receiving 200 responses back from the OpenSearch cluster. As you can see from the logs I attached. We were receiving these 200 responses even though the actual operation was failing on the OpenSearch side. I would have expected a better response code that indicates a failure. The AWS ElasticSearch team pointed out that it is a bulk API and that is why were receiving 200 responses back. But I am still a bit puzzled about that functionality. |
Check out the documentation for the bulk API. Since it is a batch-style request, you have to look at the per-item responses since partial failures are possible. More detailed status codes are available for each item. |
Bug Report
Describe the bug
We have Fluentbit sidecars, the logs are unable to reach OpenSearch. We see no errors in Fluentbit logs. We do not understand what is happening because we see no errors in the Fluentbit container logs.
Fluentbit Sidecar Log Message:
Fluentbit Configmap:
Expected behavior
Ability to send logs to OpenSearch, errors produced when unable to send logs to OpenSearch
Your Environment
The text was updated successfully, but these errors were encountered: