fluentd 0.14.17-x64-mingw32 → 1.3.1-x64-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.

Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +16 -5
  3. data/ADOPTERS.md +5 -0
  4. data/{ChangeLog → CHANGELOG.md} +495 -6
  5. data/CONTRIBUTING.md +5 -2
  6. data/GOVERNANCE.md +55 -0
  7. data/LICENSE +202 -0
  8. data/MAINTAINERS.md +7 -5
  9. data/README.md +17 -10
  10. data/bin/fluent-ca-generate +6 -0
  11. data/example/counter.conf +18 -0
  12. data/example/secondary_file.conf +3 -2
  13. data/fluentd.gemspec +3 -3
  14. data/lib/fluent/agent.rb +1 -1
  15. data/lib/fluent/command/binlog_reader.rb +11 -2
  16. data/lib/fluent/command/ca_generate.rb +181 -0
  17. data/lib/fluent/command/cat.rb +28 -15
  18. data/lib/fluent/command/debug.rb +4 -4
  19. data/lib/fluent/command/fluentd.rb +2 -2
  20. data/lib/fluent/command/plugin_config_formatter.rb +24 -2
  21. data/lib/fluent/command/plugin_generator.rb +26 -8
  22. data/lib/fluent/config/configure_proxy.rb +7 -1
  23. data/lib/fluent/config/dsl.rb +8 -5
  24. data/lib/fluent/config/element.rb +5 -0
  25. data/lib/fluent/config/literal_parser.rb +7 -1
  26. data/lib/fluent/config/types.rb +28 -2
  27. data/lib/fluent/config/v1_parser.rb +1 -2
  28. data/lib/fluent/configurable.rb +1 -0
  29. data/lib/fluent/counter.rb +23 -0
  30. data/lib/fluent/counter/base_socket.rb +46 -0
  31. data/lib/fluent/counter/client.rb +297 -0
  32. data/lib/fluent/counter/error.rb +86 -0
  33. data/lib/fluent/counter/mutex_hash.rb +163 -0
  34. data/lib/fluent/counter/server.rb +273 -0
  35. data/lib/fluent/counter/store.rb +205 -0
  36. data/lib/fluent/counter/validator.rb +145 -0
  37. data/lib/fluent/env.rb +1 -0
  38. data/lib/fluent/event_router.rb +1 -1
  39. data/lib/fluent/log.rb +119 -29
  40. data/lib/fluent/plugin/base.rb +12 -0
  41. data/lib/fluent/plugin/buf_file.rb +20 -16
  42. data/lib/fluent/plugin/buffer.rb +130 -32
  43. data/lib/fluent/plugin/buffer/file_chunk.rb +23 -4
  44. data/lib/fluent/plugin/compressable.rb +1 -1
  45. data/lib/fluent/plugin/filter_grep.rb +135 -21
  46. data/lib/fluent/plugin/filter_parser.rb +13 -2
  47. data/lib/fluent/plugin/filter_record_transformer.rb +16 -14
  48. data/lib/fluent/plugin/formatter_stdout.rb +3 -2
  49. data/lib/fluent/plugin/formatter_tsv.rb +5 -1
  50. data/lib/fluent/plugin/in_debug_agent.rb +8 -1
  51. data/lib/fluent/plugin/in_forward.rb +1 -1
  52. data/lib/fluent/plugin/in_http.rb +84 -3
  53. data/lib/fluent/plugin/in_monitor_agent.rb +7 -1
  54. data/lib/fluent/plugin/in_syslog.rb +31 -10
  55. data/lib/fluent/plugin/in_tail.rb +142 -53
  56. data/lib/fluent/plugin/in_tcp.rb +5 -6
  57. data/lib/fluent/plugin/in_udp.rb +6 -2
  58. data/lib/fluent/plugin/in_unix.rb +1 -1
  59. data/lib/fluent/plugin/multi_output.rb +1 -0
  60. data/lib/fluent/plugin/out_copy.rb +25 -2
  61. data/lib/fluent/plugin/out_file.rb +26 -7
  62. data/lib/fluent/plugin/out_forward.rb +81 -42
  63. data/lib/fluent/plugin/out_secondary_file.rb +2 -2
  64. data/lib/fluent/plugin/out_stdout.rb +0 -1
  65. data/lib/fluent/plugin/out_stream.rb +1 -1
  66. data/lib/fluent/plugin/output.rb +221 -57
  67. data/lib/fluent/plugin/parser_apache.rb +1 -1
  68. data/lib/fluent/plugin/parser_apache2.rb +5 -1
  69. data/lib/fluent/plugin/parser_apache_error.rb +1 -1
  70. data/lib/fluent/plugin/parser_json.rb +10 -3
  71. data/lib/fluent/plugin/parser_ltsv.rb +7 -0
  72. data/lib/fluent/plugin/parser_multiline.rb +2 -1
  73. data/lib/fluent/plugin/parser_nginx.rb +1 -1
  74. data/lib/fluent/plugin/parser_none.rb +1 -0
  75. data/lib/fluent/plugin/parser_regexp.rb +15 -14
  76. data/lib/fluent/plugin/parser_syslog.rb +9 -5
  77. data/lib/fluent/plugin_helper.rb +2 -0
  78. data/lib/fluent/plugin_helper/cert_option.rb +28 -9
  79. data/lib/fluent/plugin_helper/compat_parameters.rb +3 -1
  80. data/lib/fluent/plugin_helper/counter.rb +51 -0
  81. data/lib/fluent/plugin_helper/event_loop.rb +9 -0
  82. data/lib/fluent/plugin_helper/record_accessor.rb +210 -0
  83. data/lib/fluent/plugin_helper/retry_state.rb +15 -7
  84. data/lib/fluent/plugin_helper/server.rb +87 -25
  85. data/lib/fluent/plugin_helper/socket_option.rb +5 -2
  86. data/lib/fluent/plugin_helper/timer.rb +8 -7
  87. data/lib/fluent/root_agent.rb +18 -9
  88. data/lib/fluent/supervisor.rb +63 -23
  89. data/lib/fluent/system_config.rb +30 -2
  90. data/lib/fluent/test/helpers.rb +1 -1
  91. data/lib/fluent/time.rb +15 -7
  92. data/lib/fluent/timezone.rb +26 -2
  93. data/lib/fluent/version.rb +1 -1
  94. data/templates/new_gem/README.md.erb +2 -2
  95. data/templates/new_gem/lib/fluent/plugin/filter.rb.erb +1 -1
  96. data/templates/new_gem/lib/fluent/plugin/input.rb.erb +1 -1
  97. data/templates/new_gem/lib/fluent/plugin/output.rb.erb +1 -1
  98. data/templates/new_gem/lib/fluent/plugin/parser.rb.erb +4 -4
  99. data/test/command/test_ca_generate.rb +70 -0
  100. data/test/command/test_fluentd.rb +2 -2
  101. data/test/command/test_plugin_config_formatter.rb +8 -7
  102. data/test/command/test_plugin_generator.rb +65 -39
  103. data/test/config/test_config_parser.rb +7 -2
  104. data/test/config/test_configurable.rb +7 -2
  105. data/test/config/test_configure_proxy.rb +41 -3
  106. data/test/config/test_dsl.rb +10 -10
  107. data/test/config/test_element.rb +10 -0
  108. data/test/config/test_literal_parser.rb +8 -0
  109. data/test/config/test_plugin_configuration.rb +56 -0
  110. data/test/config/test_system_config.rb +19 -1
  111. data/test/config/test_types.rb +37 -0
  112. data/test/counter/test_client.rb +559 -0
  113. data/test/counter/test_error.rb +44 -0
  114. data/test/counter/test_mutex_hash.rb +179 -0
  115. data/test/counter/test_server.rb +589 -0
  116. data/test/counter/test_store.rb +258 -0
  117. data/test/counter/test_validator.rb +137 -0
  118. data/test/plugin/test_buf_file.rb +124 -0
  119. data/test/plugin/test_buffer.rb +3 -2
  120. data/test/plugin/test_filter_grep.rb +580 -2
  121. data/test/plugin/test_filter_parser.rb +33 -2
  122. data/test/plugin/test_filter_record_transformer.rb +22 -1
  123. data/test/plugin/test_formatter_ltsv.rb +3 -0
  124. data/test/plugin/test_formatter_tsv.rb +68 -0
  125. data/test/plugin/test_in_debug_agent.rb +21 -0
  126. data/test/plugin/test_in_exec.rb +3 -5
  127. data/test/plugin/test_in_http.rb +178 -0
  128. data/test/plugin/test_in_monitor_agent.rb +1 -1
  129. data/test/plugin/test_in_syslog.rb +64 -0
  130. data/test/plugin/test_in_tail.rb +116 -6
  131. data/test/plugin/test_in_tcp.rb +21 -0
  132. data/test/plugin/test_in_udp.rb +78 -0
  133. data/test/plugin/test_metadata.rb +89 -0
  134. data/test/plugin/test_out_copy.rb +31 -0
  135. data/test/plugin/test_out_file.rb +108 -2
  136. data/test/plugin/test_out_forward.rb +195 -2
  137. data/test/plugin/test_out_secondary_file.rb +14 -0
  138. data/test/plugin/test_output.rb +159 -45
  139. data/test/plugin/test_output_as_buffered.rb +19 -0
  140. data/test/plugin/test_output_as_buffered_backup.rb +307 -0
  141. data/test/plugin/test_output_as_buffered_retries.rb +70 -0
  142. data/test/plugin/test_output_as_buffered_secondary.rb +1 -1
  143. data/test/plugin/test_parser_apache2.rb +1 -0
  144. data/test/plugin/test_parser_labeled_tsv.rb +17 -0
  145. data/test/plugin/test_parser_nginx.rb +40 -0
  146. data/test/plugin/test_parser_regexp.rb +6 -7
  147. data/test/plugin/test_parser_syslog.rb +155 -5
  148. data/test/plugin_helper/test_child_process.rb +4 -4
  149. data/test/plugin_helper/test_compat_parameters.rb +22 -0
  150. data/test/plugin_helper/test_record_accessor.rb +197 -0
  151. data/test/plugin_helper/test_retry_state.rb +20 -0
  152. data/test/plugin_helper/test_server.rb +30 -2
  153. data/test/test_config.rb +3 -3
  154. data/test/test_configdsl.rb +2 -2
  155. data/test/test_log.rb +51 -1
  156. data/test/test_root_agent.rb +33 -0
  157. data/test/test_supervisor.rb +105 -0
  158. metadata +68 -8
  159. data/COPYING +0 -14
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.17
4
+ version: 1.3.1
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-06 00:00:00.000000000 Z
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.1.7
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.1.7
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
- - COPYING
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: http://fluentd.org/
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.11
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
-