💡 Allow mapping request and response logs in cloudflared tail
#1308
Labels
Priority: Normal
Minor issue impacting one or more users
Type: Feature Request
A big idea that would be split into smaller pieces
Describe the feature you'd like
Combining related HTTP request and response logs onto a single line, or providing info in both lines to allow mapping them together.
Describe alternatives you've considered
None that I know of - as far as I know there's no information in the
cloudflared tail
output that allows mapping between a request and the response.Additional context
I'm currently using a one-liner to try and clean up the output and make it easier to parse.
cloudflared tail --output=json xyz | jq -r --unbuffered '[.time, (.fields.path // "none"), .message] | @tsv' | awk '{printf "%-25s %-40s %-s\n", $1, $2, substr($0, index($0, $3))}'
The text was updated successfully, but these errors were encountered: