fluent-plugin-path2tag 1.0.3 → 1.0.4
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 -2
- data/lib/fluent/plugin/out_path2tag.rb +0 -2
- data/lib/fluent/plugin/path2tag/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 137f2652bedf8f7839ef96064d086c02ef2bd2b2
|
4
|
+
data.tar.gz: c32e3c829cf46fe24f63e1a6801920312bb63913
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33509db604c7fd0ae9ea27b217cbff8c8a2fd906d29eb7bd834de5047e7fa2e64d075e6f9482b129d286f8cea09d9ca36a655fc063fd7ba212c0049734234858
|
7
|
+
data.tar.gz: 595aec4b3335987a59c6ce546896fd411aa17d8b8c185b5c1c0f6b9ab1b2102a93d1fc0ebe1103901361f516d0c956ac38ab1621a04b21324ed36e9caca81e68
|
data/README.md
CHANGED
@@ -10,10 +10,10 @@ Convert uri to tag. And reformat json data.
|
|
10
10
|
$ gem install fluent-plugin-path2tag
|
11
11
|
|
12
12
|
# for td-agent (Legacy)
|
13
|
-
$ sudo /usr/lib64/fluent/ruby/bin/fluent-gem install ffluent-plugin-path2tag -v 1.0.
|
13
|
+
$ sudo /usr/lib64/fluent/ruby/bin/fluent-gem install ffluent-plugin-path2tag -v 1.0.4
|
14
14
|
|
15
15
|
# for td-agent2 (with fluentd v0.12)
|
16
|
-
$ sudo td-agent-gem install fluent-plugin-path2tag -v 1.0.
|
16
|
+
$ sudo td-agent-gem install fluent-plugin-path2tag -v 1.0.4
|
17
17
|
```
|
18
18
|
|
19
19
|
## Configuration
|
@@ -30,8 +30,6 @@ class Fluent::Path2tagOutput < Fluent::Output
|
|
30
30
|
rewrited_tag, newrecords = rewrite_tag_record(tag, record)
|
31
31
|
next if newrecords.nil? || tag == rewrited_tag
|
32
32
|
|
33
|
-
log.info "[path2tag] change tag to #{rewrited_tag}"
|
34
|
-
|
35
33
|
if newrecords.kind_of?(Array)
|
36
34
|
newrecords.each do |r|
|
37
35
|
router.emit(rewrited_tag, time, r)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-path2tag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shota Kuwahara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-unit
|