fluent-plugin-extract_query_params 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -13
- data/fluent-plugin-extract_query_params.gemspec +1 -1
- data/lib/fluent/plugin/out_extract_query_params.rb +4 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9ff71577a2533183130e68c93050d7398cf9d89
|
4
|
+
data.tar.gz: efbb45d26a1aec29e9eb87c9ee3f90fc24b2203e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
##
|
10
|
-
|
11
|
-
Imagin you have a config as below:
|
9
|
+
## Requirements
|
12
10
|
|
13
|
-
fluentd
|
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
|
-
|
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
|
-
|
20
|
-
add_tag_prefix extracted.
|
21
|
-
only foo, baz
|
22
|
-
</match>
|
23
|
-
```
|
19
|
+
## Synopsis
|
24
20
|
|
25
|
-
|
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.
|
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.
|
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:
|
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.
|
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
|