如何实时查看AWS日志(如tail -f) [英] how to view aws log real time (like tail -f)

查看:923
本文介绍了如何实时查看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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆