fluent-plugin-norikra 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf30d717a952bc2db6944fd58836321e991ff9a0
4
- data.tar.gz: 2dbaebcdecc94a7c3d83e8f2ae0c85aa9784cabb
3
+ metadata.gz: 3686a8748eab4349b0c16a34dc8078a486e41d6e
4
+ data.tar.gz: cfc24bc0a34ff771dc6dcb9c067f264d751114c0
5
5
  SHA512:
6
- metadata.gz: b996dd9cbd9e5288c3944b8b16f05e7997c972ef9dc44aa109446317ba395bf91c6aff30878a570f5736aa03ce108803f26caea23c57d7629d6c2c9125487f22
7
- data.tar.gz: 111c6e210d5c8a57121c28f69631b38b9f62633b813eeb09f86c743a97930819e7b609cf073cba7dd3033899535e44fc7152ea200f8a07e19b916e7880b39c88
6
+ metadata.gz: e379762a9d2a7becd045b33d84e7300241d6b8e6ba25c90f6aa8dfe665967ad24473501d2ca21f49a08715f528b5e2014d466ac8161e84aaea32b87c7167ba62
7
+ data.tar.gz: c42fb51f3d3ad44bdfd777695baf302adac2f513ec2c1c5f8414307b5221ed51c321d2a5fca8366081d44a44cc4275827bf6b189ab1f98c3032e7ed5d4c3afe6
data/.travis.yml CHANGED
@@ -1,4 +1,7 @@
1
+ sudo: false
1
2
  language: ruby
2
3
  rvm:
3
- - 1.9.3
4
4
  - 2.0.0
5
+ - 2.1
6
+ - 2.2
7
+ - 2.3.0
data/README.md CHANGED
@@ -40,7 +40,7 @@ For variations, see `example` directory.
40
40
  Sends events to remote Norikra server. Minimal configurations are:
41
41
  ```apache
42
42
  <match data.*>
43
- type norikra
43
+ @type norikra
44
44
  norikra norikra.server.local:26571
45
45
 
46
46
  remove_tag_prefix data
@@ -52,7 +52,7 @@ NorikraOutput plugin opens Norikra's target for newly incoming tags. You can spe
52
52
 
53
53
  ```apache
54
54
  <match data.*>
55
- type norikra
55
+ @type norikra
56
56
  norikra norikra.server.local:26571
57
57
 
58
58
  target_map_tag true # fluentd's tag -> norikra's target
@@ -92,7 +92,7 @@ If fluentd's events has so many variations of sets of fields, you can specify no
92
92
 
93
93
  ```apache
94
94
  <match data.*>
95
- type norikra
95
+ @type norikra
96
96
  norikra norikra.server.local:26571
97
97
 
98
98
  target_map_tag true # fluentd's tag 'data.event' -> norikra's target 'event'
@@ -117,7 +117,7 @@ Fetch events from Norikra server, and emits these into Fluentd itself. NorikraIn
117
117
  Minimal configurations:
118
118
  ```apache
119
119
  <source>
120
- type norikra
120
+ @type norikra
121
121
  norikra norikra.server.local:26571
122
122
  <fetch>
123
123
  method sweep
@@ -135,7 +135,7 @@ Minimal configurations:
135
135
  Available `<fetch>` methods are `event` and `sweep`. `target` parameter is handled as query name for `event`, and as query group name for `sweep`.
136
136
  ```apache
137
137
  <source>
138
- type norikra
138
+ @type norikra
139
139
  norikra norikra.server.local:26571
140
140
  <fetch>
141
141
  method event
@@ -170,7 +170,7 @@ If you runs Norikra as standalone process, better configurations are to use Nori
170
170
  Configuration example to receive tags like `event.foo` and send norikra's target `foo`, and get count of its records per minute, and per hour with built-in Norikra server:
171
171
  ```apache
172
172
  <match event.*>
173
- type norikra_filter
173
+ @type norikra_filter
174
174
  <server>
175
175
  path /home/username/.rbenv/versions/jruby-1.7.4/bin/norikra
176
176
  # opts -Xmx2g # options of 'norikra start'
@@ -2,13 +2,13 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "fluent-plugin-norikra"
5
- spec.version = "0.3.0"
5
+ spec.version = "0.4.0"
6
6
  spec.authors = ["TAGOMORI Satoshi"]
7
7
  spec.email = ["tagomoris@gmail.com"]
8
8
  spec.description = %q{process events on fluentd with SQL like query, with built-in Norikra server if needed.}
9
9
  spec.summary = %q{Fluentd plugin to do CEP with norikra}
10
10
  spec.homepage = "https://github.com/norikra/fluent-plugin-norikra"
11
- spec.license = "APLv2"
11
+ spec.license = "Apache-2.0"
12
12
 
13
13
  spec.files = `git ls-files`.split($/)
14
14
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
@@ -96,7 +96,7 @@ module Fluent::NorikraPlugin
96
96
  next unless event_array
97
97
  event_array.each do |time,event|
98
98
  begin
99
- Fluent::Engine.emit(tag, time, event)
99
+ router.emit(tag, time, event)
100
100
  rescue => e
101
101
  log.error "failed to emit event from norikra query", :norikra => "#{@host}:#{@port}", :error => e.class, :message => e.message, :tag => tag, :record => event
102
102
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-norikra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-08 00:00:00.000000000 Z
11
+ date: 2016-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: norikra-client
@@ -126,7 +126,7 @@ files:
126
126
  - test/test_target.rb
127
127
  homepage: https://github.com/norikra/fluent-plugin-norikra
128
128
  licenses:
129
- - APLv2
129
+ - Apache-2.0
130
130
  metadata: {}
131
131
  post_install_message:
132
132
  rdoc_options: []
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  version: '0'
145
145
  requirements: []
146
146
  rubyforge_project:
147
- rubygems_version: 2.4.5
147
+ rubygems_version: 2.5.1
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: Fluentd plugin to do CEP with norikra
@@ -158,3 +158,4 @@ test_files:
158
158
  - test/test_query_generator.rb
159
159
  - test/test_record_filter.rb
160
160
  - test/test_target.rb
161
+ has_rdoc: