wallix / awless

A Mighty CLI for AWS
http://awless.io/
Apache License 2.0
4.97k stars 263 forks source link

Ability to tail cloudwatch logs #171

Open hc1jcarter opened 6 years ago

hc1jcarter commented 6 years ago

Would be nice to have to command something like:

awless tail logstream --follow stream=

Use case: Easily follow a log file after spinning up new instances/containers, or help with debugging

fxaguessy commented 6 years ago

Hi, Thanks for the suggestion.

There is actually an awless tail command (currently hidden by default), for similar use-cases, for example to tail autoscaling activities or cloudformation stack events. We can extend this command for your use case which is completely relevant.

However, this command was at first implemented very basically, as a PoC, this is why it is still hidden. Thus we first have to better design tailers in awless code, then it will be easier and cleaner to add new tailers, such as logstream.

nunofernandes commented 6 years ago

+1

simcap commented 6 years ago

@nunofernandes see #217 also