fluent / fluent-bit

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

MongoDB output plugin #8846

Open w4term3loon opened 4 months ago

w4term3loon commented 4 months ago

Is your feature request related to a problem? Please describe. Default MongoDB output plugin support.

Describe the solution you'd like MongoDB output plugin as a default plugin to ease the process of setting up the connection between such databases and Fluent-bit.

Describe alternatives you've considered For my use case, MongoDB is the optimal choice, hence I would rather not deviate.

Additional context This would be a useful feature for users, and another supported database would be a nice addition to the multiple supported ones. (e.g. PostgreSQL, BigQuery, Influx, etc.)

w4term3loon commented 4 months ago

Sorry, for the commit-hash changes, trying to organize the commits and had some mixup with my configs and commit authors.

lake2 commented 1 month ago

same issue here. I need a mongodb output pulgin.

lake2 commented 1 month ago

@w4term3loon Is there any chance to merge this into master

w4term3loon commented 1 month ago

Hi @lake2, unfortunately, I didn't have the time to continue on this feature but feel free to finish it! Merging it as is is impossible, since it is far from finished. It initialises the connection between fluent and MongoDB but dumping data is not implemented.