fluent-plugin-extract_query_params 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 993a35a9a1e1b944a3cde32b2b770054a261d217
4
- data.tar.gz: e7a782eb22c24c36426ac9923dae9828e73697e1
3
+ metadata.gz: b9ff71577a2533183130e68c93050d7398cf9d89
4
+ data.tar.gz: efbb45d26a1aec29e9eb87c9ee3f90fc24b2203e
5
5
  SHA512:
6
- metadata.gz: a1e100c5cbf7ebe173431b5afd06557d1277aa27316ec54d0d92ac1bb3a81abf6d7930c31657686ef5520e5119707db4ec1c2f401801367ff875ddb32574a943
7
- data.tar.gz: c281cdc98702219c3761f9c298cc597f18b65381f194286ae621c716750fa89e7c995152d8a141614fef72ddce658f6f459e03312d36153ea6e278abb04bdf72
6
+ metadata.gz: dccc95c4b30c5f9ecb587494f41c02c868cce988b76dbc12aa51f0f5f9ce915bb4bdbf06b3ba0af4c1635d0c7e5e91831cdeacb92711e99a9becd9d8079738f9
7
+ data.tar.gz: ed41cc4946eb020423c32d8e40c2cb76a5ec01553164af78ab0af83823bc49541d5ac806f0f85b59bcbff9b60b30480584a10297cf74921f91330231f544ee0a
data/README.md CHANGED
@@ -6,23 +6,19 @@
6
6
 
7
7
  Fluentd plugin to extract key/values from URL query parameters.
8
8
 
9
- ## Synopsis
10
-
11
- Imagin you have a config as below:
9
+ ## Requirements
12
10
 
13
- fluentd `< 0.12`:
11
+ | fluent-plugin-extract_query_params | fluentd | ruby |
12
+ |------------------------------------|------------|--------|
13
+ | >= 0.1.0 | >= v0.14.0 | >= 2.1 |
14
+ | < 0.1.0 | >= v0.12.0 | >= 1.9 |
14
15
 
15
- ```
16
- <match test.**>
17
- @type extract_query_params
16
+ **Caveat**: This plugin, from version 0.1.0, supports fluentd of version v0.14 or higher.
17
+ If you want to use this plugin with fluentd v0.12 or earlier, choose 0.0.x versions.
18
18
 
19
- key url
20
- add_tag_prefix extracted.
21
- only foo, baz
22
- </match>
23
- ```
19
+ ## Synopsis
24
20
 
25
- fluentd `>= 0.12`:
21
+ Imagin you have a config as below:
26
22
 
27
23
  ```
28
24
  <filter test.**>
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'fluent-plugin-extract_query_params'
3
- gem.version = '0.1.0'
3
+ gem.version = '0.1.1'
4
4
  gem.authors = ['Kentaro Kuribayashi']
5
5
  gem.email = ['kentarok@gmail.com']
6
6
  gem.homepage = 'http://github.com/kentaro/fluent-plugin-extract_query_params'
@@ -36,6 +36,10 @@ module Fluent::Plugin
36
36
  @extractor = Fluent::Plugin::QueryParamsExtractor.new(self, conf)
37
37
  end
38
38
 
39
+ def multi_workers_ready?
40
+ true
41
+ end
42
+
39
43
  def filter_record(tag, time, record)
40
44
  record = @extractor.add_query_params_field(record)
41
45
  super(tag, time, record)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-extract_query_params
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kentaro Kuribayashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-14 00:00:00.000000000 Z
11
+ date: 2017-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  version: '0'
115
115
  requirements: []
116
116
  rubyforge_project:
117
- rubygems_version: 2.4.5.1
117
+ rubygems_version: 2.6.11
118
118
  signing_key:
119
119
  specification_version: 4
120
120
  summary: Fluentd plugin to extract key/values from URL query parameters