memorycraft / fluent-plugin-sumologic Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Your plugin logs what it sends to screen. There's an actual plugin for this, and you should not do this, or turn it into an option.
In our case, it's causing an infinite loop of transmission.
We have use a Fluent Docker container that collects all Docker container logs and forwards them to SumoLogic. Since fluent-plugin-sumologic logs to stdout what it sends, Fluent then sees stdout for the Fluent container and sends that to SumoLogic and stdout. Which fluent then sees and sends to SumoLogic and stdout. This one log message causes an infinite loop of transmission.
If type is text the wrong key is read in line https://github.com/memorycraft/fluent-plugin-sumologic/blob/master/lib/fluent/plugin/out_sumologic.rb#L62
This should be record['log'] instead of record['message']
We have some super great json/structured logging that we're super pleased with, & have been trying to adopt hosted logging services (like SumoLogic) to complement out inhouse ones. We've found that format json
doesn't give us any kind of structured logs when we get into sumo logic.
Not sure what to expect from this format in this plugin, and not sure what to expect from SumoLogic interface. We're very happy using Fluentd for log forwarding, and hope there's some way to get our structured logs into SumoLogic.
Currently, the plugin doesn't work when user doesn't use http_proxy.
It looks this change affect it.
fa83a87
irb(main):001:0> (proxy,proxy_port) = ENV['http_proxy'].split(':')
NoMethodError: undefined method `split' for nil:NilClass
from (irb):1
from /Users/.../.rbenv/versions/2.3.0/bin/irb:11:in `<main>'
irb(main):002:0>
Last gem release was in 2013. Any way we could get an updated version in rubygems?
Hi,
Any plans here for kubernetes support? IE: Send logs to sumo via kubernetes with the correct sourceHost, sourceName and sourceCategory depending on what pod it came from?
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.