how to view aws log real time (like tail -f)

后端 未结 11 553
执笔经年
执笔经年 2021-01-31 01:13

I can view the log using the following command.

aws logs get-log-events --log-group-name groupName --log-stream-name streamName --limit 100

wha

11条回答
  •  别那么骄傲
    2021-01-31 02:04

    To tail CloudWatch Logs effectively I created a tool called cw.

    It's super easy to install (it supports brew, snap and scoop), fast (it targets the specific hardware architecture, no intermediate runtime) and it has a set of features that make life easier.

    Your example with cw would be:

    cw tail -f groupName:streamName
    

提交回复
热议问题