Plugin wordpress for graylog


#1

Hello ladies and gentlemen,

I’um using graylog for somes websites and now i want to developp a plugin for wordpress to analyze my logs.

I’m using the library gelfphp but i don’t know how to activate my functions when an error occured in my website.

Someone had the same problem ?


(Jochen) #2

A quick search on the WordPress plugin registry revealed this plugin:

Other than that, you could probably just read the error log file of PHP with Filebeat or NXLOG and send its contents to Graylog:
https://codex.wordpress.org/Editing_wp-config.php#Configure_Error_Logging


#3

Hello jochen, thanks you for your help.

I already find Apstreamtogelf , but i want devellop a plugin for myself, it’s a challenge for me : ) .


(Jochen) #4

Then maybe you should ask questions about writing WordPress plugins in the WordPress community. :wink:
https://wordpress.org/support/forum/wp-advanced/


(system) #5

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