fluent-plugin-rewrite-tag-filter 2.0.0 → 2.0.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 +4 -4
- data/README.md +2 -0
- data/fluent-plugin-rewrite-tag-filter.gemspec +2 -2
- metadata +13 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 17c3df4b212d989178f93b09c9b9ff84f08f8eb3
|
|
4
|
+
data.tar.gz: f5e18c2fd1e2fc47e570240445c6fe331c37682a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a5e0c33b896e5ba551299455423938f407b3e7b58d15239a50b6fd55d2f4fcd42340ae2b2babf91474689a0beb48ab21bbb8d0b2f7264088362804fedcf07cfe
|
|
7
|
+
data.tar.gz: 45507d89266373a23dadc13cb2a68c1addcd8789d18190ebca67dfd5603c70e17e5f8dbd0d0c6e9891abbb27dfa2be446b6a47e2149e7d9e2081be0592df24f3
|
data/README.md
CHANGED
|
@@ -7,6 +7,8 @@ Re-emit the record with rewrited tag when a value matches/unmatches with a regul
|
|
|
7
7
|
Also you can change a tag from Apache log by domain, status code (ex. 500 error),
|
|
8
8
|
user-agent, request-uri, regex-backreference and so on with regular expression.
|
|
9
9
|
|
|
10
|
+
This is an output plugin because fluentd's `filter` doesn't allow tag rewrite.
|
|
11
|
+
|
|
10
12
|
## Requirements
|
|
11
13
|
|
|
12
14
|
| fluent-plugin-rewrite-tag-filter | Fluentd | Ruby |
|
|
@@ -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-rewrite-tag-filter"
|
|
6
|
-
s.version = "2.0.
|
|
6
|
+
s.version = "2.0.1"
|
|
7
7
|
s.license = "Apache-2.0"
|
|
8
8
|
s.authors = ["Kentaro Yoshida"]
|
|
9
9
|
s.email = ["y.ken.studio@gmail.com"]
|
|
@@ -17,5 +17,5 @@ Gem::Specification.new do |s|
|
|
|
17
17
|
|
|
18
18
|
s.add_development_dependency "test-unit", ">= 3.1.0"
|
|
19
19
|
s.add_development_dependency "rake"
|
|
20
|
-
s.add_runtime_dependency "fluentd", "
|
|
20
|
+
s.add_runtime_dependency "fluentd", [">= 0.14.2", "< 2"]
|
|
21
21
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-rewrite-tag-filter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kentaro Yoshida
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-11-
|
|
11
|
+
date: 2017-11-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-unit
|
|
@@ -42,16 +42,22 @@ dependencies:
|
|
|
42
42
|
name: fluentd
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- - "
|
|
45
|
+
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: 0.14.2
|
|
48
|
+
- - "<"
|
|
49
|
+
- !ruby/object:Gem::Version
|
|
50
|
+
version: '2'
|
|
48
51
|
type: :runtime
|
|
49
52
|
prerelease: false
|
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
54
|
requirements:
|
|
52
|
-
- - "
|
|
55
|
+
- - ">="
|
|
53
56
|
- !ruby/object:Gem::Version
|
|
54
57
|
version: 0.14.2
|
|
58
|
+
- - "<"
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '2'
|
|
55
61
|
description:
|
|
56
62
|
email:
|
|
57
63
|
- y.ken.studio@gmail.com
|
|
@@ -99,4 +105,6 @@ summary: Fluentd Output filter plugin. It has designed to rewrite tag like mod_r
|
|
|
99
105
|
expression. Also you can change a tag from apache log by domain, status-code(ex.
|
|
100
106
|
500 error), user-agent, request-uri, regex-backreference and so on with regular
|
|
101
107
|
expression.
|
|
102
|
-
test_files:
|
|
108
|
+
test_files:
|
|
109
|
+
- test/helper.rb
|
|
110
|
+
- test/plugin/test_out_rewrite_tag_filter.rb
|