Nexus3 logs redirection to Graylog

Hello,

is it possible to redirect logs from Nexus3 to Graylog using for example GELF? How it should be implemented and where? How I could add additional jars to lib folder to use them?

Thanks and best regards,
Mateusz