cloudflare / cloudflare/cloudflared
💡 Allow mapping request and response logs in `cloudflared tail`
- Dominant language
- Go
- Stars
- 15.6k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
**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))}'`
Contributor guide
Assessment
This issue has not been assessed yet.