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

Access Logs in JSON format: answer as stream with since/until options #836

Open
davlgd opened this issue Oct 17, 2024 · 0 comments
Open

Comments

@davlgd
Copy link
Contributor

davlgd commented Oct 17, 2024

If I asked for access logs in JSON format with since/until options, the output is a JSON formatted objet in a stream waiting for more. AS there is a --until I should just get an answer.

You can get this behavior with:

cb accesslogs --app APP_NAME --since 1w --until 1h --format json
cb accesslogs --app APP_NAME --since 2h --until 1h --format json
cb accesslogs --app APP_NAME --until 1h --F json

In verbose mode, I see the stream open, and then nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant