Welcome! Log In Create A New Profile

Advanced

Error_log format (json) or suggestions?

August 09, 2018 11:02PM
Howdy,

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?

Thanks!
--
Pablo
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Error_log format (json) or suggestions?

pfischer August 09, 2018 11:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 113
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 254 on July 05, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready