fluent / fluent-bit

Fast and Lightweight Logs and Metrics processor for Linux, BSD, OSX and Windows
https://fluentbit.io
Apache License 2.0
5.86k stars 1.59k forks source link

Porting fluent-bit on QNX OS #8757

Closed dantunan closed 3 months ago

dantunan commented 6 months ago

Is your feature request related to a problem? Please describe. We would like to make fluent-bit to run on QNX OS, currently it is not a platform that fluent-bit supports.

Describe the solution you'd like It would be great to see fluent-bit being able to support embedded OS other than embedded linux, for example QNX, VXWorks, etc. They are widely used in the industry for device control, which is in good demand for observability.

Describe alternatives you've considered The alternative solution could be a clear process of how to port fluent-bit to other OS, so developers can do that easier.

Additional context Recently we have been trying to make fluent-bit to work on QNX7.1, which is a safety critial real time OS, it is partially working, we are seeing it working with input plugins like tail, http, etc. and stdout output, but when the http-output-plugin is enabled, it crashes with malloc check failure as soon as flushing out any message, it seems the the data in the heap has been corrupted, Any hint about how to fix the issue would be much appreciated.

Our code can be found in fluent-bit-for-qnx


Bug Report of our modified code in fluent-bit-for-qnx

Describe the bug We built our code into a executable and make it run in QNX 7.1 x86_64 environment using in-tail-plugin and out-http-plugin to monitor a log file, and send any new added log to a linux server running fluent-bit with in-http-plugin and stdout-plugin, once any log is added into this log file, the fluent-bit in QNX crashes.

To Reproduce

Expected behavior Fluent-bit is able to run in QNX 7.1 with both in-tail-plugin and out-http-plugin working

Screenshots image

Your Environment

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

github-actions[bot] commented 3 months ago

This issue was closed because it has been stalled for 5 days with no activity.