fluent-plugin-rawexec 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +5 -0
- data/fluent-plugin-rawexec.gemspec +1 -1
- data/lib/fluent/plugin/out_rawexec.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f174c55dc5b9dc66e83f1fbce80a2555fad2214
|
4
|
+
data.tar.gz: e2cabc2d0cec3e3e3cd32e08499931fe190e4672
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a20849ee732f633a509b2eede2c70d54758bfa6330ec042a0e7134b0a93c019d43a0428cc17a9d088fe1e00dd958b4f4093bd2bbad5ab4129803a9b33ff3cbf3
|
7
|
+
data.tar.gz: 0d95e3f402aa4b0e3b8d816e1046a122c4f57d1851a4f501852806db12a45aeb674a57e561208a58cac3b390c62dd4f6345b451595bf5184389faf8a5cf89f6f
|
data/History.md
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "fluent-plugin-rawexec"
|
6
|
-
s.version = '0.0.
|
6
|
+
s.version = '0.0.2'
|
7
7
|
s.authors = ["FangLi"]
|
8
8
|
s.email = ["surivlee@gmail.com"]
|
9
9
|
s.description = %q{Execute user script with RAW message output plugin for Fluentd}
|
@@ -26,11 +26,15 @@ module Fluent
|
|
26
26
|
end
|
27
27
|
|
28
28
|
config_param :command, :string
|
29
|
+
config_param :tag, :string, :default => nil
|
29
30
|
|
30
31
|
def configure(conf)
|
31
32
|
super
|
32
33
|
|
33
34
|
def format(tag, time, record)
|
35
|
+
if @tag
|
36
|
+
record.merge!(@tag => tag)
|
37
|
+
end
|
34
38
|
out = ''
|
35
39
|
out << record.to_s
|
36
40
|
out << "\n"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-rawexec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- FangLi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02
|
11
|
+
date: 2014-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|