fluent/fluentd ? reverse-engineered prompt
Reverse engineered prompt
Build me a Ruby based log collector that can take events from different places, like app logs or JSON input, and send them somewhere else, like files or a database. I want it to feel like a simple unified logging layer, where I can start it with a config file, add a few sample sources and outputs, and then test it by piping in a JSON message from the command line.
Please include a basic default config, a way to generate sample config files, a small example setup, and tests so I can run the project and see it working. Make the project easy to extend later so different inputs and outputs can be added cleanly. If you need to check current Ruby or gem best practices, look up the latest docs online.
Are you gonna build this?
make sure you review the code using coderabbit