Send HTTP logs over mTLSv3.15+

Send HTTP logs over mTLS by configuring a client certificate for mutual TLS authentication with the log server.

For a complete how-to guide that shows how to set up a log server with mTLS and send Kong Gateway logs to it, see Configure HTTP logging over mTLS.

Prerequisites

  • You have a log server with mTLS enabled.

  • You have added a client Certificate entity to Kong Gateway containing the certificate and private key to present to the log server.

  • You have configured Kong Gateway to trust the CA that signed the log server’s certificate using lua_ssl_trusted_certificate.

Environment variables

  • LOG_SERVER_URL: The HTTPS endpoint of the log server that receives Kong Gateway logs.

  • CLIENT_CERT_ID: The ID of the client Certificate entity in Kong Gateway.

Set up the plugin

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!