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 Answer
0

Here are the resources I'm familiar with:

profile picture
EXPERT
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions