osiegmar / logback-awslogs-json-encoder Goto Github PK
View Code? Open in Web Editor NEWLogback encoder for producing JSON formatted log output for Amazon CloudWatch Logs Insights
License: GNU Lesser General Public License v2.1
Logback encoder for producing JSON formatted log output for Amazon CloudWatch Logs Insights
License: GNU Lesser General Public License v2.1
Howdy,
Is there a good reason why is this not open sourced under Apache 2.0 license?
Thanks!
Logback only supports logging timestamp granularity of milliseconds, but you can log easily log multiple statements within the same millisecond which makes proper sorting problematic when searching the logs in aws logs insights.
I suggest a feature that will add a secondary timestamp field with micro or nanosecond precision to make sorting the log entries possible in logs insights.
It could be as simple as .appendToJSON("timestampNano", System.nanoTime())
to AwsJsonLogEncoder.encode
.
What do you think?
We've been testing with ConsoleAppender (stdout) to write to the awslogs logging driver with a fairly decent logging load and we've been hitting some serious drawbacks:
We've been tuning the awslogs logging options:
Nothing that we tried could give us stable logs with ConsoleAppender.
Then we tried another appender that communicates directly with the AWS Cloudwatch API for PutLog events: https://github.com/pierredavidbelanger/logback-awslogs-appender
Instantly our issues were gone. Logging is super stable! Cannot recommend it more to avoid ConsoleAppender!
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.