Hi all,

would it be feasible to have the nginx error log in JSON format?

I personally wouldn't mind, if the message emitted by ngx.debug("msg") is still a big string. If the meta-information would be in JSON, it would save writing a custom parser for the messages.

I'm currently thinking about parsing the error log into an ELK and it feels to be a PITA.

For the access log, I've already configured it as escape=json and it works like a bliss with Elasticsearch and any logpipeline.

I haven't any matching ticket in trac.nginx.org yet. Do you have any thoughts?

Kind regards,
Benedikt
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to