Tcp Access Log
Structured JSON logging of TCP connection events (connect and disconnect)
Category: Practical
Task: Structured JSON logging of TCP connection events (connect and disconnect)
Prerequisites: The product runtime and any backend services referenced by this configuration.
Run it: Use ghcr.io/praxis-proxy/praxis:0.7.2 and follow the first reverse-proxy tutorial to mount and start the configuration.
This configuration comes from the selected release. The example has not been run here; external services are not bundled.
Download the source file.
# TCP Access Log
#
# Structured JSON logging of TCP connection events (connect
# and disconnect). Works on TCP listeners.
#
insecure_options:
allow_private_upstreams: true
listeners:
- name: db
address: "127.0.0.1:5432"
protocol: tcp
upstream: "127.0.0.1:15432"
filter_chains:
- logging
filter_chains:
- name: logging
filters:
- filter: tcp_access_log