All Projects → mmcquillan → lawsg

mmcquillan / lawsg

Licence: MIT license
The AWS Cloudwatch Log Viewer

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to lawsg

monitoring-jump-start
Monitor AWS resources with ease
Stars: ✭ 67 (+116.13%)
Mutual labels:  cloudwatch
awsctl
Control AWS infrastructure easily from a single command line written in Go
Stars: ✭ 97 (+212.9%)
Mutual labels:  cloudwatch
kubectl-tmux-logs
A kubectl plugin to display container logs within separate tmux panes
Stars: ✭ 19 (-38.71%)
Mutual labels:  logs
terraform-aws-ecs-web-app
Terraform module that implements a web app on ECS and supports autoscaling, CI/CD, monitoring, ALB integration, and much more.
Stars: ✭ 175 (+464.52%)
Mutual labels:  cloudwatch
terraform-aws-ecs-cloudwatch-sns-alarms
Terraform module to create CloudWatch Alarms on ECS Service level metrics.
Stars: ✭ 23 (-25.81%)
Mutual labels:  cloudwatch
lambda-watchtower
Serverless HTTP(S) Endpoint Monitoring With AWS Lambda & CloudWatch
Stars: ✭ 68 (+119.35%)
Mutual labels:  cloudwatch
cloudniite
AWS Lambda Optimization and Monitoring Tool
Stars: ✭ 25 (-19.35%)
Mutual labels:  cloudwatch
aws-o11y-recipes
recipes for observability solutions at AWS
Stars: ✭ 110 (+254.84%)
Mutual labels:  cloudwatch
fluent-plugin-cloudwatch-ingest
Alternative to ryotarai/fluent-plugin-cloudwatch-logs for ingesting AWS Cloudwatch logs via fluentd
Stars: ✭ 11 (-64.52%)
Mutual labels:  cloudwatch
tutorials
Tutorials
Stars: ✭ 80 (+158.06%)
Mutual labels:  logs
sensu-plugins-aws
This plugin provides native AWS instrumentation for monitoring and metrics collection, including: health and metrics for various AWS services, such as EC2, RDS, ELB, and more, as well as handlers for EC2, SES, and SNS.
Stars: ✭ 79 (+154.84%)
Mutual labels:  cloudwatch
ax
A CLI tool to query structured logs, including Kibana, Cloudwatch, Stackdriver, Docker and plain JSON file logs.
Stars: ✭ 51 (+64.52%)
Mutual labels:  cloudwatch
Awesome Aws
A curated list of awesome Amazon Web Services (AWS) libraries, open source repos, guides, blogs, and other resources. Featuring the Fiery Meter of AWSome.
Stars: ✭ 9,895 (+31819.35%)
Mutual labels:  cloudwatch
aws-lambda-http-check
Lambda function to check http endpoint wrapped in serverless project
Stars: ✭ 30 (-3.23%)
Mutual labels:  cloudwatch
amazon-cloudwatch-auto-alarms
Automatically create and configure Amazon CloudWatch alarms for EC2 instances, RDS, and AWS Lambda using tags for standard and custom CloudWatch Metrics.
Stars: ✭ 52 (+67.74%)
Mutual labels:  cloudwatch
gozeit
GoZeit
Stars: ✭ 19 (-38.71%)
Mutual labels:  cloudwatch
2021-nolto
부담없이 자랑하는 작고 소중한 내 프로젝트 🧸✨
Stars: ✭ 34 (+9.68%)
Mutual labels:  cloudwatch
cloudwatch-dashboards-cloudformation-sample
A sample project to demonstrate using Cloudformation, how to create and configure CloudWatch metric filters, alarms and a dashboard to monitor an AWS Lambda function.
Stars: ✭ 61 (+96.77%)
Mutual labels:  cloudwatch
monolog-gdpr
Some Monolog processors that help with GDPR compliance
Stars: ✭ 49 (+58.06%)
Mutual labels:  logs
terraform-aws-cloudwatch-logs
Terraform Module to Provide a CloudWatch Logs Endpoint
Stars: ✭ 59 (+90.32%)
Mutual labels:  cloudwatch

lawsg - The AWS Cloudwatch Logs Viewer

Why another cloudwatch CLI?

  • Query one or more Cloudwatch groups
  • Advanced formatting to help you find what you need
  • Highlight keywords in Green, Yellow or Red to capture your attention
  • Display preferences via command line flags, env variables or a config file
  • Help for when you can't quite remember the group name

Get Started

  1. Install on Mac via brew: brew install mmcquillan/tools/lawsg
  2. Alternatively compile via go: go get github.com/mmcquillan/lawsg
  3. Ensure you set your AWS Environment Variables:
    • AWS_REGION
    • AWS_ACCESS_KEY_ID
    • AWS_SECRET_ACCESS_KEY
  4. Get started with: lawsg help more
  5. Enjoy all your wonderful logs!

Features

USAGE:
  lawsg help [ more | <topic name> ]
  lawsg groups [options]
  lawsg streams <group name> [options]
  lawsg get <group name> [options]
  lawsg version

FILTER OPTIONS:
  -f --filter         Cloudwatch Filter for Event Logs
  -m --stream         Comma delimited list of Streams
  -s --starttime      Start Time for the Event Logs [default: 10 min before now]
  -e --endtime        End Time for the Event Logs [default: now]
  -n --number         Number of Log Events to show
  -t --tail           Active tailing of Event Logs

DISPLAY OPTIONS:
     --tz             Convert Event Log display to local time
     --spacing        Adds spacing between Log Events
     --ng             Display No Group column
     --ns             Display No Stream column
     --nt             Display No Time column
     --nc             Display No Color
     --nw             Display No Wrapping of lines (truncates)
     --stream-ltrim   Trims Left side of Stream Name
     --stream-rtrim   Trims Right side of Stream Name
     --message-ltrim  Trims Left side of Event Message
     --message-rtrim  Trims Right side of Event Message
     --multi-line     Handles multiple logs entries in one Event Message
     --green          Comma delimited Words to highlight Green
     --yellow         Comma delimited Words to highlight Yellow
     --red            Comma delimited Words to highlight Red

ADVANCED OPTIONS:
  -c --command        Command to run groups, streams, get, help (or first argument)
  -g --group          Group for the command (or second argument)
     --chunk          Chunk size for retrieving Event Logs [default: 10000]
     --sortkey        Add each line with a sortable time based key [default: false]
     --refresh        Tail Refresh interval in seconds [default: 5]
     --region         Override or set the AWS Region
     --env            Environment prefix multiple AWS ENV Vars (ex: STAGING_AWS_REGION)
     --stats          Display Stats from request
     --debug          Debug of Output

More Detailed Features and Help...

Releases

v0.3.0

  • Added --env var for multiple AWS ENV vars
  • Added --region var for overriding or setting the AWS region
  • Added messaging if Start Time is parsed incorrectly
  • Added --sortkey to prefix each line with the epoch timestamp for sorting

v0.2.0

  • Added get for multiple or all log groups
  • Added a countdown before update on the tail option

v0.1.1

  • Added the multi-line formatting option to handle multiple log entries per Event Message
  • Fixed a help issue

v0.1.0

  • Initial release
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].