fluent-plugin-rewrite-tag-filter 1.5.5 → 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/fluent-plugin-rewrite-tag-filter.gemspec +2 -2
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a55bce259bbf92d6e4f1152da097fee51a36186d
|
4
|
+
data.tar.gz: 819baddf9c727bf6a3131af33f885284d3c993c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2b85f7366b8005fdfc7cdb383489013f8d5f1525d7ee744eff6e40891ad9710be4710ffbfce321395f3de6c8db368327d3e01d57fd543bbd372df75f6abeda6
|
7
|
+
data.tar.gz: a2a9e6bb5487a07d10e04d1afcefa0dcc73201e19f0331433b81d1d962b5c679534c8aba7267c1fce2bc2adfc23e5f402cb1918433995cbdb760d76d5d871940
|
data/README.md
CHANGED
@@ -16,10 +16,10 @@ Install with `gem`, `fluent-gem` or `td-agent-gem` command as:
|
|
16
16
|
$ gem install fluent-plugin-rewrite-tag-filter
|
17
17
|
|
18
18
|
# for td-agent (Legacy)
|
19
|
-
$ sudo /usr/lib64/fluent/ruby/bin/fluent-gem install fluent-plugin-rewrite-tag-filter -v 1.5.
|
19
|
+
$ sudo /usr/lib64/fluent/ruby/bin/fluent-gem install fluent-plugin-rewrite-tag-filter -v 1.5.6
|
20
20
|
|
21
|
-
# for td-agent2
|
22
|
-
$ sudo td-agent-gem install fluent-plugin-rewrite-tag-filter
|
21
|
+
# for td-agent2 (with fluentd v0.12)
|
22
|
+
$ sudo td-agent-gem install fluent-plugin-rewrite-tag-filter -v 1.5.6
|
23
23
|
```
|
24
24
|
|
25
25
|
## Configuration
|
@@ -122,12 +122,12 @@ It is supported these placeholder for new_tag (rewrited tag).
|
|
122
122
|
|
123
123
|
- `${tag}`
|
124
124
|
- `__TAG__`
|
125
|
-
-
|
125
|
+
- `${tag_parts[n]}`
|
126
126
|
- `__TAG_PARTS[n]__`
|
127
127
|
- `${hostname}`
|
128
128
|
- `__HOSTNAME__`
|
129
129
|
|
130
|
-
The placeholder of
|
130
|
+
The placeholder of `${tag_parts[n]}` and `__TAG_PARTS[n]__` acts accessing the index which split the tag with "." (dot).
|
131
131
|
For example with `td.apache.access` tag, it will get `td` by `${tag_parts[0]}` and `apache` by `${tag_parts[1]}`.
|
132
132
|
|
133
133
|
**Note** Currently, range expression ```${tag_parts[0..2]}``` is not supported.
|
@@ -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 = "1.5.
|
6
|
+
s.version = "1.5.6"
|
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.10.0", "< 0.14.0"]
|
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: 1.5.
|
4
|
+
version: 1.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kentaro Yoshida
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-unit
|
@@ -44,14 +44,20 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 0.10.0
|
48
|
+
- - "<"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 0.14.0
|
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
|
-
version:
|
57
|
+
version: 0.10.0
|
58
|
+
- - "<"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 0.14.0
|
55
61
|
description:
|
56
62
|
email:
|
57
63
|
- y.ken.studio@gmail.com
|
@@ -91,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
97
|
version: '0'
|
92
98
|
requirements: []
|
93
99
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.
|
100
|
+
rubygems_version: 2.2.5
|
95
101
|
signing_key:
|
96
102
|
specification_version: 4
|
97
103
|
summary: Fluentd Output filter plugin. It has designed to rewrite tag like mod_rewrite.
|