Comments (2)
This is a bug.
if @localtime
@formatter = Proc.new {|tag,event|
"#{Time.at(event.time).iso8601}\t#{tag}\t#{event.record.to_json}\n"
}
else
@formatter = Proc.new {|tag,event|
"#{Time.at(event.time).utc.iso8601}\t#{tag}\t#{event.record.to_json}\n"
}
end
Time#iso8601 is not default method, needs "require 'time'".
I wrote a following patch. @frsyuki ?
diff --git a/lib/fluent/plugin/out_s3.rb b/lib/fluent/plugin/out_s3.rb
index 7f4e2ae..e245ef1 100644
--- a/lib/fluent/plugin/out_s3.rb
+++ b/lib/fluent/plugin/out_s3.rb
@@ -8,6 +8,7 @@ class S3Output < Fluent::TimeSlicedOutput
super
require 'aws-sdk'
require 'zlib'
+ require 'time'
end
def configure(conf)
from fluent-plugin-s3.
I pushed a patch. Please retry!
パッチコミットして0.1.2にバージョンあげました,
後でrubygems.orgに反映されるはずなので,その後もう一度試して見て下さい.
from fluent-plugin-s3.
Related Issues (20)
- Add parameter to set HTTP "Accept-Encoding" header HOT 2
- Allow to ignore events that point to a file on s3 of size 0 HOT 3
- Only last event of the windows logs is sent to S3 with redundant entries in the file
- Add debug log after s3 put HOT 1
- gem dependency conflict HOT 2
- S3 output filling up /tmp HOT 2
- Invalid Credential Will Crash the Fluentd Worker HOT 1
- When match_regexp not matched, message is discarded HOT 1
- s3 input is not separating log entries HOT 2
- td-agent is throwing error error_class=Fluent::ConfigError error="'columnify' utility must be in PATH for -h compression" HOT 2
- td-agent is able to run columnify -h yet td-agent throwing err
- fluent-plugin-s3 doesn't seem to work with AWS short-term credentials
- Plugin not working on basic implementation HOT 1
- enable multiline parsing
- instance_profile_credentials are not allowing uploads to my S3 bucket
- Append file support HOT 3
- s3_object_key_format without index overwrites (not append) log files HOT 10
- Too many open files HOT 1
- SSE-C Encryption
- Undocumented IAM permission: ListObjects HOT 1
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-s3.