Skip to content

how to customze kong gateway logs (helm install method) #13750

Closed Answered by linzj3
linzj3 asked this question in Help
Discussion options

You must be logged in to vote

i take two of env in values.yaml, it's mistake.... change to like it:
env:

data_plane nodes do not have a database

role: data_plane
database: "off"
log_level: notice
router_flavor: "traditional_compatible"
nginx_worker_processes: "4"
proxy_access_log: /dev/stdout
proxy_access_log: /dev/stdout custom_format
#nginx_http_log_format: custom_format escape=json '{"@timestamp":"$time_iso8601","host":"$host","request":"$request","request_body":"$request_body","remote_addr":"$remote_addr","uri":"$uri","upstream_addr":"$upstream_addr","request_time":"$request_time","upstream_status":"$upstream_status","upstream_header_time":"$upstream_header_time","upstream_response_time":"$upstream_response_time",…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ProBrian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants