如何实时查看 aws 日志(如 tail -f) [英] how to view aws log real time (like tail -f)
本文介绍了如何实时查看 aws 日志(如 tail -f)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以使用以下命令查看日志.
I can view the log using the following command.
aws logs get-log-events --log-group-name groupName --log-stream-name streamName --limit 100
获取像tail -f
这样的功能的命令是什么,以便我可以实时查看日志
what is the command to get feature like tail -f
so that i can see the log real time
推荐答案
查看 awslogs.
如果您碰巧专门使用 Lambda/API 网关,请查看apilogs.
If you happen to be working with Lambda/API Gateway specifically, have a look at apilogs.
这篇关于如何实时查看 aws 日志(如 tail -f)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文