Viewing Traefik's JSON Log File¶
The following will report the client's address, the request method, and the full request URI.
tail -f traefik.json \
| jq -c '[ .ClientAddr, .RequestMethod, "\(.RequestHost)\(.RequestPath)" ]'
The following will report the client's address, the request method, and the full request URI.
tail -f traefik.json \
| jq -c '[ .ClientAddr, .RequestMethod, "\(.RequestHost)\(.RequestPath)" ]'