DEV Community

Yoandy Rodriguez Martinez
Yoandy Rodriguez Martinez

Posted on • Originally published at yorodm.github.io on

2 1

awstail: AWS Logs a la vieja usanza

awstail es una herramienta muy simple que cumple dos funciones:

  1. Darme la excusa para aprender Rust.
  2. Monitorear un grupo de logs en AWS Cloudwatch desde la terminal.

Por el momento, estas son las opciones que permite la herramienta:

awstail 0.3.0
Yoandy Rodriguez <yoandy.rmartinez@gmail.com>
like tail -f for AWS Cloudwatch

USAGE:
    awstail.exe [OPTIONS] <LOG_GROUP>

FLAGS:
    -h, --help Prints help information
    -V, --version Prints version information

OPTIONS:
    -p <PROFILE> Profile if using other than 'default'
    -r <REGION> AWS region (defaults to us-east-1)
    -s <SINCE> Take logs since a given time (defaults to 5 minutes)
    -w <WATCH> Keep watching for new logs every n seconds (defaults to 10)

ARGS:
    <LOG_GROUP> Log group name
Enter fullscreen mode Exit fullscreen mode

Posibles opciones futuras:

  1. Agregar logs de más de un grupo.
  2. Color diferenciado para mensajes de error.
  3. Listar grupos de logs existentes.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay