fluentd 0.14.14.pre.1 → 0.14.14
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of fluentd might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/ChangeLog +38 -0
- data/lib/fluent/plugin/in_syslog.rb +3 -2
- data/lib/fluent/plugin/in_udp.rb +6 -2
- data/lib/fluent/version.rb +1 -1
- data/test/plugin/test_in_udp.rb +11 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55d7fb0ec7d40340b7c151ecd199d111ce6900d8
|
4
|
+
data.tar.gz: 69a6ca966e185eb804a882e18ddd4888eba7f468
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 953c3799e0101162f11710cf798a2cae19257430ae4a6086b8029dd95c6d8b1ee003bcf9d47a15b18a81c46b591d02b08f2be053d0a403d5d249fc9d2dc37100
|
7
|
+
data.tar.gz: e9d9297f25744020754a78ad9fc552a994eeec9798948e007a1bb290b99438645a7b954ab7389043b4a0cf011aa068385b6f6e7c0a53b46d204ad037b875bc90
|
data/ChangeLog
CHANGED
@@ -1,5 +1,43 @@
|
|
1
1
|
# v0.14
|
2
2
|
|
3
|
+
## Release v0.14.14 - 2017/03/23
|
4
|
+
|
5
|
+
### New features / Enhancements
|
6
|
+
|
7
|
+
* in_http: Support 'application/msgpack` header
|
8
|
+
https://github.com/fluent/fluentd/pull/1498
|
9
|
+
* in_udp: Add message_length_limit parameter for parameter name consistency with in_syslog
|
10
|
+
https://github.com/fluent/fluentd/pull/1515
|
11
|
+
* in_monitor_agent: Start one HTTP server per worker on sequential port numbers
|
12
|
+
https://github.com/fluent/fluentd/pull/1493
|
13
|
+
* in_tail: Skip the refresh of watching list on startup
|
14
|
+
https://github.com/fluent/fluentd/pull/1487
|
15
|
+
* filter_parser: filter_parser: Add emit_invalid_record_to_error parameter
|
16
|
+
https://github.com/fluent/fluentd/pull/1494
|
17
|
+
* parser_syslog: Support RFC5424 syslog format
|
18
|
+
https://github.com/fluent/fluentd/pull/1492
|
19
|
+
* parser: Allow escape sequence in Apache access log
|
20
|
+
https://github.com/fluent/fluentd/pull/1479
|
21
|
+
* config: Add actual value in the placholder error message
|
22
|
+
https://github.com/fluent/fluentd/pull/1497
|
23
|
+
* log: Add Fluent::Log#<< to support some SDKs
|
24
|
+
https://github.com/fluent/fluentd/pull/1478
|
25
|
+
|
26
|
+
### Bug fixes
|
27
|
+
|
28
|
+
* Fix cleanup resource
|
29
|
+
https://github.com/fluent/fluentd/pull/1483
|
30
|
+
* config: Set encoding forcefully to avoid UndefinedConversionError
|
31
|
+
https://github.com/fluent/fluentd/pull/1477
|
32
|
+
* Fix Input and Output deadlock when buffer is full during startup
|
33
|
+
https://github.com/fluent/fluentd/pull/1502
|
34
|
+
* config: Fix log_level handling in <system>
|
35
|
+
https://github.com/fluent/fluentd/pull/1501
|
36
|
+
* Fix typo in root agent error log
|
37
|
+
https://github.com/fluent/fluentd/pull/1491
|
38
|
+
* storage: Fix a bug storage_create cannot accept hash as `conf` keyword argument
|
39
|
+
https://github.com/fluent/fluentd/pull/1482
|
40
|
+
|
3
41
|
## Release v0.14.13 - 2017/02/17
|
4
42
|
|
5
43
|
### New features / Enhancements
|
@@ -85,15 +85,16 @@ module Fluent::Plugin
|
|
85
85
|
config_param :source_hostname_key, :string, default: nil
|
86
86
|
desc 'The field name of source address of sender.'
|
87
87
|
config_param :source_address_key, :string, default: nil
|
88
|
-
|
89
88
|
desc 'The field name of the priority.'
|
90
89
|
config_param :priority_key, :string, default: nil
|
91
90
|
desc 'The field name of the facility.'
|
92
91
|
config_param :facility_key, :string, default: nil
|
93
92
|
|
94
|
-
|
93
|
+
desc "The max bytes of message"
|
95
94
|
config_param :message_length_limit, :size, default: 2048
|
96
95
|
|
96
|
+
config_param :blocking_timeout, :time, default: 0.5
|
97
|
+
|
97
98
|
config_section :parse do
|
98
99
|
config_set_default :@type, DEFAULT_PARSER
|
99
100
|
config_param :with_priority, :bool, default: true
|
data/lib/fluent/plugin/in_udp.rb
CHANGED
@@ -34,7 +34,10 @@ module Fluent::Plugin
|
|
34
34
|
desc "The field name of the client's hostname."
|
35
35
|
config_param :source_hostname_key, :string, default: nil
|
36
36
|
|
37
|
-
|
37
|
+
desc "Deprecated parameter. Use message_length_limit instead"
|
38
|
+
config_param :body_size_limit, :size, default: nil, deprecated: "use message_length_limit instead."
|
39
|
+
desc "The max bytes of message"
|
40
|
+
config_param :message_length_limit, :size, default: 4096
|
38
41
|
|
39
42
|
config_param :blocking_timeout, :time, default: 0.5
|
40
43
|
|
@@ -43,6 +46,7 @@ module Fluent::Plugin
|
|
43
46
|
super
|
44
47
|
@_event_loop_blocking_timeout = @blocking_timeout
|
45
48
|
@source_hostname_key ||= @source_host_key if @source_host_key
|
49
|
+
@message_length_limit = @body_size_limit if @body_size_limit
|
46
50
|
|
47
51
|
@parser = parser_create
|
48
52
|
end
|
@@ -55,7 +59,7 @@ module Fluent::Plugin
|
|
55
59
|
super
|
56
60
|
|
57
61
|
log.info "listening udp socket", bind: @bind, port: @port
|
58
|
-
server_create(:in_udp_server, @port, proto: :udp, bind: @bind, max_bytes: @
|
62
|
+
server_create(:in_udp_server, @port, proto: :udp, bind: @bind, max_bytes: @message_length_limit) do |data, sock|
|
59
63
|
data.chomp!
|
60
64
|
begin
|
61
65
|
@parser.parse(data) do |time, record|
|
data/lib/fluent/version.rb
CHANGED
data/test/plugin/test_in_udp.rb
CHANGED
@@ -54,7 +54,7 @@ class UdpInputTest < Test::Unit::TestCase
|
|
54
54
|
d = create_driver(conf)
|
55
55
|
assert_equal PORT, d.instance.port
|
56
56
|
assert_equal bind, d.instance.bind
|
57
|
-
assert_equal 4096, d.instance.
|
57
|
+
assert_equal 4096, d.instance.message_length_limit
|
58
58
|
end
|
59
59
|
|
60
60
|
data(
|
@@ -86,6 +86,16 @@ class UdpInputTest < Test::Unit::TestCase
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
+
data(
|
90
|
+
'message_length_limit' => 'message_length_limit 2048',
|
91
|
+
'body_size_limit' => 'body_size_limit 2048'
|
92
|
+
)
|
93
|
+
test 'message_length_limit/body_size_limit compatibility' do |param|
|
94
|
+
|
95
|
+
d = create_driver(CONFIG + param)
|
96
|
+
assert_equal 2048, d.instance.message_length_limit
|
97
|
+
end
|
98
|
+
|
89
99
|
data(
|
90
100
|
'none' => {
|
91
101
|
'format' => 'none',
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluentd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.14
|
4
|
+
version: 0.14.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|
@@ -708,9 +708,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
708
708
|
version: '2.1'
|
709
709
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
710
710
|
requirements:
|
711
|
-
- - "
|
711
|
+
- - ">="
|
712
712
|
- !ruby/object:Gem::Version
|
713
|
-
version:
|
713
|
+
version: '0'
|
714
714
|
requirements: []
|
715
715
|
rubyforge_project:
|
716
716
|
rubygems_version: 2.5.2
|