Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4718

Haproxy log limit 985 characters

$
0
0

I’m using log_format to JSON.

log-format ‘{“host”:"%H",“time”:"%Tl",“haproxy”:{“conn”:{“act”:%ac,“fe”:%fc,“be”:%bc,“srv”:%sc},“queue”:{“backend”:%bq,“srv”:%sq},“time”:{“tq”:%Tq,“tw”:%Tw,“tc”:%Tc,“tr”:%Tr,“tt”:%Tt},“termination_state”:"%tsc",“retries”:%rc,“network”:{“client_ip”:"%ci",“client_port”:%cp,“frontend_ip”:"%fi",“frontend_port”:%fp},“ssl”:{“version”:"%sslv",“ciphers”:"%sslc"},“request”:{“method”:"%HM",“uri”:"%[capture.req.uri]",“protocol”:"%HV",“header”:{“host”:"%[capture.req.hdr(0)]",“xforwardfor”:"%[capture.req.hdr(1)]",“referer”:"%[capture.req.hdr(2)]"}},“name”:{“backend”:"%b",“frontend”:"%ft",“server”:"%s"},“response”:{“status_code”:%ST,“header”:{“xrequestid”:"%[capture.res.hdr(0)]"}},“bytes”:{“uploaded”:%U,“read”:%B}}}’

But when I check /var/log/haproxy/haproxy.log output always limit 985 characters

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4718

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>