Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💡 Allow mapping request and response logs in cloudflared tail #1308

Open
tomelliot opened this issue Aug 8, 2024 · 0 comments
Open

💡 Allow mapping request and response logs in cloudflared tail #1308

tomelliot opened this issue Aug 8, 2024 · 0 comments
Labels
Priority: Normal Minor issue impacting one or more users Type: Feature Request A big idea that would be split into smaller pieces

Comments

@tomelliot
Copy link

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))}'

@tomelliot tomelliot added Priority: Normal Minor issue impacting one or more users Type: Feature Request A big idea that would be split into smaller pieces labels Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Normal Minor issue impacting one or more users Type: Feature Request A big idea that would be split into smaller pieces
Projects
None yet
Development

No branches or pull requests

1 participant