ingress-nginx-helm/controllers/nginx/pkg
Cory Klein fa70e5e905 Make log format json escaping configurable
This will allow json logging in nginx ingress controllers which greatly
improves ease of log indexing and searching via elasticsearch.

After this change is made, users could set the following property in the
ingress configmap to enable json logging:

log-format-upstream: '{"proxy_protocol_addr": "$proxy_protocol_addr", "proxy_add_x_forwarded_for": "$proxy_add_x_forwarded_for", "remote_user": "$remote_user", "time_iso8601": "$time_iso8601", "request": "$request", "status": "$status", "body_bytes_sent": "$body_bytes_sent", "http_referer": "$http_referer", "http_user_agent": "$http_user_agent", "request_length": "$request_length", "request_time": "$request_time", "proxy_upstream_name": "$proxy_upstream_name", "upstream_addr": "$upstream_addr", "upstream_response_length": "$upstream_response_length", "upstream_response_time": "$upstream_response_time", "upstream_status": "$upstream_status"}'
2017-06-09 15:32:11 -06:00
..
cmd/controller Update sniff parser to fix index out of bound error 2017-05-26 14:25:06 -04:00
config Make log format json escaping configurable 2017-06-09 15:32:11 -06:00
metric/collector Build namespace and ingress class as label 2017-04-04 16:23:40 +02:00
template Merge pull request #829 from rlguarino/ross/2017-06-08T18-48-35-07-00 2017-06-09 13:21:30 -04:00
version Split implementations from generic code 2016-11-23 21:17:49 -03:00