Comments (4)
I also ran into these limits, I believe they both can be traced to the RFC for syslog. Tags cannot exceed 32 characters and a syslog message has a total size limit of 1KiB.
Our previous log shipper however was able to send larger messages to Papertrail so I am suspecting it used non-standard extensions to syslog to accomplish this. The 1KiB limit in this plugin makes it unusable for my purposes.
from fluent-plugin-papertrail.
I found the source of the 1KiB limit, it is within the syslog library used. It is trying to adhere to RFC 3164 which states "The total length of the packet MUST be 1024 bytes or less."
https://github.com/eric/syslog_protocol/blob/master/lib/syslog_protocol/packet.rb#L10
from fluent-plugin-papertrail.
https://github.com/papertrail/remote_syslog2/blob/master/syslog/syslog.go#L195
Papertrail's own remote_syslog2 daemon allows the maximum syslog packet size be dynamically set though it has a default value of 99990.
Since this plugin is intended to interface only with Papertrail we can safely increase this limit to that value.
from fluent-plugin-papertrail.
Thanks for referencing Papertrail's default in remote_syslog2 and for the PR @kyleroot. This has been merged and released to rubygems as 0.2.6
.
from fluent-plugin-papertrail.
Related Issues (14)
- Deployment fails HOT 3
- Orphaned Namespace HOT 6
- Randomly stops sending log to PaperTrail endpoint HOT 9
- Override invalid severity values rather than failing
- Plugin stops sending logs to endpoint after Fluent::Papertrail::SocketFailureError HOT 10
- Add to CircleCI HOT 1
- maximum_syslog_packet_size default value exceeded HOT 1
- Systemd::JournalError: No such file or directory HOT 4
- RuntimeError error HOT 1
- Plugin does not handle idle disconnects in a timely fashion. Results in dropped logs HOT 3
- Images removed from Docker HOT 2
- Gem fails compilation on newer ruby due to msgpack error HOT 8
- Logging stalls due to unexpected records HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent-plugin-papertrail.