Is there any better command line tail tool for aws cloudwatch logs? I created one for a try

2

I missed the tail -f of old days. aws logs tail command is the closest solution. It has two limitations: 1. It can't format timestamp to your local time. 2. it can't filter by arbitrary string inside the log stream names (it only filter prefix)

I just created one and now I am happily using it in my cloudshell. I wish I am not totally reinvented the wheel, but I couldn't find an quick solution. https://github.com/xychenmsn/awstool

It is basically just a shell script file and the basic usage is: tail_aws_logs -g <log_group_name> -s <stream_pattern> -h <history_minutes> -t <timezone> -p <poll_interval_seconds>

Please give some feedback.

1개 답변
0

Here are the resources I'm familiar with:

profile picture
전문가
답변함 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠