I'm trying to output all the logs from a Graylog server stream to a mongodb server. There is a jdbc output plugin that stream to RDBMS using jdbc but how to save the logs to Mongodb. Graylog is saving configuration data and stream configuration to mongodb and logs at elastic search but I want to also save the logs to mongodb server for audit trail purpose.
Does somebody have an idea on how I could do it ?