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

和 tail -f | jq 配合使用 #204

Open
tearfulDalvik opened this issue Jan 9, 2025 · 0 comments
Open

和 tail -f | jq 配合使用 #204

tearfulDalvik opened this issue Jan 9, 2025 · 0 comments

Comments

@tearfulDalvik
Copy link

tearfulDalvik commented Jan 9, 2025

这个命令会卡最后几行不输出。当 tail 更新了新的内容时,会输出之前卡住的和新的内容,然后又卡新数据最后的几行。像是有缓冲区没输出的感觉
tail -f access.log | jq . | nali

但是,这些命令没有问题:
tail -f access.log | nali
jq . access.log | nali

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