fluent-plugin-light-core 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-light-core.gemspec +1 -1
- data/lib/fluent/plugin/filter_light_core.rb +0 -5
- data/sample/README.md +9 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5144ababaafd02b252534db4f948037d55fb63b688eaf2f243eb085215fdd09b
|
4
|
+
data.tar.gz: 2c34efb8b2cea7ff556d5bdc21e927251fe8920b28ee6e39cb20da7afed5ea4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db8615ee2d064865a3e570b1d26f58fd2cd1db6febb5bcbb745579ed3e4fab0278447cd2c3cde07c2f19b8863f34bc645a55137dccbb63667fcdb08fed9692ad
|
7
|
+
data.tar.gz: e4b9146e96aadc71f60e2040772806a84f0174a2d2d945f84708e795a547db9f3dc46aea944334adc0b5c5103b3677854b62160472c12cdd49e91bf79dae1cf3
|
@@ -257,11 +257,6 @@ module Fluent
|
|
257
257
|
|
258
258
|
if tag == 'app'
|
259
259
|
|
260
|
-
if @app_stream && record['stream']
|
261
|
-
message = 'Stream error' + record['stream']
|
262
|
-
send(tag, message, record) if record['stream'] == @app_stream
|
263
|
-
end
|
264
|
-
|
265
260
|
if @app_message.length > 0 && record['message']
|
266
261
|
@app_message.each do |pattern|
|
267
262
|
if pattern.match(record['message'])
|
data/sample/README.md
CHANGED
@@ -51,13 +51,15 @@ Initialized empty Git repository in /Users/lilin/developer/light/fluent-plugin-l
|
|
51
51
|
|
52
52
|
## 在Linxu上运行
|
53
53
|
|
54
|
-
- 进入fluentd
|
55
|
-
|
56
|
-
yum
|
57
|
-
yum install git rubygems ruby-devel
|
54
|
+
- 进入fluentd容器, 安装依赖
|
55
|
+
$ yum groupinstall 'Development Tools'
|
56
|
+
$ yum install rubygems ruby-devel
|
58
57
|
|
59
|
-
|
60
|
-
|
58
|
+
- 下载代码, 安装依赖
|
59
|
+
$ git clone http://git.alphabets.cn/light/fluent-plugin-light-core.git
|
60
|
+
$ cd fluent-plugin-light-core
|
61
|
+
$ gem install bundler:1.17.2
|
62
|
+
$ bundler install
|
61
63
|
|
62
64
|
- 运行代码
|
63
|
-
rm -f sample/*.pos && fluentd -c sample/source.conf -p lib/fluent/plugin
|
65
|
+
$ rm -f sample/*.pos && fluentd -c sample/source.conf -p lib/fluent/plugin
|