[feature request] kubeapi-load-balancer's nginx can configure json formatted logs via charm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubernetes API Load Balancer |
New
|
Undecided
|
Unassigned |
Bug Description
One of UA customer request a feature that kubeapi-
The customer make a general propose as below:
name: nginx_log_format
description: Adds a 'log_format' with the contents of the config value. The log_format will be named 'json_config' and applied to the loadbalancer site's 'server' stanza.
example value: '{'\n '"time_
example changes this would implement in nginx:
in /etc/nginx/
+ log_format json_combined escape=json ${value}
in /etc/nginx/
- access_log /var/log/
+ access_log /var/log/