fluentd 0.14.17-x86-mingw32 → 1.3.1-x86-mingw32
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/.travis.yml +16 -5
- data/ADOPTERS.md +5 -0
- data/{ChangeLog → CHANGELOG.md} +495 -6
- data/CONTRIBUTING.md +5 -2
- data/GOVERNANCE.md +55 -0
- data/LICENSE +202 -0
- data/MAINTAINERS.md +7 -5
- data/README.md +17 -10
- data/bin/fluent-ca-generate +6 -0
- data/example/counter.conf +18 -0
- data/example/secondary_file.conf +3 -2
- data/fluentd.gemspec +3 -3
- data/lib/fluent/agent.rb +1 -1
- data/lib/fluent/command/binlog_reader.rb +11 -2
- data/lib/fluent/command/ca_generate.rb +181 -0
- data/lib/fluent/command/cat.rb +28 -15
- data/lib/fluent/command/debug.rb +4 -4
- data/lib/fluent/command/fluentd.rb +2 -2
- data/lib/fluent/command/plugin_config_formatter.rb +24 -2
- data/lib/fluent/command/plugin_generator.rb +26 -8
- data/lib/fluent/config/configure_proxy.rb +7 -1
- data/lib/fluent/config/dsl.rb +8 -5
- data/lib/fluent/config/element.rb +5 -0
- data/lib/fluent/config/literal_parser.rb +7 -1
- data/lib/fluent/config/types.rb +28 -2
- data/lib/fluent/config/v1_parser.rb +1 -2
- data/lib/fluent/configurable.rb +1 -0
- data/lib/fluent/counter.rb +23 -0
- data/lib/fluent/counter/base_socket.rb +46 -0
- data/lib/fluent/counter/client.rb +297 -0
- data/lib/fluent/counter/error.rb +86 -0
- data/lib/fluent/counter/mutex_hash.rb +163 -0
- data/lib/fluent/counter/server.rb +273 -0
- data/lib/fluent/counter/store.rb +205 -0
- data/lib/fluent/counter/validator.rb +145 -0
- data/lib/fluent/env.rb +1 -0
- data/lib/fluent/event_router.rb +1 -1
- data/lib/fluent/log.rb +119 -29
- data/lib/fluent/plugin/base.rb +12 -0
- data/lib/fluent/plugin/buf_file.rb +20 -16
- data/lib/fluent/plugin/buffer.rb +130 -32
- data/lib/fluent/plugin/buffer/file_chunk.rb +23 -4
- data/lib/fluent/plugin/compressable.rb +1 -1
- data/lib/fluent/plugin/filter_grep.rb +135 -21
- data/lib/fluent/plugin/filter_parser.rb +13 -2
- data/lib/fluent/plugin/filter_record_transformer.rb +16 -14
- data/lib/fluent/plugin/formatter_stdout.rb +3 -2
- data/lib/fluent/plugin/formatter_tsv.rb +5 -1
- data/lib/fluent/plugin/in_debug_agent.rb +8 -1
- data/lib/fluent/plugin/in_forward.rb +1 -1
- data/lib/fluent/plugin/in_http.rb +84 -3
- data/lib/fluent/plugin/in_monitor_agent.rb +7 -1
- data/lib/fluent/plugin/in_syslog.rb +31 -10
- data/lib/fluent/plugin/in_tail.rb +142 -53
- data/lib/fluent/plugin/in_tcp.rb +5 -6
- data/lib/fluent/plugin/in_udp.rb +6 -2
- data/lib/fluent/plugin/in_unix.rb +1 -1
- data/lib/fluent/plugin/multi_output.rb +1 -0
- data/lib/fluent/plugin/out_copy.rb +25 -2
- data/lib/fluent/plugin/out_file.rb +26 -7
- data/lib/fluent/plugin/out_forward.rb +81 -42
- data/lib/fluent/plugin/out_secondary_file.rb +2 -2
- data/lib/fluent/plugin/out_stdout.rb +0 -1
- data/lib/fluent/plugin/out_stream.rb +1 -1
- data/lib/fluent/plugin/output.rb +221 -57
- data/lib/fluent/plugin/parser_apache.rb +1 -1
- data/lib/fluent/plugin/parser_apache2.rb +5 -1
- data/lib/fluent/plugin/parser_apache_error.rb +1 -1
- data/lib/fluent/plugin/parser_json.rb +10 -3
- data/lib/fluent/plugin/parser_ltsv.rb +7 -0
- data/lib/fluent/plugin/parser_multiline.rb +2 -1
- data/lib/fluent/plugin/parser_nginx.rb +1 -1
- data/lib/fluent/plugin/parser_none.rb +1 -0
- data/lib/fluent/plugin/parser_regexp.rb +15 -14
- data/lib/fluent/plugin/parser_syslog.rb +9 -5
- data/lib/fluent/plugin_helper.rb +2 -0
- data/lib/fluent/plugin_helper/cert_option.rb +28 -9
- data/lib/fluent/plugin_helper/compat_parameters.rb +3 -1
- data/lib/fluent/plugin_helper/counter.rb +51 -0
- data/lib/fluent/plugin_helper/event_loop.rb +9 -0
- data/lib/fluent/plugin_helper/record_accessor.rb +210 -0
- data/lib/fluent/plugin_helper/retry_state.rb +15 -7
- data/lib/fluent/plugin_helper/server.rb +87 -25
- data/lib/fluent/plugin_helper/socket_option.rb +5 -2
- data/lib/fluent/plugin_helper/timer.rb +8 -7
- data/lib/fluent/root_agent.rb +18 -9
- data/lib/fluent/supervisor.rb +63 -23
- data/lib/fluent/system_config.rb +30 -2
- data/lib/fluent/test/helpers.rb +1 -1
- data/lib/fluent/time.rb +15 -7
- data/lib/fluent/timezone.rb +26 -2
- data/lib/fluent/version.rb +1 -1
- data/templates/new_gem/README.md.erb +2 -2
- data/templates/new_gem/lib/fluent/plugin/filter.rb.erb +1 -1
- data/templates/new_gem/lib/fluent/plugin/input.rb.erb +1 -1
- data/templates/new_gem/lib/fluent/plugin/output.rb.erb +1 -1
- data/templates/new_gem/lib/fluent/plugin/parser.rb.erb +4 -4
- data/test/command/test_ca_generate.rb +70 -0
- data/test/command/test_fluentd.rb +2 -2
- data/test/command/test_plugin_config_formatter.rb +8 -7
- data/test/command/test_plugin_generator.rb +65 -39
- data/test/config/test_config_parser.rb +7 -2
- data/test/config/test_configurable.rb +7 -2
- data/test/config/test_configure_proxy.rb +41 -3
- data/test/config/test_dsl.rb +10 -10
- data/test/config/test_element.rb +10 -0
- data/test/config/test_literal_parser.rb +8 -0
- data/test/config/test_plugin_configuration.rb +56 -0
- data/test/config/test_system_config.rb +19 -1
- data/test/config/test_types.rb +37 -0
- data/test/counter/test_client.rb +559 -0
- data/test/counter/test_error.rb +44 -0
- data/test/counter/test_mutex_hash.rb +179 -0
- data/test/counter/test_server.rb +589 -0
- data/test/counter/test_store.rb +258 -0
- data/test/counter/test_validator.rb +137 -0
- data/test/plugin/test_buf_file.rb +124 -0
- data/test/plugin/test_buffer.rb +3 -2
- data/test/plugin/test_filter_grep.rb +580 -2
- data/test/plugin/test_filter_parser.rb +33 -2
- data/test/plugin/test_filter_record_transformer.rb +22 -1
- data/test/plugin/test_formatter_ltsv.rb +3 -0
- data/test/plugin/test_formatter_tsv.rb +68 -0
- data/test/plugin/test_in_debug_agent.rb +21 -0
- data/test/plugin/test_in_exec.rb +3 -5
- data/test/plugin/test_in_http.rb +178 -0
- data/test/plugin/test_in_monitor_agent.rb +1 -1
- data/test/plugin/test_in_syslog.rb +64 -0
- data/test/plugin/test_in_tail.rb +116 -6
- data/test/plugin/test_in_tcp.rb +21 -0
- data/test/plugin/test_in_udp.rb +78 -0
- data/test/plugin/test_metadata.rb +89 -0
- data/test/plugin/test_out_copy.rb +31 -0
- data/test/plugin/test_out_file.rb +108 -2
- data/test/plugin/test_out_forward.rb +195 -2
- data/test/plugin/test_out_secondary_file.rb +14 -0
- data/test/plugin/test_output.rb +159 -45
- data/test/plugin/test_output_as_buffered.rb +19 -0
- data/test/plugin/test_output_as_buffered_backup.rb +307 -0
- data/test/plugin/test_output_as_buffered_retries.rb +70 -0
- data/test/plugin/test_output_as_buffered_secondary.rb +1 -1
- data/test/plugin/test_parser_apache2.rb +1 -0
- data/test/plugin/test_parser_labeled_tsv.rb +17 -0
- data/test/plugin/test_parser_nginx.rb +40 -0
- data/test/plugin/test_parser_regexp.rb +6 -7
- data/test/plugin/test_parser_syslog.rb +155 -5
- data/test/plugin_helper/test_child_process.rb +4 -4
- data/test/plugin_helper/test_compat_parameters.rb +22 -0
- data/test/plugin_helper/test_record_accessor.rb +197 -0
- data/test/plugin_helper/test_retry_state.rb +20 -0
- data/test/plugin_helper/test_server.rb +30 -2
- data/test/test_config.rb +3 -3
- data/test/test_configdsl.rb +2 -2
- data/test/test_log.rb +51 -1
- data/test/test_root_agent.rb +33 -0
- data/test/test_supervisor.rb +105 -0
- metadata +68 -8
- data/COPYING +0 -14
data/test/test_root_agent.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require_relative 'helper'
|
2
2
|
require 'fluent/event_router'
|
3
3
|
require 'fluent/system_config'
|
4
|
+
require 'timecop'
|
4
5
|
require_relative 'test_plugin_classes'
|
5
6
|
|
6
7
|
class RootAgentTest < ::Test::Unit::TestCase
|
@@ -609,6 +610,38 @@ EOC
|
|
609
610
|
end
|
610
611
|
end
|
611
612
|
|
613
|
+
sub_test_case 'configure emit_error_interval' do
|
614
|
+
setup do
|
615
|
+
system_config = SystemConfig.new
|
616
|
+
system_config.emit_error_log_interval = 30
|
617
|
+
@ra = RootAgent.new(log: $log, system_config: system_config)
|
618
|
+
stub(Engine).root_agent { @ra }
|
619
|
+
@ra.log.out.reset
|
620
|
+
one_minute_ago = Time.now.to_i - 60
|
621
|
+
Timecop.freeze(one_minute_ago)
|
622
|
+
end
|
623
|
+
|
624
|
+
teardown do
|
625
|
+
Timecop.return
|
626
|
+
end
|
627
|
+
|
628
|
+
test 'suppresses errors' do
|
629
|
+
mock(@ra.log).warn_backtrace()
|
630
|
+
e = StandardError.new('standard error')
|
631
|
+
begin
|
632
|
+
@ra.handle_emits_error("tag", nil, e)
|
633
|
+
rescue
|
634
|
+
end
|
635
|
+
|
636
|
+
begin
|
637
|
+
@ra.handle_emits_error("tag", nil, e)
|
638
|
+
rescue
|
639
|
+
end
|
640
|
+
|
641
|
+
assert_equal 1, @ra.log.out.logs.size
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
612
645
|
sub_test_case 'configured at worker2 with 4 workers environment' do
|
613
646
|
setup do
|
614
647
|
ENV['SERVERENGINE_WORKER_ID'] = '2'
|
data/test/test_supervisor.rb
CHANGED
@@ -77,6 +77,46 @@ class SupervisorTest < ::Test::Unit::TestCase
|
|
77
77
|
$log.out.reset
|
78
78
|
end
|
79
79
|
|
80
|
+
def test_read_config_with_multibyte_string
|
81
|
+
tmp_path = "#{TMP_DIR}/dir/test_multibyte_config.conf"
|
82
|
+
conf_str = %[
|
83
|
+
<source>
|
84
|
+
@type forward
|
85
|
+
@id forward_input
|
86
|
+
@label @INPUT
|
87
|
+
</source>
|
88
|
+
<label @INPUT>
|
89
|
+
<filter>
|
90
|
+
@type record_transformer
|
91
|
+
<record>
|
92
|
+
message こんにちは. ${record["name"]} has made a order of ${record["item"]} just now.
|
93
|
+
</record>
|
94
|
+
</filter>
|
95
|
+
<match>
|
96
|
+
@type stdout
|
97
|
+
</match>
|
98
|
+
</label>
|
99
|
+
]
|
100
|
+
FileUtils.mkdir_p(File.dirname(tmp_path))
|
101
|
+
File.open(tmp_path, "w:utf-8") {|file| file.write(conf_str) }
|
102
|
+
|
103
|
+
opts = Fluent::Supervisor.default_options
|
104
|
+
sv = Fluent::Supervisor.new(opts)
|
105
|
+
|
106
|
+
use_v1_config = {}
|
107
|
+
use_v1_config['use_v1_config'] = true
|
108
|
+
|
109
|
+
sv.instance_variable_set(:@config_path, tmp_path)
|
110
|
+
sv.instance_variable_set(:@use_v1_config, use_v1_config)
|
111
|
+
sv.send(:read_config)
|
112
|
+
|
113
|
+
conf = sv.instance_variable_get(:@conf)
|
114
|
+
label = conf.elements.detect {|e| e.name == "label" }
|
115
|
+
filter = label.elements.detect {|e| e.name == "filter" }
|
116
|
+
record_transformer = filter.elements.detect {|e| e.name = "record_transformer" }
|
117
|
+
assert_equal(Encoding::UTF_8, record_transformer["message"].encoding)
|
118
|
+
end
|
119
|
+
|
80
120
|
def test_system_config
|
81
121
|
opts = Fluent::Supervisor.default_options
|
82
122
|
sv = Fluent::Supervisor.new(opts)
|
@@ -90,6 +130,21 @@ class SupervisorTest < ::Test::Unit::TestCase
|
|
90
130
|
process_name "process_name"
|
91
131
|
log_level info
|
92
132
|
root_dir #{TMP_ROOT_DIR}
|
133
|
+
<log>
|
134
|
+
format json
|
135
|
+
time_format %Y
|
136
|
+
</log>
|
137
|
+
<counter_server>
|
138
|
+
bind 127.0.0.1
|
139
|
+
port 24321
|
140
|
+
scope server1
|
141
|
+
backup_path /tmp/backup
|
142
|
+
</counter_server>
|
143
|
+
<counter_client>
|
144
|
+
host 127.0.0.1
|
145
|
+
port 24321
|
146
|
+
timeout 2
|
147
|
+
</counter_client>
|
93
148
|
</system>
|
94
149
|
EOC
|
95
150
|
conf = Fluent::Config.parse(conf_data, "(test)", "(test_dir)", true)
|
@@ -105,6 +160,17 @@ class SupervisorTest < ::Test::Unit::TestCase
|
|
105
160
|
assert_equal "process_name", sys_conf.process_name
|
106
161
|
assert_equal 2, sys_conf.log_level
|
107
162
|
assert_equal TMP_ROOT_DIR, sys_conf.root_dir
|
163
|
+
assert_equal :json, sys_conf.log.format
|
164
|
+
assert_equal '%Y', sys_conf.log.time_format
|
165
|
+
counter_server = sys_conf.counter_server
|
166
|
+
assert_equal '127.0.0.1', counter_server.bind
|
167
|
+
assert_equal 24321, counter_server.port
|
168
|
+
assert_equal 'server1', counter_server.scope
|
169
|
+
assert_equal '/tmp/backup', counter_server.backup_path
|
170
|
+
counter_client = sys_conf.counter_client
|
171
|
+
assert_equal '127.0.0.1', counter_client.host
|
172
|
+
assert_equal 24321, counter_client.port
|
173
|
+
assert_equal 2, counter_client.timeout
|
108
174
|
end
|
109
175
|
|
110
176
|
def test_main_process_signal_handlers
|
@@ -319,6 +385,45 @@ class SupervisorTest < ::Test::Unit::TestCase
|
|
319
385
|
assert_equal Fluent::Log::LEVEL_INFO, se_config[:log_level]
|
320
386
|
end
|
321
387
|
|
388
|
+
def test_load_config_with_multibyte_string
|
389
|
+
tmp_path = "#{TMP_DIR}/dir/test_multibyte_config.conf"
|
390
|
+
conf_str = %[
|
391
|
+
<source>
|
392
|
+
@type forward
|
393
|
+
@id forward_input
|
394
|
+
@label @INPUT
|
395
|
+
</source>
|
396
|
+
<label @INPUT>
|
397
|
+
<filter>
|
398
|
+
@type record_transformer
|
399
|
+
<record>
|
400
|
+
message こんにちは. ${record["name"]} has made a order of ${record["item"]} just now.
|
401
|
+
</record>
|
402
|
+
</filter>
|
403
|
+
<match>
|
404
|
+
@type stdout
|
405
|
+
</match>
|
406
|
+
</label>
|
407
|
+
]
|
408
|
+
FileUtils.mkdir_p(File.dirname(tmp_path))
|
409
|
+
File.open(tmp_path, "w:utf-8") {|file| file.write(conf_str) }
|
410
|
+
|
411
|
+
params = {}
|
412
|
+
params['workers'] = 1
|
413
|
+
params['use_v1_config'] = true
|
414
|
+
params['log_path'] = 'test/tmp/supervisor/log'
|
415
|
+
params['suppress_repeated_stacktrace'] = true
|
416
|
+
params['log_level'] = Fluent::Log::LEVEL_INFO
|
417
|
+
load_config_proc = Proc.new { Fluent::Supervisor.load_config(tmp_path, params) }
|
418
|
+
|
419
|
+
se_config = load_config_proc.call
|
420
|
+
conf = se_config[:fluentd_conf]
|
421
|
+
label = conf.elements.detect {|e| e.name == "label" }
|
422
|
+
filter = label.elements.detect {|e| e.name == "filter" }
|
423
|
+
record_transformer = filter.elements.detect {|e| e.name = "record_transformer" }
|
424
|
+
assert_equal(Encoding::UTF_8, record_transformer["message"].encoding)
|
425
|
+
end
|
426
|
+
|
322
427
|
def test_logger
|
323
428
|
opts = Fluent::Supervisor.default_options
|
324
429
|
sv = Fluent::Supervisor.new(opts)
|
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:
|
4
|
+
version: 1.3.1
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|
@@ -148,18 +148,38 @@ dependencies:
|
|
148
148
|
version: '1.0'
|
149
149
|
- !ruby/object:Gem::Dependency
|
150
150
|
name: strptime
|
151
|
+
requirement: !ruby/object:Gem::Requirement
|
152
|
+
requirements:
|
153
|
+
- - ">="
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: 0.2.2
|
156
|
+
- - "<"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: 1.0.0
|
159
|
+
type: :runtime
|
160
|
+
prerelease: false
|
161
|
+
version_requirements: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - ">="
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: 0.2.2
|
166
|
+
- - "<"
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: 1.0.0
|
169
|
+
- !ruby/object:Gem::Dependency
|
170
|
+
name: dig_rb
|
151
171
|
requirement: !ruby/object:Gem::Requirement
|
152
172
|
requirements:
|
153
173
|
- - "~>"
|
154
174
|
- !ruby/object:Gem::Version
|
155
|
-
version: 0.
|
175
|
+
version: 1.0.0
|
156
176
|
type: :runtime
|
157
177
|
prerelease: false
|
158
178
|
version_requirements: !ruby/object:Gem::Requirement
|
159
179
|
requirements:
|
160
180
|
- - "~>"
|
161
181
|
- !ruby/object:Gem::Version
|
162
|
-
version: 0.
|
182
|
+
version: 1.0.0
|
163
183
|
- !ruby/object:Gem::Dependency
|
164
184
|
name: win32-service
|
165
185
|
requirement: !ruby/object:Gem::Requirement
|
@@ -348,6 +368,7 @@ email:
|
|
348
368
|
- frsyuki@gmail.com
|
349
369
|
executables:
|
350
370
|
- fluent-binlog-reader
|
371
|
+
- fluent-ca-generate
|
351
372
|
- fluent-cat
|
352
373
|
- fluent-debug
|
353
374
|
- fluent-gem
|
@@ -360,17 +381,20 @@ files:
|
|
360
381
|
- ".github/ISSUE_TEMPLATE.md"
|
361
382
|
- ".gitignore"
|
362
383
|
- ".travis.yml"
|
384
|
+
- ADOPTERS.md
|
363
385
|
- AUTHORS
|
386
|
+
- CHANGELOG.md
|
364
387
|
- CONTRIBUTING.md
|
365
|
-
-
|
366
|
-
- ChangeLog
|
388
|
+
- GOVERNANCE.md
|
367
389
|
- Gemfile
|
390
|
+
- LICENSE
|
368
391
|
- MAINTAINERS.md
|
369
392
|
- README.md
|
370
393
|
- Rakefile
|
371
394
|
- Vagrantfile
|
372
395
|
- appveyor.yml
|
373
396
|
- bin/fluent-binlog-reader
|
397
|
+
- bin/fluent-ca-generate
|
374
398
|
- bin/fluent-cat
|
375
399
|
- bin/fluent-debug
|
376
400
|
- bin/fluent-gem
|
@@ -379,6 +403,7 @@ files:
|
|
379
403
|
- bin/fluentd
|
380
404
|
- code-of-conduct.md
|
381
405
|
- example/copy_roundrobin.conf
|
406
|
+
- example/counter.conf
|
382
407
|
- example/filter_stdout.conf
|
383
408
|
- example/in_dummy_blocks.conf
|
384
409
|
- example/in_dummy_with_compression.conf
|
@@ -418,6 +443,7 @@ files:
|
|
418
443
|
- lib/fluent/clock.rb
|
419
444
|
- lib/fluent/command/binlog_reader.rb
|
420
445
|
- lib/fluent/command/bundler_injection.rb
|
446
|
+
- lib/fluent/command/ca_generate.rb
|
421
447
|
- lib/fluent/command/cat.rb
|
422
448
|
- lib/fluent/command/debug.rb
|
423
449
|
- lib/fluent/command/fluentd.rb
|
@@ -457,6 +483,14 @@ files:
|
|
457
483
|
- lib/fluent/config/types.rb
|
458
484
|
- lib/fluent/config/v1_parser.rb
|
459
485
|
- lib/fluent/configurable.rb
|
486
|
+
- lib/fluent/counter.rb
|
487
|
+
- lib/fluent/counter/base_socket.rb
|
488
|
+
- lib/fluent/counter/client.rb
|
489
|
+
- lib/fluent/counter/error.rb
|
490
|
+
- lib/fluent/counter/mutex_hash.rb
|
491
|
+
- lib/fluent/counter/server.rb
|
492
|
+
- lib/fluent/counter/store.rb
|
493
|
+
- lib/fluent/counter/validator.rb
|
460
494
|
- lib/fluent/daemon.rb
|
461
495
|
- lib/fluent/engine.rb
|
462
496
|
- lib/fluent/env.rb
|
@@ -553,12 +587,14 @@ files:
|
|
553
587
|
- lib/fluent/plugin_helper/cert_option.rb
|
554
588
|
- lib/fluent/plugin_helper/child_process.rb
|
555
589
|
- lib/fluent/plugin_helper/compat_parameters.rb
|
590
|
+
- lib/fluent/plugin_helper/counter.rb
|
556
591
|
- lib/fluent/plugin_helper/event_emitter.rb
|
557
592
|
- lib/fluent/plugin_helper/event_loop.rb
|
558
593
|
- lib/fluent/plugin_helper/extract.rb
|
559
594
|
- lib/fluent/plugin_helper/formatter.rb
|
560
595
|
- lib/fluent/plugin_helper/inject.rb
|
561
596
|
- lib/fluent/plugin_helper/parser.rb
|
597
|
+
- lib/fluent/plugin_helper/record_accessor.rb
|
562
598
|
- lib/fluent/plugin_helper/retry_state.rb
|
563
599
|
- lib/fluent/plugin_helper/server.rb
|
564
600
|
- lib/fluent/plugin_helper/socket.rb
|
@@ -618,6 +654,7 @@ files:
|
|
618
654
|
- templates/plugin_config_formatter/param.md.erb
|
619
655
|
- templates/plugin_config_formatter/section.md.erb
|
620
656
|
- test/command/test_binlog_reader.rb
|
657
|
+
- test/command/test_ca_generate.rb
|
621
658
|
- test/command/test_fluentd.rb
|
622
659
|
- test/command/test_plugin_config_formatter.rb
|
623
660
|
- test/command/test_plugin_generator.rb
|
@@ -630,9 +667,16 @@ files:
|
|
630
667
|
- test/config/test_dsl.rb
|
631
668
|
- test/config/test_element.rb
|
632
669
|
- test/config/test_literal_parser.rb
|
670
|
+
- test/config/test_plugin_configuration.rb
|
633
671
|
- test/config/test_section.rb
|
634
672
|
- test/config/test_system_config.rb
|
635
673
|
- test/config/test_types.rb
|
674
|
+
- test/counter/test_client.rb
|
675
|
+
- test/counter/test_error.rb
|
676
|
+
- test/counter/test_mutex_hash.rb
|
677
|
+
- test/counter/test_server.rb
|
678
|
+
- test/counter/test_store.rb
|
679
|
+
- test/counter/test_validator.rb
|
636
680
|
- test/helper.rb
|
637
681
|
- test/plugin/data/2010/01/20100102-030405.log
|
638
682
|
- test/plugin/data/2010/01/20100102-030406.log
|
@@ -663,6 +707,7 @@ files:
|
|
663
707
|
- test/plugin/test_formatter_msgpack.rb
|
664
708
|
- test/plugin/test_formatter_out_file.rb
|
665
709
|
- test/plugin/test_formatter_single_value.rb
|
710
|
+
- test/plugin/test_formatter_tsv.rb
|
666
711
|
- test/plugin/test_in_debug_agent.rb
|
667
712
|
- test/plugin/test_in_dummy.rb
|
668
713
|
- test/plugin/test_in_exec.rb
|
@@ -677,6 +722,7 @@ files:
|
|
677
722
|
- test/plugin/test_in_udp.rb
|
678
723
|
- test/plugin/test_in_unix.rb
|
679
724
|
- test/plugin/test_input.rb
|
725
|
+
- test/plugin/test_metadata.rb
|
680
726
|
- test/plugin/test_multi_output.rb
|
681
727
|
- test/plugin/test_out_copy.rb
|
682
728
|
- test/plugin/test_out_exec.rb
|
@@ -691,6 +737,7 @@ files:
|
|
691
737
|
- test/plugin/test_out_stream.rb
|
692
738
|
- test/plugin/test_output.rb
|
693
739
|
- test/plugin/test_output_as_buffered.rb
|
740
|
+
- test/plugin/test_output_as_buffered_backup.rb
|
694
741
|
- test/plugin/test_output_as_buffered_compress.rb
|
695
742
|
- test/plugin/test_output_as_buffered_overflow.rb
|
696
743
|
- test/plugin/test_output_as_buffered_retries.rb
|
@@ -721,6 +768,7 @@ files:
|
|
721
768
|
- test/plugin_helper/test_formatter.rb
|
722
769
|
- test/plugin_helper/test_inject.rb
|
723
770
|
- test/plugin_helper/test_parser.rb
|
771
|
+
- test/plugin_helper/test_record_accessor.rb
|
724
772
|
- test/plugin_helper/test_retry_state.rb
|
725
773
|
- test/plugin_helper/test_server.rb
|
726
774
|
- test/plugin_helper/test_storage.rb
|
@@ -757,7 +805,7 @@ files:
|
|
757
805
|
- test/test_time_formatter.rb
|
758
806
|
- test/test_time_parser.rb
|
759
807
|
- test/test_unique_id.rb
|
760
|
-
homepage:
|
808
|
+
homepage: https://www.fluentd.org/
|
761
809
|
licenses:
|
762
810
|
- Apache-2.0
|
763
811
|
metadata: {}
|
@@ -777,12 +825,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
777
825
|
version: '0'
|
778
826
|
requirements: []
|
779
827
|
rubyforge_project:
|
780
|
-
rubygems_version: 2.6.
|
828
|
+
rubygems_version: 2.6.14.1
|
781
829
|
signing_key:
|
782
830
|
specification_version: 4
|
783
831
|
summary: Fluentd event collector
|
784
832
|
test_files:
|
785
833
|
- test/command/test_binlog_reader.rb
|
834
|
+
- test/command/test_ca_generate.rb
|
786
835
|
- test/command/test_fluentd.rb
|
787
836
|
- test/command/test_plugin_config_formatter.rb
|
788
837
|
- test/command/test_plugin_generator.rb
|
@@ -795,9 +844,16 @@ test_files:
|
|
795
844
|
- test/config/test_dsl.rb
|
796
845
|
- test/config/test_element.rb
|
797
846
|
- test/config/test_literal_parser.rb
|
847
|
+
- test/config/test_plugin_configuration.rb
|
798
848
|
- test/config/test_section.rb
|
799
849
|
- test/config/test_system_config.rb
|
800
850
|
- test/config/test_types.rb
|
851
|
+
- test/counter/test_client.rb
|
852
|
+
- test/counter/test_error.rb
|
853
|
+
- test/counter/test_mutex_hash.rb
|
854
|
+
- test/counter/test_server.rb
|
855
|
+
- test/counter/test_store.rb
|
856
|
+
- test/counter/test_validator.rb
|
801
857
|
- test/helper.rb
|
802
858
|
- test/plugin/data/2010/01/20100102-030405.log
|
803
859
|
- test/plugin/data/2010/01/20100102-030406.log
|
@@ -828,6 +884,7 @@ test_files:
|
|
828
884
|
- test/plugin/test_formatter_msgpack.rb
|
829
885
|
- test/plugin/test_formatter_out_file.rb
|
830
886
|
- test/plugin/test_formatter_single_value.rb
|
887
|
+
- test/plugin/test_formatter_tsv.rb
|
831
888
|
- test/plugin/test_in_debug_agent.rb
|
832
889
|
- test/plugin/test_in_dummy.rb
|
833
890
|
- test/plugin/test_in_exec.rb
|
@@ -842,6 +899,7 @@ test_files:
|
|
842
899
|
- test/plugin/test_in_udp.rb
|
843
900
|
- test/plugin/test_in_unix.rb
|
844
901
|
- test/plugin/test_input.rb
|
902
|
+
- test/plugin/test_metadata.rb
|
845
903
|
- test/plugin/test_multi_output.rb
|
846
904
|
- test/plugin/test_out_copy.rb
|
847
905
|
- test/plugin/test_out_exec.rb
|
@@ -856,6 +914,7 @@ test_files:
|
|
856
914
|
- test/plugin/test_out_stream.rb
|
857
915
|
- test/plugin/test_output.rb
|
858
916
|
- test/plugin/test_output_as_buffered.rb
|
917
|
+
- test/plugin/test_output_as_buffered_backup.rb
|
859
918
|
- test/plugin/test_output_as_buffered_compress.rb
|
860
919
|
- test/plugin/test_output_as_buffered_overflow.rb
|
861
920
|
- test/plugin/test_output_as_buffered_retries.rb
|
@@ -886,6 +945,7 @@ test_files:
|
|
886
945
|
- test/plugin_helper/test_formatter.rb
|
887
946
|
- test/plugin_helper/test_inject.rb
|
888
947
|
- test/plugin_helper/test_parser.rb
|
948
|
+
- test/plugin_helper/test_record_accessor.rb
|
889
949
|
- test/plugin_helper/test_retry_state.rb
|
890
950
|
- test/plugin_helper/test_server.rb
|
891
951
|
- test/plugin_helper/test_storage.rb
|
data/COPYING
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
Copyright (C) 2011 FURUHASHI Sadayuki
|
2
|
-
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
you may not use this file except in compliance with the License.
|
5
|
-
You may obtain a copy of the License at
|
6
|
-
|
7
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
|
9
|
-
Unless required by applicable law or agreed to in writing, software
|
10
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
See the License for the specific language governing permissions and
|
13
|
-
limitations under the License.
|
14
|
-
|