fluent / fluent-plugin-scribe Goto Github PK
View Code? Open in Web Editor NEWScribe input/output plugin for Fluentd data collector
Home Page: http://docs.fluentd.org/articles/in_scribe
Scribe input/output plugin for Fluentd data collector
Home Page: http://docs.fluentd.org/articles/in_scribe
We deployed fluentd to production using this plugin along with the out_redshift plugin.
Even during our initial benchmarks we saw that working with in_scribe
gives far worse results than working with other input methods (like in_forward
, which was giving 18kmsg/sec vs. 1kmsg/sec with in_scribe
). But when we pushed real production traffic with all the plugins setup (during benchmark we used only in_scribe
and out_file
) it just couldn't handle the load (we're talking about ~300msg/sec).
It looks like the culprit is that all the message handling is happening on the same thread as the one that receives the Scribe messages and there is no actual use of Cool.io. So very often the processing gets delayed for some reason, the Scribe server will get a timeout and will stop sending data in until the retry period ends. But even then after a minute or so it dies again.
We worked around this issue by having in_scribe
enqueue all the messages into a Queue and have another thread that will call Engine.emit on the messages in the queue. But this is sub optimal and far from being "production ready".
We are sending logs to both elasticsearch and scribe. For elasticsearch, we are able to run multiple workers in the same machine. We are getting error when trying to run multiple workers for scribe.
Currently, I can only specify one msg_format in my config. I have entries that both include JSON and don't include JSON. I'd like the ability to parse both.
Ideally it should try to parse the object via JSON, and then fall back to text if it can't.
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.