lazywithclass / egon Goto Github PK
View Code? Open in Web Editor NEWCombines multiple AWS CloudWatch Logs streams
Combines multiple AWS CloudWatch Logs streams
In https://github.com/lazywithclass/egon/blob/master/lib/cross-streams.js#L13 I'm calling eventsHandler
with the current batch of events, it might be better to call that from crossStreams
, but that would probably mean to buffer events in memory, which is a big no-no.
Instead of accepting a log group name it should accept a params object that resembles
var params = {
logGroupName: '/var/log/haproxy.log',
startTime: start.getTime(),
endTime: end.getTime(),
startFromHead: true
};
When install egon
produces the
npm WARN package.json [email protected] No repository field.
warning.
Remove it.
You might have to end up with having to support various configuration options as winston-cloudwatch, even though this time it would be good to keep it sane and tidy.
Disclaimer: I am not a user of this package, this was found during mass npm package downloading.
Atm, your npm package [email protected]
has packaged size 20.88 MiB, and installed size 231.61 MiB.
231.57 MiB of that is consumed by the file ./out
(looks like some requests log file, something about Android, Motorolla TC55, battery, elemez.apk, etc.).
I suspect that that file was accidently packaged.
You could add it to .gitignore
.
It can happen that Egon requests logs faster than logs are uploaded, so once Egon arrives at the last message it considers its work done and exits.
It might be good to have a flag that have him waiting and never exiting.
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.