fluent-plugin-remote_syslog 0.2.1 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/README.md +2 -2
- data/VERSION +1 -1
- data/fluent-plugin-remote_syslog.gemspec +5 -4
- data/lib/fluent/plugin/out_remote_syslog.rb +5 -0
- metadata +18 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc10c8c7403883b27cca3def44bbaa3c75c652f8
|
4
|
+
data.tar.gz: ea359618ac41bd7dcf70d5e57e2e28696cf3a5c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b12a5eee1282139e3f856e8e61be8c46eda6c29c92a21a831b0d30fbed36e69dd30c782dd762875974fc8f13ab2507584305c7efeeb44b2a23fbb0856a00848b
|
7
|
+
data.tar.gz: badffc390eced3fd16032c590e9d3c4ed3672098e2f5d26ee975cb4ba4eeea59f3d257d5c3f624987edb646f31a7c2aad3099d336057dd4a9372e83f607210a4
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## 0.3.1
|
2
|
+
|
3
|
+
* Fix errors in last release [#3](https://github.com/dlackty/fluent-plugin-remote_syslog/pull/3)
|
4
|
+
|
5
|
+
## 0.3.0 (yanked)
|
6
|
+
|
7
|
+
* Integrate with `Fluent::Mixin::RewriteTagName` [#2](https://github.com/dlackty/fluent-plugin-remote_syslog/pull/2)
|
8
|
+
|
1
9
|
## 0.2.1
|
2
10
|
|
3
11
|
* Fix encoding issue
|
@@ -5,7 +13,7 @@
|
|
5
13
|
## 0.2.0
|
6
14
|
|
7
15
|
* Integrate with `Fluent::Mixin::PlainTextFormatter`
|
8
|
-
* **BREAKING**: Remove `key_name` config, use `output_data_type` instead
|
16
|
+
* **BREAKING**: Remove `key_name` config, use `output_data_type` instead
|
9
17
|
|
10
18
|
## 0.1.0
|
11
19
|
|
data/README.md
CHANGED
@@ -22,8 +22,8 @@
|
|
22
22
|
</match>
|
23
23
|
```
|
24
24
|
|
25
|
-
This plugin makes use of [Fluent::Mixin::PlainTextFormatter](https://github.com/tagomoris/fluent-mixin-plaintextformatter), please check out
|
25
|
+
This plugin makes use of [Fluent::Mixin::PlainTextFormatter](https://github.com/tagomoris/fluent-mixin-plaintextformatter) and [Fluent::Mixin::RewriteTagName](https://github.com/y-ken/fluent-mixin-rewrite-tag-name), please check out their documentations for more configuration options.
|
26
26
|
|
27
27
|
## License
|
28
28
|
|
29
|
-
Copyright (c) 2014 Richard Lee. See LICENSE for details.
|
29
|
+
Copyright (c) 2014-2015 Richard Lee. See LICENSE for details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.1
|
@@ -18,8 +18,9 @@ Gem::Specification.new do |spec|
|
|
18
18
|
|
19
19
|
spec.add_development_dependency "rake", "~> 10.0"
|
20
20
|
|
21
|
-
spec.
|
22
|
-
spec.
|
23
|
-
spec.
|
24
|
-
spec.
|
21
|
+
spec.add_runtime_dependency "fluentd"
|
22
|
+
spec.add_runtime_dependency "fluent-mixin-plaintextformatter"
|
23
|
+
spec.add_runtime_dependency "remote_syslog_logger", "~> 1.0.0"
|
24
|
+
spec.add_runtime_dependency "fluent-mixin-config-placeholders", "~> 0.2.0"
|
25
|
+
spec.add_runtime_dependency "fluent-mixin-rewrite-tag-name"
|
25
26
|
end
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require "fluent/mixin/config_placeholders"
|
2
2
|
require "fluent/mixin/plaintextformatter"
|
3
|
+
require 'fluent/mixin/rewrite_tag_name'
|
3
4
|
|
4
5
|
module Fluent
|
5
6
|
class RemoteSyslogOutput < Fluent::Output
|
@@ -9,6 +10,8 @@ module Fluent
|
|
9
10
|
|
10
11
|
include Fluent::Mixin::PlainTextFormatter
|
11
12
|
include Fluent::Mixin::ConfigPlaceholders
|
13
|
+
include Fluent::HandleTagNameMixin
|
14
|
+
include Fluent::Mixin::RewriteTagName
|
12
15
|
|
13
16
|
config_param :host, :string
|
14
17
|
config_param :port, :integer, :default => 25
|
@@ -45,6 +48,8 @@ module Fluent
|
|
45
48
|
v.force_encoding("utf-8")
|
46
49
|
end
|
47
50
|
end
|
51
|
+
emit_tag = tag.dup
|
52
|
+
filter_record(emit_tag, time, record)
|
48
53
|
|
49
54
|
@logger.transmit format(tag, time, record)
|
50
55
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-remote_syslog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 0.2.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: fluent-mixin-rewrite-tag-name
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
83
97
|
description: ''
|
84
98
|
email:
|
85
99
|
- dlackty@gmail.com
|
@@ -119,10 +133,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
133
|
version: '0'
|
120
134
|
requirements: []
|
121
135
|
rubyforge_project:
|
122
|
-
rubygems_version: 2.
|
136
|
+
rubygems_version: 2.4.5.1
|
123
137
|
signing_key:
|
124
138
|
specification_version: 4
|
125
139
|
summary: Fluentd output plugin for remote syslog
|
126
140
|
test_files:
|
127
141
|
- test/plugin/out_remote_syslog.rb
|
128
142
|
- test/test_helper.rb
|
143
|
+
has_rdoc:
|