Welcome! Log In Create A New Profile


Error_log format (json) or suggestions?

Posted by Pablo Fischer 
Pablo Fischer
Error_log format (json) or suggestions?
August 10, 2018 05:10AM

I've a project that I need to send the error log but it only accepts
json format (I know I know), in the past I used logstash but right now
that is not an option so looking to see if anyone has done any patch
or ways to go around it.

Ideally this should either be any of:

a) Log to current error_log as json (through a patch)
b) Or log to the current error_log in the current format and have a
separate process that processes it and creates a new log file with the
json format (we are fine with ending with two files)

Any ideas?

nginx mailing list
Sorry, only registered users may post in this forum.

Click here to login