Export Messages

Hi,

I’d like to export the raw message data. CSV Export is okay but it adds a timestamp and puts the message data in quotation marks but I’d like to refine this further. I’ve had a quick google but the best I can see is from 2014 and it says to create an output plugin. Is that still my best bet or will there be one in the market place? Or is there a better way?

Thanks

CSV export is the best you can do without further customizing Graylog with a plugin.

You could also try using the STDOUT output and create a custom appender for org.graylog2.outputs.LoggingOutput in the log4j2.xml file, but that has the caveat that it only works for new incoming messages and you would need to post-process the output, too.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.