AWS Cloudwatch Logs CLI tool
'cwl -h' for help
AWS Cloudwatch Logs CLI tool
it looks like we are doing the filter on our side instead of passing the filter to AWS. we should use the FilterLogEvents.
cwltail worked fine, but it appears that the tail command isn't working here. @orthagonal can you investigate?
want to create a simple lib that makes dealing with cloudwatch logs easier. We have this https://github.com/firstandthird/cwltail for tailing logs and https://github.com/firstandthird/aws-cli-utils/blob/master/lib/logs.js we had previously. So we create a single helper tool to handle that. I'm thinking we should list out the commands and what they do before we get going.
//cc @ecwillis @orthagonal
cwl groups
- list cloudwatch log groupscwl streams [groupname]
- list streamscwl tail [groupname] [?streamname]
- grab the last 10 mins of logs and then fetch every few seconds - pull in from cwltailcwl
by itselfenv.AWS_ACCESS_KEY_ID
and env.AWS_SECRET_ACCESS_KEY
cwl search [groupname] [query]
- search group of logs for a specific query. need to figure out how to include streamname too.cwl metric [groupname] [filtername]
- get the metric filter query and then do a searchcwl cleanup [groupname] [days]
- remove streams that haven't had logs in the last X dayspurdy
to pretty print if json. would be nice to color code nginx/apache logssometimes I don't know if it's broken or still searching.
paginate through all logs starting from newest to oldest. Maybe show last 50 logs and then have enter key show the next 50
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.