-
Notifications
You must be signed in to change notification settings - Fork 202
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
Fluent-bit is unable to read logs and send it to data prepper #4735
Comments
Thanks for providing this issue. Can you share the error message from Fluent Bit, that you are receiving. In your configuration, I would have expected the path in the
Maybe Fluent BIt is just unable to find your log file. |
Path is right, actually test.log is in same folder as docker files. |
@jayeshjeh , Thank you for this issue. Including the logs from FluentBit can help us understand the error as it may have some additional information such as the response status. |
All i was getting was:
no errors were displayed, also the path is right with necessary permissions to the file. |
Maybe it would be helpful to see the metrics reported by your DataPrepper instance. After the ingestion attempt, could you query the metrics endpoint as documented here and provide the result? |
I am still not convinced, that the path is right. My understanding of your configuration is the following: You mounted the file |
Hello Sir, alot thanks.. it was very very silly mistake.. i was checking path in fluent docker compose. |
attaching docker compose for fluentbit, opensearch & opensearch dashboard
fluent-bit.conf
docker compose for data prepper
[if i use depends upon i get error]
test.log file has necessary permissions.
Fluent-bit
Opensearch
Opensearch-dashboards
dataprepper
all are running without any error but fluent-bit is not able to read the test.log file
The text was updated successfully, but these errors were encountered: