fluent-plugin-remote_syslog 0.3.2 → 0.3.3
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/.travis.yml +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +3 -3
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_remote_syslog.rb +3 -3
- 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: 5cfd7384704b75fef6c379506ad00bd2556dfcb6
|
|
4
|
+
data.tar.gz: 9df4ff109259582a6ce45684ee26e1297b3fe8f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 698c42dcefb20f4866e89d09cf1f5601cac77d34c4e4748d05b35c8f7846d6d47cd53fbcaffafa821f5c76e74f15442c4c827cb53edc7af02ae86383de95f6d3
|
|
7
|
+
data.tar.gz: 15b23fc23fc097e8be9fdf4e9ff4028754e5c600041c512b68b5db820f9de4b07edf937d34c0c3fd2aba8959a36737b8600bbfd6bc1799b66d123f46be63dffc
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 0.3.3
|
|
2
|
+
|
|
3
|
+
* Allow override "severity" or "facility" from records [#19](https://github.com/dlackty/fluent-plugin-remote_syslog/pull/19)
|
|
4
|
+
* Change default port to 514 [#15](https://github.com/dlackty/fluent-plugin-remote_syslog/pull/15)
|
|
5
|
+
|
|
6
|
+
## 0.3.2
|
|
7
|
+
|
|
8
|
+
* Rewrite plugin to make rewrite tag function work properly [#4](https://github.com/dlackty/fluent-plugin-remote_syslog/pull/4)
|
|
9
|
+
|
|
1
10
|
## 0.3.1
|
|
2
11
|
|
|
3
12
|
* Fix errors in last release [#3](https://github.com/dlackty/fluent-plugin-remote_syslog/pull/3)
|
data/README.md
CHANGED
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
<match foo>
|
|
17
17
|
type remote_syslog
|
|
18
18
|
host example.com
|
|
19
|
-
port
|
|
19
|
+
port 514
|
|
20
20
|
severity debug
|
|
21
|
-
|
|
21
|
+
tag fluentd
|
|
22
22
|
</match>
|
|
23
23
|
```
|
|
24
24
|
|
|
@@ -26,4 +26,4 @@ This plugin makes use of [Fluent::Mixin::PlainTextFormatter](https://github.com/
|
|
|
26
26
|
|
|
27
27
|
## License
|
|
28
28
|
|
|
29
|
-
Copyright (c) 2014-
|
|
29
|
+
Copyright (c) 2014-2017 Richard Lee. See LICENSE for details.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.3
|
|
@@ -14,7 +14,7 @@ module Fluent
|
|
|
14
14
|
include Fluent::Mixin::RewriteTagName
|
|
15
15
|
|
|
16
16
|
config_param :host, :string
|
|
17
|
-
config_param :port, :integer, :default =>
|
|
17
|
+
config_param :port, :integer, :default => 514
|
|
18
18
|
|
|
19
19
|
config_param :facility, :string, :default => "user"
|
|
20
20
|
config_param :severity, :string, :default => "notice"
|
|
@@ -43,8 +43,8 @@ module Fluent
|
|
|
43
43
|
tag = rewrite_tag!(tag.dup)
|
|
44
44
|
@loggers[tag] ||= RemoteSyslogLogger::UdpSender.new(@host,
|
|
45
45
|
@port,
|
|
46
|
-
facility: @facility,
|
|
47
|
-
severity: @severity,
|
|
46
|
+
facility: record["facility"] || @facility,
|
|
47
|
+
severity: record["severity"] || @severity,
|
|
48
48
|
program: tag,
|
|
49
49
|
local_hostname: @hostname)
|
|
50
50
|
|
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.3.
|
|
4
|
+
version: 0.3.3
|
|
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: 2017-03-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
161
161
|
version: '0'
|
|
162
162
|
requirements: []
|
|
163
163
|
rubyforge_project:
|
|
164
|
-
rubygems_version: 2.
|
|
164
|
+
rubygems_version: 2.6.10
|
|
165
165
|
signing_key:
|
|
166
166
|
specification_version: 4
|
|
167
167
|
summary: Fluentd output plugin for remote syslog
|