fluentd 0.12.40 → 1.6.2

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 (428) hide show
  1. checksums.yaml +5 -5
  2. data/.github/ISSUE_TEMPLATE/bug_report.md +39 -0
  3. data/.github/ISSUE_TEMPLATE/feature_request.md +23 -0
  4. data/.github/ISSUE_TEMPLATE.md +17 -0
  5. data/.github/PULL_REQUEST_TEMPLATE.md +13 -0
  6. data/.gitignore +5 -0
  7. data/.gitlab/cicd-template.yaml +10 -0
  8. data/.gitlab-ci.yml +147 -0
  9. data/.travis.yml +56 -20
  10. data/ADOPTERS.md +5 -0
  11. data/CHANGELOG.md +1369 -0
  12. data/CONTRIBUTING.md +16 -5
  13. data/GOVERNANCE.md +55 -0
  14. data/Gemfile +5 -0
  15. data/GithubWorkflow.md +78 -0
  16. data/LICENSE +202 -0
  17. data/MAINTAINERS.md +7 -0
  18. data/README.md +23 -11
  19. data/Rakefile +48 -2
  20. data/Vagrantfile +17 -0
  21. data/appveyor.yml +37 -0
  22. data/bin/fluent-binlog-reader +7 -0
  23. data/bin/fluent-ca-generate +6 -0
  24. data/bin/fluent-plugin-config-format +5 -0
  25. data/bin/fluent-plugin-generate +5 -0
  26. data/bin/fluentd +3 -0
  27. data/code-of-conduct.md +3 -0
  28. data/example/copy_roundrobin.conf +39 -0
  29. data/example/counter.conf +18 -0
  30. data/example/in_dummy_blocks.conf +17 -0
  31. data/example/in_dummy_with_compression.conf +23 -0
  32. data/example/in_forward.conf +7 -0
  33. data/example/in_forward_client.conf +37 -0
  34. data/example/in_forward_shared_key.conf +15 -0
  35. data/example/in_forward_tls.conf +14 -0
  36. data/example/in_forward_users.conf +24 -0
  37. data/example/in_forward_workers.conf +21 -0
  38. data/example/in_http.conf +3 -1
  39. data/example/in_out_forward.conf +17 -0
  40. data/example/logevents.conf +25 -0
  41. data/example/multi_filters.conf +61 -0
  42. data/example/out_exec_filter.conf +42 -0
  43. data/example/out_forward.conf +13 -13
  44. data/example/out_forward_buf_file.conf +23 -0
  45. data/example/out_forward_client.conf +109 -0
  46. data/example/out_forward_heartbeat_none.conf +16 -0
  47. data/example/out_forward_shared_key.conf +36 -0
  48. data/example/out_forward_tls.conf +18 -0
  49. data/example/out_forward_users.conf +65 -0
  50. data/example/out_null.conf +36 -0
  51. data/example/secondary_file.conf +42 -0
  52. data/example/suppress_config_dump.conf +7 -0
  53. data/example/worker_section.conf +36 -0
  54. data/fluent.conf +29 -0
  55. data/fluentd.gemspec +21 -11
  56. data/lib/fluent/agent.rb +67 -90
  57. data/lib/fluent/clock.rb +62 -0
  58. data/lib/fluent/command/binlog_reader.rb +244 -0
  59. data/lib/fluent/command/ca_generate.rb +181 -0
  60. data/lib/fluent/command/cat.rb +42 -18
  61. data/lib/fluent/command/debug.rb +12 -10
  62. data/lib/fluent/command/fluentd.rb +153 -5
  63. data/lib/fluent/command/plugin_config_formatter.rb +292 -0
  64. data/lib/fluent/command/plugin_generator.rb +324 -0
  65. data/lib/fluent/compat/call_super_mixin.rb +67 -0
  66. data/lib/fluent/compat/detach_process_mixin.rb +33 -0
  67. data/lib/fluent/compat/exec_util.rb +129 -0
  68. data/lib/fluent/compat/file_util.rb +54 -0
  69. data/lib/fluent/compat/filter.rb +68 -0
  70. data/lib/fluent/compat/formatter.rb +111 -0
  71. data/lib/fluent/compat/formatter_utils.rb +85 -0
  72. data/lib/fluent/compat/handle_tag_and_time_mixin.rb +62 -0
  73. data/lib/fluent/compat/handle_tag_name_mixin.rb +53 -0
  74. data/lib/fluent/compat/input.rb +49 -0
  75. data/lib/fluent/compat/output.rb +718 -0
  76. data/lib/fluent/compat/output_chain.rb +60 -0
  77. data/lib/fluent/compat/parser.rb +310 -0
  78. data/lib/fluent/compat/parser_utils.rb +40 -0
  79. data/lib/fluent/compat/propagate_default.rb +62 -0
  80. data/lib/fluent/compat/record_filter_mixin.rb +34 -0
  81. data/lib/fluent/compat/set_tag_key_mixin.rb +50 -0
  82. data/lib/fluent/compat/set_time_key_mixin.rb +69 -0
  83. data/lib/fluent/compat/socket_util.rb +165 -0
  84. data/lib/fluent/compat/string_util.rb +34 -0
  85. data/lib/fluent/compat/structured_format_mixin.rb +26 -0
  86. data/lib/fluent/compat/type_converter.rb +90 -0
  87. data/lib/fluent/config/configure_proxy.rb +210 -62
  88. data/lib/fluent/config/dsl.rb +12 -5
  89. data/lib/fluent/config/element.rb +107 -9
  90. data/lib/fluent/config/literal_parser.rb +9 -3
  91. data/lib/fluent/config/parser.rb +4 -4
  92. data/lib/fluent/config/section.rb +51 -14
  93. data/lib/fluent/config/types.rb +28 -13
  94. data/lib/fluent/config/v1_parser.rb +3 -5
  95. data/lib/fluent/config.rb +23 -20
  96. data/lib/fluent/configurable.rb +79 -21
  97. data/lib/fluent/counter/base_socket.rb +46 -0
  98. data/lib/fluent/counter/client.rb +297 -0
  99. data/lib/fluent/counter/error.rb +86 -0
  100. data/lib/fluent/counter/mutex_hash.rb +163 -0
  101. data/lib/fluent/counter/server.rb +273 -0
  102. data/lib/fluent/counter/store.rb +205 -0
  103. data/lib/fluent/counter/validator.rb +145 -0
  104. data/lib/fluent/counter.rb +23 -0
  105. data/lib/fluent/daemon.rb +15 -0
  106. data/lib/fluent/engine.rb +102 -65
  107. data/lib/fluent/env.rb +7 -3
  108. data/lib/fluent/error.rb +30 -0
  109. data/lib/fluent/event.rb +197 -21
  110. data/lib/fluent/event_router.rb +93 -10
  111. data/lib/fluent/filter.rb +2 -50
  112. data/lib/fluent/formatter.rb +4 -293
  113. data/lib/fluent/input.rb +2 -32
  114. data/lib/fluent/label.rb +10 -2
  115. data/lib/fluent/load.rb +3 -3
  116. data/lib/fluent/log.rb +348 -81
  117. data/lib/fluent/match.rb +37 -36
  118. data/lib/fluent/mixin.rb +12 -176
  119. data/lib/fluent/msgpack_factory.rb +62 -0
  120. data/lib/fluent/output.rb +10 -612
  121. data/lib/fluent/output_chain.rb +23 -0
  122. data/lib/fluent/parser.rb +4 -800
  123. data/lib/fluent/plugin/bare_output.rb +63 -0
  124. data/lib/fluent/plugin/base.rb +192 -0
  125. data/lib/fluent/plugin/buf_file.rb +128 -174
  126. data/lib/fluent/plugin/buf_memory.rb +9 -92
  127. data/lib/fluent/plugin/buffer/chunk.rb +221 -0
  128. data/lib/fluent/plugin/buffer/file_chunk.rb +383 -0
  129. data/lib/fluent/plugin/buffer/memory_chunk.rb +90 -0
  130. data/lib/fluent/plugin/buffer.rb +779 -0
  131. data/lib/fluent/plugin/compressable.rb +92 -0
  132. data/lib/fluent/plugin/exec_util.rb +3 -108
  133. data/lib/fluent/plugin/file_util.rb +4 -34
  134. data/lib/fluent/plugin/file_wrapper.rb +120 -0
  135. data/lib/fluent/plugin/filter.rb +93 -0
  136. data/lib/fluent/plugin/filter_grep.rb +117 -34
  137. data/lib/fluent/plugin/filter_parser.rb +85 -62
  138. data/lib/fluent/plugin/filter_record_transformer.rb +27 -39
  139. data/lib/fluent/plugin/filter_stdout.rb +15 -12
  140. data/lib/fluent/plugin/formatter.rb +50 -0
  141. data/lib/fluent/plugin/formatter_csv.rb +52 -0
  142. data/lib/fluent/plugin/formatter_hash.rb +33 -0
  143. data/lib/fluent/plugin/formatter_json.rb +55 -0
  144. data/lib/fluent/plugin/formatter_ltsv.rb +42 -0
  145. data/lib/fluent/plugin/formatter_msgpack.rb +33 -0
  146. data/lib/fluent/plugin/formatter_out_file.rb +51 -0
  147. data/lib/fluent/plugin/formatter_single_value.rb +34 -0
  148. data/lib/fluent/plugin/formatter_stdout.rb +76 -0
  149. data/lib/fluent/plugin/formatter_tsv.rb +38 -0
  150. data/lib/fluent/plugin/in_debug_agent.rb +17 -6
  151. data/lib/fluent/plugin/in_dummy.rb +47 -20
  152. data/lib/fluent/plugin/in_exec.rb +55 -123
  153. data/lib/fluent/plugin/in_forward.rb +299 -216
  154. data/lib/fluent/plugin/in_gc_stat.rb +14 -36
  155. data/lib/fluent/plugin/in_http.rb +204 -91
  156. data/lib/fluent/plugin/in_monitor_agent.rb +186 -258
  157. data/lib/fluent/plugin/in_object_space.rb +13 -41
  158. data/lib/fluent/plugin/in_syslog.rb +112 -134
  159. data/lib/fluent/plugin/in_tail.rb +408 -745
  160. data/lib/fluent/plugin/in_tcp.rb +66 -9
  161. data/lib/fluent/plugin/in_udp.rb +60 -11
  162. data/lib/fluent/plugin/{in_stream.rb → in_unix.rb} +8 -4
  163. data/lib/fluent/plugin/input.rb +37 -0
  164. data/lib/fluent/plugin/multi_output.rb +158 -0
  165. data/lib/fluent/plugin/out_copy.rb +23 -35
  166. data/lib/fluent/plugin/out_exec.rb +67 -70
  167. data/lib/fluent/plugin/out_exec_filter.rb +204 -271
  168. data/lib/fluent/plugin/out_file.rb +267 -73
  169. data/lib/fluent/plugin/out_forward.rb +854 -325
  170. data/lib/fluent/plugin/out_null.rb +42 -9
  171. data/lib/fluent/plugin/out_relabel.rb +9 -5
  172. data/lib/fluent/plugin/out_roundrobin.rb +18 -37
  173. data/lib/fluent/plugin/out_secondary_file.rb +133 -0
  174. data/lib/fluent/plugin/out_stdout.rb +43 -10
  175. data/lib/fluent/plugin/out_stream.rb +7 -2
  176. data/lib/fluent/plugin/output.rb +1498 -0
  177. data/lib/fluent/plugin/owned_by_mixin.rb +42 -0
  178. data/lib/fluent/plugin/parser.rb +191 -0
  179. data/lib/fluent/plugin/parser_apache.rb +28 -0
  180. data/lib/fluent/plugin/parser_apache2.rb +88 -0
  181. data/lib/fluent/plugin/parser_apache_error.rb +26 -0
  182. data/lib/fluent/plugin/parser_csv.rb +39 -0
  183. data/lib/fluent/plugin/parser_json.rb +94 -0
  184. data/lib/fluent/plugin/parser_ltsv.rb +49 -0
  185. data/lib/fluent/plugin/parser_msgpack.rb +50 -0
  186. data/lib/fluent/plugin/parser_multiline.rb +106 -0
  187. data/lib/fluent/plugin/parser_nginx.rb +28 -0
  188. data/lib/fluent/plugin/parser_none.rb +36 -0
  189. data/lib/fluent/plugin/parser_regexp.rb +68 -0
  190. data/lib/fluent/plugin/parser_syslog.rb +142 -0
  191. data/lib/fluent/plugin/parser_tsv.rb +42 -0
  192. data/lib/fluent/plugin/socket_util.rb +3 -143
  193. data/lib/fluent/plugin/storage.rb +84 -0
  194. data/lib/fluent/plugin/storage_local.rb +164 -0
  195. data/lib/fluent/plugin/string_util.rb +3 -15
  196. data/lib/fluent/plugin.rb +122 -121
  197. data/lib/fluent/plugin_helper/cert_option.rb +178 -0
  198. data/lib/fluent/plugin_helper/child_process.rb +364 -0
  199. data/lib/fluent/plugin_helper/compat_parameters.rb +333 -0
  200. data/lib/fluent/plugin_helper/counter.rb +51 -0
  201. data/lib/fluent/plugin_helper/event_emitter.rb +93 -0
  202. data/lib/fluent/plugin_helper/event_loop.rb +170 -0
  203. data/lib/fluent/plugin_helper/extract.rb +104 -0
  204. data/lib/fluent/plugin_helper/formatter.rb +147 -0
  205. data/lib/fluent/plugin_helper/http_server/app.rb +79 -0
  206. data/lib/fluent/plugin_helper/http_server/compat/server.rb +81 -0
  207. data/lib/fluent/plugin_helper/http_server/compat/webrick_handler.rb +58 -0
  208. data/lib/fluent/plugin_helper/http_server/methods.rb +35 -0
  209. data/lib/fluent/plugin_helper/http_server/request.rb +42 -0
  210. data/lib/fluent/plugin_helper/http_server/router.rb +54 -0
  211. data/lib/fluent/plugin_helper/http_server/server.rb +87 -0
  212. data/lib/fluent/plugin_helper/http_server.rb +76 -0
  213. data/lib/fluent/plugin_helper/inject.rb +151 -0
  214. data/lib/fluent/plugin_helper/parser.rb +147 -0
  215. data/lib/fluent/plugin_helper/record_accessor.rb +210 -0
  216. data/lib/fluent/plugin_helper/retry_state.rb +205 -0
  217. data/lib/fluent/plugin_helper/server.rb +807 -0
  218. data/lib/fluent/plugin_helper/socket.rb +250 -0
  219. data/lib/fluent/plugin_helper/socket_option.rb +80 -0
  220. data/lib/fluent/plugin_helper/storage.rb +349 -0
  221. data/lib/fluent/plugin_helper/thread.rb +179 -0
  222. data/lib/fluent/plugin_helper/timer.rb +92 -0
  223. data/lib/fluent/plugin_helper.rb +73 -0
  224. data/lib/fluent/plugin_id.rb +80 -0
  225. data/lib/fluent/process.rb +3 -489
  226. data/lib/fluent/registry.rb +52 -10
  227. data/lib/fluent/root_agent.rb +204 -42
  228. data/lib/fluent/supervisor.rb +597 -359
  229. data/lib/fluent/system_config.rb +131 -42
  230. data/lib/fluent/test/base.rb +6 -54
  231. data/lib/fluent/test/driver/base.rb +224 -0
  232. data/lib/fluent/test/driver/base_owned.rb +70 -0
  233. data/lib/fluent/test/driver/base_owner.rb +135 -0
  234. data/lib/fluent/test/driver/event_feeder.rb +98 -0
  235. data/lib/fluent/test/driver/filter.rb +57 -0
  236. data/lib/fluent/test/driver/formatter.rb +30 -0
  237. data/lib/fluent/test/driver/input.rb +31 -0
  238. data/lib/fluent/test/driver/multi_output.rb +53 -0
  239. data/lib/fluent/test/driver/output.rb +102 -0
  240. data/lib/fluent/test/driver/parser.rb +30 -0
  241. data/lib/fluent/test/driver/test_event_router.rb +45 -0
  242. data/lib/fluent/test/filter_test.rb +0 -1
  243. data/lib/fluent/test/formatter_test.rb +4 -1
  244. data/lib/fluent/test/helpers.rb +58 -10
  245. data/lib/fluent/test/input_test.rb +27 -19
  246. data/lib/fluent/test/log.rb +79 -0
  247. data/lib/fluent/test/output_test.rb +28 -39
  248. data/lib/fluent/test/parser_test.rb +3 -1
  249. data/lib/fluent/test/startup_shutdown.rb +46 -0
  250. data/lib/fluent/test.rb +33 -1
  251. data/lib/fluent/time.rb +450 -1
  252. data/lib/fluent/timezone.rb +27 -3
  253. data/lib/fluent/{status.rb → unique_id.rb} +15 -24
  254. data/lib/fluent/version.rb +1 -1
  255. data/lib/fluent/winsvc.rb +85 -0
  256. data/templates/new_gem/Gemfile +3 -0
  257. data/templates/new_gem/README.md.erb +43 -0
  258. data/templates/new_gem/Rakefile +13 -0
  259. data/templates/new_gem/fluent-plugin.gemspec.erb +27 -0
  260. data/templates/new_gem/lib/fluent/plugin/filter.rb.erb +14 -0
  261. data/templates/new_gem/lib/fluent/plugin/formatter.rb.erb +14 -0
  262. data/templates/new_gem/lib/fluent/plugin/input.rb.erb +11 -0
  263. data/templates/new_gem/lib/fluent/plugin/output.rb.erb +11 -0
  264. data/templates/new_gem/lib/fluent/plugin/parser.rb.erb +15 -0
  265. data/templates/new_gem/test/helper.rb.erb +8 -0
  266. data/templates/new_gem/test/plugin/test_filter.rb.erb +18 -0
  267. data/templates/new_gem/test/plugin/test_formatter.rb.erb +18 -0
  268. data/templates/new_gem/test/plugin/test_input.rb.erb +18 -0
  269. data/templates/new_gem/test/plugin/test_output.rb.erb +18 -0
  270. data/templates/new_gem/test/plugin/test_parser.rb.erb +18 -0
  271. data/templates/plugin_config_formatter/param.md-compact.erb +25 -0
  272. data/templates/plugin_config_formatter/param.md.erb +34 -0
  273. data/templates/plugin_config_formatter/section.md.erb +12 -0
  274. data/test/command/test_binlog_reader.rb +346 -0
  275. data/test/command/test_ca_generate.rb +70 -0
  276. data/test/command/test_fluentd.rb +901 -0
  277. data/test/command/test_plugin_config_formatter.rb +276 -0
  278. data/test/command/test_plugin_generator.rb +92 -0
  279. data/test/compat/test_calls_super.rb +166 -0
  280. data/test/compat/test_parser.rb +92 -0
  281. data/test/config/test_config_parser.rb +126 -2
  282. data/test/config/test_configurable.rb +946 -187
  283. data/test/config/test_configure_proxy.rb +424 -74
  284. data/test/config/test_dsl.rb +11 -11
  285. data/test/config/test_element.rb +500 -0
  286. data/test/config/test_literal_parser.rb +8 -0
  287. data/test/config/test_plugin_configuration.rb +56 -0
  288. data/test/config/test_section.rb +79 -7
  289. data/test/config/test_system_config.rb +122 -35
  290. data/test/config/test_types.rb +38 -0
  291. data/test/counter/test_client.rb +559 -0
  292. data/test/counter/test_error.rb +44 -0
  293. data/test/counter/test_mutex_hash.rb +179 -0
  294. data/test/counter/test_server.rb +589 -0
  295. data/test/counter/test_store.rb +258 -0
  296. data/test/counter/test_validator.rb +137 -0
  297. data/test/helper.rb +89 -6
  298. data/test/helpers/fuzzy_assert.rb +89 -0
  299. data/test/plugin/test_bare_output.rb +118 -0
  300. data/test/plugin/test_base.rb +115 -0
  301. data/test/plugin/test_buf_file.rb +823 -460
  302. data/test/plugin/test_buf_memory.rb +32 -194
  303. data/test/plugin/test_buffer.rb +1233 -0
  304. data/test/plugin/test_buffer_chunk.rb +198 -0
  305. data/test/plugin/test_buffer_file_chunk.rb +844 -0
  306. data/test/plugin/test_buffer_memory_chunk.rb +338 -0
  307. data/test/plugin/test_compressable.rb +84 -0
  308. data/test/plugin/test_filter.rb +357 -0
  309. data/test/plugin/test_filter_grep.rb +540 -29
  310. data/test/plugin/test_filter_parser.rb +439 -452
  311. data/test/plugin/test_filter_record_transformer.rb +123 -166
  312. data/test/plugin/test_filter_stdout.rb +160 -72
  313. data/test/plugin/test_formatter_csv.rb +111 -0
  314. data/test/plugin/test_formatter_hash.rb +35 -0
  315. data/test/plugin/test_formatter_json.rb +51 -0
  316. data/test/plugin/test_formatter_ltsv.rb +62 -0
  317. data/test/plugin/test_formatter_msgpack.rb +28 -0
  318. data/test/plugin/test_formatter_out_file.rb +95 -0
  319. data/test/plugin/test_formatter_single_value.rb +38 -0
  320. data/test/plugin/test_formatter_tsv.rb +68 -0
  321. data/test/plugin/test_in_debug_agent.rb +24 -1
  322. data/test/plugin/test_in_dummy.rb +111 -18
  323. data/test/plugin/test_in_exec.rb +200 -113
  324. data/test/plugin/test_in_forward.rb +990 -387
  325. data/test/plugin/test_in_gc_stat.rb +10 -8
  326. data/test/plugin/test_in_http.rb +600 -224
  327. data/test/plugin/test_in_monitor_agent.rb +690 -0
  328. data/test/plugin/test_in_object_space.rb +24 -8
  329. data/test/plugin/test_in_syslog.rb +154 -215
  330. data/test/plugin/test_in_tail.rb +1006 -707
  331. data/test/plugin/test_in_tcp.rb +125 -48
  332. data/test/plugin/test_in_udp.rb +204 -63
  333. data/test/plugin/{test_in_stream.rb → test_in_unix.rb} +14 -13
  334. data/test/plugin/test_input.rb +126 -0
  335. data/test/plugin/test_metadata.rb +89 -0
  336. data/test/plugin/test_multi_output.rb +180 -0
  337. data/test/plugin/test_out_copy.rb +117 -112
  338. data/test/plugin/test_out_exec.rb +258 -53
  339. data/test/plugin/test_out_exec_filter.rb +538 -115
  340. data/test/plugin/test_out_file.rb +865 -178
  341. data/test/plugin/test_out_forward.rb +998 -210
  342. data/test/plugin/test_out_null.rb +105 -0
  343. data/test/plugin/test_out_relabel.rb +28 -0
  344. data/test/plugin/test_out_roundrobin.rb +36 -29
  345. data/test/plugin/test_out_secondary_file.rb +458 -0
  346. data/test/plugin/test_out_stdout.rb +135 -37
  347. data/test/plugin/test_out_stream.rb +18 -0
  348. data/test/plugin/test_output.rb +984 -0
  349. data/test/plugin/test_output_as_buffered.rb +2021 -0
  350. data/test/plugin/test_output_as_buffered_backup.rb +312 -0
  351. data/test/plugin/test_output_as_buffered_compress.rb +165 -0
  352. data/test/plugin/test_output_as_buffered_overflow.rb +250 -0
  353. data/test/plugin/test_output_as_buffered_retries.rb +911 -0
  354. data/test/plugin/test_output_as_buffered_secondary.rb +874 -0
  355. data/test/plugin/test_output_as_standard.rb +374 -0
  356. data/test/plugin/test_owned_by.rb +35 -0
  357. data/test/plugin/test_parser.rb +359 -0
  358. data/test/plugin/test_parser_apache.rb +42 -0
  359. data/test/plugin/test_parser_apache2.rb +47 -0
  360. data/test/plugin/test_parser_apache_error.rb +45 -0
  361. data/test/plugin/test_parser_csv.rb +103 -0
  362. data/test/plugin/test_parser_json.rb +138 -0
  363. data/test/plugin/test_parser_labeled_tsv.rb +145 -0
  364. data/test/plugin/test_parser_multiline.rb +100 -0
  365. data/test/plugin/test_parser_nginx.rb +88 -0
  366. data/test/plugin/test_parser_none.rb +52 -0
  367. data/test/plugin/test_parser_regexp.rb +289 -0
  368. data/test/plugin/test_parser_syslog.rb +441 -0
  369. data/test/plugin/test_parser_tsv.rb +122 -0
  370. data/test/plugin/test_storage.rb +167 -0
  371. data/test/plugin/test_storage_local.rb +335 -0
  372. data/test/plugin_helper/data/cert/cert-key.pem +27 -0
  373. data/test/plugin_helper/data/cert/cert-with-no-newline.pem +19 -0
  374. data/test/plugin_helper/data/cert/cert.pem +19 -0
  375. data/test/plugin_helper/http_server/test_app.rb +65 -0
  376. data/test/plugin_helper/http_server/test_route.rb +32 -0
  377. data/test/plugin_helper/test_cert_option.rb +16 -0
  378. data/test/plugin_helper/test_child_process.rb +794 -0
  379. data/test/plugin_helper/test_compat_parameters.rb +353 -0
  380. data/test/plugin_helper/test_event_emitter.rb +51 -0
  381. data/test/plugin_helper/test_event_loop.rb +52 -0
  382. data/test/plugin_helper/test_extract.rb +194 -0
  383. data/test/plugin_helper/test_formatter.rb +255 -0
  384. data/test/plugin_helper/test_http_server_helper.rb +205 -0
  385. data/test/plugin_helper/test_inject.rb +519 -0
  386. data/test/plugin_helper/test_parser.rb +264 -0
  387. data/test/plugin_helper/test_record_accessor.rb +197 -0
  388. data/test/plugin_helper/test_retry_state.rb +442 -0
  389. data/test/plugin_helper/test_server.rb +1714 -0
  390. data/test/plugin_helper/test_storage.rb +542 -0
  391. data/test/plugin_helper/test_thread.rb +164 -0
  392. data/test/plugin_helper/test_timer.rb +132 -0
  393. data/test/scripts/exec_script.rb +0 -6
  394. data/test/scripts/fluent/plugin/formatter1/formatter_test1.rb +7 -0
  395. data/test/scripts/fluent/plugin/formatter2/formatter_test2.rb +7 -0
  396. data/test/scripts/fluent/plugin/out_test.rb +23 -15
  397. data/test/scripts/fluent/plugin/out_test2.rb +80 -0
  398. data/test/test_clock.rb +164 -0
  399. data/test/test_config.rb +16 -7
  400. data/test/test_configdsl.rb +2 -2
  401. data/test/test_event.rb +360 -13
  402. data/test/test_event_router.rb +108 -11
  403. data/test/test_event_time.rb +199 -0
  404. data/test/test_filter.rb +48 -6
  405. data/test/test_formatter.rb +11 -391
  406. data/test/test_input.rb +1 -1
  407. data/test/test_log.rb +591 -31
  408. data/test/test_mixin.rb +1 -1
  409. data/test/test_output.rb +121 -185
  410. data/test/test_plugin.rb +251 -0
  411. data/test/test_plugin_classes.rb +177 -10
  412. data/test/test_plugin_helper.rb +81 -0
  413. data/test/test_plugin_id.rb +101 -0
  414. data/test/test_process.rb +8 -42
  415. data/test/test_root_agent.rb +766 -21
  416. data/test/test_supervisor.rb +481 -0
  417. data/test/test_test_drivers.rb +135 -0
  418. data/test/test_time_formatter.rb +282 -0
  419. data/test/test_time_parser.rb +231 -0
  420. data/test/test_unique_id.rb +47 -0
  421. metadata +454 -60
  422. data/COPYING +0 -14
  423. data/ChangeLog +0 -666
  424. data/lib/fluent/buffer.rb +0 -365
  425. data/lib/fluent/plugin/in_status.rb +0 -76
  426. data/test/plugin/test_in_status.rb +0 -38
  427. data/test/test_buffer.rb +0 -624
  428. data/test/test_parser.rb +0 -1305
data/CHANGELOG.md ADDED
@@ -0,0 +1,1369 @@
1
+ # v1.6
2
+
3
+ ## Release v1.6.2 - 2019/07/11
4
+
5
+ ### Bug fixes
6
+
7
+ * http_server helper: Add title argument to support multiple servers
8
+ https://github.com/fluent/fluentd/pull/2493
9
+
10
+ ## Release v1.6.1 - 2019/07/10
11
+
12
+ ### Enhancement
13
+
14
+ * socket/cert: Support all private keys OpenSSL supports, not only RSA.
15
+ https://github.com/fluent/fluentd/pull/2487
16
+ * output/buffer: Improve statistics method performance
17
+ https://github.com/fluent/fluentd/pull/2491
18
+
19
+ ### Bug fixes
20
+
21
+ * plugin_config_formatter: update new doc URL
22
+ https://github.com/fluent/fluentd/pull/2481
23
+ * out_forward: Avoid zero division error when there are no available nodes
24
+ https://github.com/fluent/fluentd/pull/2482
25
+
26
+ ## Release v1.6.0 - 2019/07/01
27
+
28
+ ### New feature
29
+
30
+ * plugin: Add http_server helper and in_monitor_agent use it
31
+ https://github.com/fluent/fluentd/pull/2447
32
+
33
+ ### Enhancement
34
+
35
+ * in_monitor_agent: Add more metrics for buffer/output
36
+ https://github.com/fluent/fluentd/pull/2450
37
+ * time/plugin: Add `EventTime#to_time` method for fast conversion
38
+ https://github.com/fluent/fluentd/pull/2469
39
+ * socket helper/out_forward: Add connect_timeout parameter
40
+ https://github.com/fluent/fluentd/pull/2467
41
+ * command: Add `--conf-encoding` option
42
+ https://github.com/fluent/fluentd/pull/2453
43
+ * parser_none: Small performance optimization
44
+ https://github.com/fluent/fluentd/pull/2455
45
+
46
+ ### Bug fixes
47
+
48
+ * cert: Fix cert match pattern
49
+ https://github.com/fluent/fluentd/pull/2466
50
+ * output: Fix forget to increment rollback count
51
+ https://github.com/fluent/fluentd/pull/2462
52
+
53
+ # v1.5
54
+
55
+ ## Release v1.5.2 - 2019/06/13
56
+
57
+ ### Bug fixes
58
+
59
+ * out_forward: Fix duplicated handshake bug in keepalive
60
+ https://github.com/fluent/fluentd/pull/2456
61
+
62
+ ## Release v1.5.1 - 2019/06/05
63
+
64
+ ### Enhancement
65
+
66
+ * in_tail: Increase read block size to reduce IO call
67
+ https://github.com/fluent/fluentd/pull/2418
68
+ * in_monitor_agent: Refactor code
69
+ https://github.com/fluent/fluentd/pull/2422
70
+
71
+ ### Bug fixes
72
+
73
+ * out_forward: Fix socket handling of keepalive
74
+ https://github.com/fluent/fluentd/pull/2434
75
+ * parser: Fix the use of name based timezone
76
+ https://github.com/fluent/fluentd/pull/2421
77
+ * in_monitor_agent: Fix debug parameter handling
78
+ https://github.com/fluent/fluentd/pull/2423
79
+ * command: Fix error handling of log rotation age option
80
+ https://github.com/fluent/fluentd/pull/2427
81
+ * command: Fix ERB warning for ruby 2.6 or later
82
+ https://github.com/fluent/fluentd/pull/2430
83
+
84
+ ## Release v1.5.0 - 2019/05/18
85
+
86
+ ### New feature
87
+
88
+ * out_forward: Support keepalive feature
89
+ https://github.com/fluent/fluentd/pull/2393
90
+ * in_http: Support TLS via server helper
91
+ https://github.com/fluent/fluentd/pull/2395
92
+ * in_syslog: Support TLS via server helper
93
+ https://github.com/fluent/fluentd/pull/2399
94
+
95
+ ### Enhancement
96
+
97
+ * in_syslog: Add delimiter parameter
98
+ https://github.com/fluent/fluentd/pull/2378
99
+ * in_forward: Add tag/add_tag_prefix parameters
100
+ https://github.com/fluent/fluentd/pull/2396
101
+ * parser_json: Add stream_buffer_size parameter for yajl
102
+ https://github.com/fluent/fluentd/pull/2381
103
+ * command: Add deprecated message to show-plugin-config option
104
+ https://github.com/fluent/fluentd/pull/2401
105
+ * storage_local: Ignore empty file. Call sync after write for XFS.
106
+ https://github.com/fluent/fluentd/pull/2409
107
+
108
+ ### Bug fixes
109
+
110
+ * out_forward: Don't use SO_LINGER on SSL/TLS WinSock
111
+ https://github.com/fluent/fluentd/pull/2398
112
+ * server helper: Fix recursive lock issue in TLSServer
113
+ https://github.com/fluent/fluentd/pull/2341
114
+ * Fix typo
115
+ https://github.com/fluent/fluentd/pull/2369
116
+
117
+ # v1.4
118
+
119
+ ## Release v1.4.2 - 2019/04/02
120
+
121
+ ### Enhancements
122
+
123
+ * in_http: subdomain support in CORS domain
124
+ https://github.com/fluent/fluentd/pull/2337
125
+ * in_monitor_agent: Expose current timekey list as a buffer metrics
126
+ https://github.com/fluent/fluentd/pull/2343
127
+ * in_tcp/in_udp: Add source_address_key parameter
128
+ https://github.com/fluent/fluentd/pull/2347
129
+ * in_forward: Add send_keepalive_packet parameter to check the remote connection is available or not
130
+ https://github.com/fluent/fluentd/pull/2352
131
+
132
+ ### Bug fixes
133
+
134
+ * out_exec_filter: Fix typo of child_respawn description
135
+ https://github.com/fluent/fluentd/pull/2341
136
+ * in_tail: Create parent directories for symlink
137
+ https://github.com/fluent/fluentd/pull/2353
138
+ * in_tail: Fix encoding duplication check for non-specified case
139
+ https://github.com/fluent/fluentd/pull/2361
140
+ * log: Fix time format handling of plugin logger when log format is JSON
141
+ https://github.com/fluent/fluentd/pull/2356
142
+
143
+ ## Release v1.4.1 - 2019/03/18
144
+
145
+ ### Enhancements
146
+
147
+ * system: Add worker_id to process_name when workers is larger than 1
148
+ https://github.com/fluent/fluentd/pull/2321
149
+ * parser_regexp: Check named captures. When no named captures, configuration error is raised
150
+ https://github.com/fluent/fluentd/pull/2331
151
+
152
+ ### Bug fixes
153
+
154
+ * out_forward: Make tls_client_private_key_passphrase secret
155
+ https://github.com/fluent/fluentd/pull/2324
156
+ * in_syslog: Check message length when read from buffer in octet counting
157
+ https://github.com/fluent/fluentd/pull/2323
158
+
159
+ ## Release v1.4.0 - 2019/02/24
160
+
161
+ ### New features
162
+
163
+ * multiprocess: Support <worker N-M> syntax
164
+ https://github.com/fluent/fluentd/pull/2292
165
+ * output: Work <secondary> and retry_forever together
166
+ https://github.com/fluent/fluentd/pull/2276
167
+ * out_file: Support placeholders in symlink_path
168
+ https://github.com/fluent/fluentd/pull/2254
169
+
170
+ ### Enhancements
171
+
172
+ * output: Add MessagePack unpacker error to unrecoverable error list
173
+ https://github.com/fluent/fluentd/pull/2301
174
+ * output: Reduce flush delay when large timekey and small timekey_wait are specified
175
+ https://github.com/fluent/fluentd/pull/2291
176
+ * config: Support embedded ruby code in section argument.
177
+ https://github.com/fluent/fluentd/pull/2295
178
+ * in_tail: Improve encoding parameter handling
179
+ https://github.com/fluent/fluentd/pull/2305
180
+ * in_tcp/in_udp: Add <parse> section check
181
+ https://github.com/fluent/fluentd/pull/2267
182
+
183
+ ### Bug fixes
184
+
185
+ * server: Ignore IOError and related errors in UDP
186
+ https://github.com/fluent/fluentd/pull/2310
187
+ * server: Ignore EPIPE in TLS accept to avoid fluentd restart
188
+ https://github.com/fluent/fluentd/pull/2253
189
+
190
+ # v1.3
191
+
192
+ ## Release v1.3.3 - 2019/01/06
193
+
194
+ ### Enhancements
195
+
196
+ * parser_syslog: Use String#squeeze for performance improvement
197
+ https://github.com/fluent/fluentd/pull/2239
198
+ * parser_syslog: Support RFC5424 timestamp without subseconds
199
+ https://github.com/fluent/fluentd/pull/2240
200
+
201
+ ### Bug fixes
202
+
203
+ * server: Ignore ECONNRESET in TLS accept to avoid fluentd restart
204
+ https://github.com/fluent/fluentd/pull/2243
205
+ * log: Fix plugin logger ignores fluentd log event setting
206
+ https://github.com/fluent/fluentd/pull/2252
207
+
208
+ ## Release v1.3.2 - 2018/12/10
209
+
210
+ ### Enhancements
211
+
212
+ * out_forward: Support mutual TLS
213
+ https://github.com/fluent/fluentd/pull/2187
214
+ * out_file: Create `pos_file` directory if it doesn't exist
215
+ https://github.com/fluent/fluentd/pull/2223
216
+
217
+ ### Bug fixes
218
+
219
+ * output: Fix logs during retry
220
+ https://github.com/fluent/fluentd/pull/2203
221
+
222
+ ## Release v1.3.1 - 2018/11/27
223
+
224
+ ### Enhancements
225
+
226
+ * out_forward: Separate parameter names for certificate
227
+ https://github.com/fluent/fluentd/pull/2181
228
+ https://github.com/fluent/fluentd/pull/2190
229
+ * out_forward: Add `verify_connection_at_startup` parameter to check connection setting at startup phase
230
+ https://github.com/fluent/fluentd/pull/2184
231
+ * config: Check right slash position in regexp type
232
+ https://github.com/fluent/fluentd/pull/2176
233
+ * parser_nginx: Support multiple IPs in `http_x_forwarded_for` field
234
+ https://github.com/fluent/fluentd/pull/2171
235
+
236
+ ### Bug fixes
237
+
238
+ * fluent-cat: Fix retry limit handling
239
+ https://github.com/fluent/fluentd/pull/2193
240
+ * record_accessor helper: Delete top level field with bracket style
241
+ https://github.com/fluent/fluentd/pull/2192
242
+ * filter_record_transformer: Keep `class` methond to avoid undefined method error
243
+ https://github.com/fluent/fluentd/pull/2186
244
+
245
+ ## Release v1.3.0 - 2018/11/10
246
+
247
+ ### New features
248
+
249
+ * output: Change thread execution control
250
+ https://github.com/fluent/fluentd/pull/2170
251
+ * in_syslog: Support octet counting frame
252
+ https://github.com/fluent/fluentd/pull/2147
253
+ * Use `flush_thread_count` value for `queued_chunks_limit_size` when `queued_chunks_limit_size` is not specified
254
+ https://github.com/fluent/fluentd/pull/2173
255
+
256
+ ### Enhancements
257
+
258
+ * output: Show backtrace for unrecoverable errors
259
+ https://github.com/fluent/fluentd/pull/2149
260
+ * in_http: Implement support for CORS preflight requests
261
+ https://github.com/fluent/fluentd/pull/2144
262
+
263
+ ### Bug fixes
264
+
265
+ * server: Fix deadlock between on_writable and close in sockets
266
+ https://github.com/fluent/fluentd/pull/2165
267
+ * output: show correct error when wrong plugin is specified for secondary
268
+ https://github.com/fluent/fluentd/pull/2169
269
+
270
+ # v1.2
271
+
272
+ ## Release v1.2.6 - 2018/10/03
273
+
274
+ ### Enhancements
275
+
276
+ * output: Add `disable_chunk_backup` for ignore broken chunks.
277
+ https://github.com/fluent/fluentd/pull/2117
278
+ * parser_syslog: Improve regexp for RFC5424
279
+ https://github.com/fluent/fluentd/pull/2141
280
+ * in_http: Allow specifying the wildcard '*' as the CORS domain
281
+ https://github.com/fluent/fluentd/pull/2139
282
+
283
+ ### Bug fixes
284
+
285
+ * in_tail: Prevent thread switching in the interval between seek and read/write operations to pos_file
286
+ https://github.com/fluent/fluentd/pull/2118
287
+ * parser: Handle LoadError properly for oj
288
+ https://github.com/fluent/fluentd/pull/2140
289
+
290
+ ## Release v1.2.5 - 2018/08/22
291
+
292
+ ### Bug fixes
293
+
294
+ * in_tail: Fix resource leak by file rotation
295
+ https://github.com/fluent/fluentd/pull/2105
296
+ * fix typos
297
+
298
+ ## Release v1.2.4 - 2018/08/01
299
+
300
+ ### Bug fixes
301
+
302
+ * output: Consider timezone when calculate timekey
303
+ https://github.com/fluent/fluentd/pull/2054
304
+ * output: Fix bug in suppress_emit_error_log_interval
305
+ https://github.com/fluent/fluentd/pull/2069
306
+ * server-helper: Fix connection leak by close timing issue.
307
+ https://github.com/fluent/fluentd/pull/2087
308
+
309
+ ## Release v1.2.3 - 2018/07/10
310
+
311
+ ### Enhancements
312
+
313
+ * in_http: Consider `<parse>` parameters in batch mode
314
+ https://github.com/fluent/fluentd/pull/2055
315
+ * in_http: Support gzip payload
316
+ https://github.com/fluent/fluentd/pull/2060
317
+ * output: Improve compress performance
318
+ https://github.com/fluent/fluentd/pull/2031
319
+ * in_monitor_agent: Add missing descriptions for configurable options
320
+ https://github.com/fluent/fluentd/pull/2037
321
+ * parser_syslog: update regex of pid field for conformance to RFC5424 spec
322
+ https://github.com/fluent/fluentd/pull/2051
323
+
324
+ ### Bug fixes
325
+
326
+ * in_tail: Fix to rescue Errno::ENOENT for File.mtime()
327
+ https://github.com/fluent/fluentd/pull/2063
328
+ * fluent-plugin-generate: Fix Parser plugin template
329
+ https://github.com/fluent/fluentd/pull/2026
330
+ * fluent-plugin-config-format: Fix NoMethodError for some plugins
331
+ https://github.com/fluent/fluentd/pull/2023
332
+ * config: Don't warn message for reserved parameters in DSL
333
+ https://github.com/fluent/fluentd/pull/2034
334
+
335
+ ## Release v1.2.2 - 2018/06/12
336
+
337
+ ### Enhancements
338
+
339
+ * filter_parser: Add remove_key_name_field parameter
340
+ https://github.com/fluent/fluentd/pull/2012
341
+ * fluent-plugin-config-format: Dump config_argument
342
+ https://github.com/fluent/fluentd/pull/2003
343
+
344
+ ### Bug fixes
345
+
346
+ * in_tail: Change pos file entry handling to avoid read conflict for other plugins
347
+ https://github.com/fluent/fluentd/pull/1963
348
+ * buffer: Wait for all chunks being purged before deleting @queued_num items
349
+ https://github.com/fluent/fluentd/pull/2016
350
+
351
+ ## Release v1.2.1 - 2018/05/23
352
+
353
+ ### Enhancements
354
+
355
+ * Counter: Add wait API to client
356
+ https://github.com/fluent/fluentd/pull/1997
357
+
358
+ ### Bug fixes
359
+
360
+ * in_tcp/in_udp: Fix source_hostname_key to set hostname correctly
361
+ https://github.com/fluent/fluentd/pull/1976
362
+ * in_monitor_agent: Fix buffer_total_queued_size calculation
363
+ https://github.com/fluent/fluentd/pull/1990
364
+ * out_file: Temporal fix for broken gzipped files with gzip and append
365
+ https://github.com/fluent/fluentd/pull/1995
366
+ * test: Fix unstable backup test
367
+ https://github.com/fluent/fluentd/pull/1979
368
+ * gemspec: Remove deprecated has_rdoc
369
+
370
+ ## Release v1.2.0 - 2018/04/30
371
+
372
+ ### New Features
373
+
374
+ * New Counter API
375
+ https://github.com/fluent/fluentd/pull/1857
376
+ * output: Backup for broken chunks
377
+ https://github.com/fluent/fluentd/pull/1952
378
+ * filter_grep: Support for `<and>` and `<or>` sections
379
+ https://github.com/fluent/fluentd/pull/1897
380
+ * config: Support `regexp` type in configuration parameter
381
+ https://github.com/fluent/fluentd/pull/1927
382
+
383
+ ### Enhancements
384
+
385
+ * parser_nginx: Support optional `http-x-forwarded-for` field
386
+ https://github.com/fluent/fluentd/pull/1932
387
+ * filter_grep: Improve the performance
388
+ https://github.com/fluent/fluentd/pull/1940
389
+
390
+ ### Bug fixes
391
+
392
+ * log: Fix unexpected implementation bug when log rotation setting is applied
393
+ https://github.com/fluent/fluentd/pull/1957
394
+ * server helper: Close invalid socket when ssl error happens on reading
395
+ https://github.com/fluent/fluentd/pull/1942
396
+ * output: Buffer chunk's unique id should be formatted as hex in the log
397
+
398
+ # v1.1
399
+
400
+ ## Release v1.1.3 - 2018/04/03
401
+
402
+ ### Enhancements
403
+
404
+ * output: Support negative index for tag placeholders
405
+ https://github.com/fluent/fluentd/pull/1908
406
+ * buffer: Add queued_chunks_limit_size to control the number of queued chunks
407
+ https://github.com/fluent/fluentd/pull/1916
408
+ * time: Make Fluent::EventTime human readable for inspect
409
+ https://github.com/fluent/fluentd/pull/1915
410
+
411
+ ### Bug fixes
412
+
413
+ * output: Delete empty queued_num field after purging chunks
414
+ https://github.com/fluent/fluentd/pull/1919
415
+ * fluent-debug: Fix usage message of fluent-debug command
416
+ https://github.com/fluent/fluentd/pull/1920
417
+ * out_forward: The node should be disabled when TLS socket for ack returns an error
418
+ https://github.com/fluent/fluentd/pull/1925
419
+
420
+ ## Release v1.1.2 - 2018/03/18
421
+
422
+ ### Enhancements
423
+
424
+ * filter_grep: Support pattern starts with character classes with //
425
+ https://github.com/fluent/fluentd/pull/1887
426
+
427
+ ### Bug fixes
428
+
429
+ * in_tail: Handle records in the correct order on file rotation
430
+ https://github.com/fluent/fluentd/pull/1880
431
+ * out_forward: Fix race condition with `<security>` on multi thread environment
432
+ https://github.com/fluent/fluentd/pull/1893
433
+ * output: Prevent flushing threads consume too much CPU when retry happens
434
+ https://github.com/fluent/fluentd/pull/1901
435
+ * config: Fix boolean param handling for comment without value
436
+ https://github.com/fluent/fluentd/pull/1883
437
+ * test: Fix random test failures in test/plugin/test_out_forward.rb
438
+ https://github.com/fluent/fluentd/pull/1881
439
+ https://github.com/fluent/fluentd/pull/1890
440
+ * command: Fix typo in binlog_reader
441
+ https://github.com/fluent/fluentd/pull/1898
442
+
443
+ ## Release v1.1.1 - 2018/03/05
444
+
445
+ ### Enhancements
446
+
447
+ * in_debug_agent: Support multi worker environment
448
+ https://github.com/fluent/fluentd/pull/1869
449
+ * in_forward: Improve SSL setup to support mutual TLS
450
+ https://github.com/fluent/fluentd/pull/1861
451
+ * buf_file: Skip and delete broken file chunks to avoid unsuccessful retry in resume
452
+ https://github.com/fluent/fluentd/pull/1874
453
+ * command: Show fluentd version for debug purpose
454
+ https://github.com/fluent/fluentd/pull/1839
455
+
456
+ ### Bug fixes
457
+
458
+ * in_forward: Do not close connection until write is complete on failed auth PONG
459
+ https://github.com/fluent/fluentd/pull/1835
460
+ * in_tail: Fix IO event race condition during shutdown
461
+ https://github.com/fluent/fluentd/pull/1876
462
+ * in_http: Emit event time instead of raw time value in batch
463
+ https://github.com/fluent/fluentd/pull/1850
464
+ * parser_json: Add EncodingError to rescue list for oj 3.x.
465
+ https://github.com/fluent/fluentd/pull/1875
466
+ * config: Fix config_param for string type with frozen string
467
+ https://github.com/fluent/fluentd/pull/1838
468
+ * timer: Fix a bug to leak non-repeating timer watchers
469
+ https://github.com/fluent/fluentd/pull/1864
470
+
471
+ ## Release v1.1.0 - 2018/01/17
472
+
473
+ ### New features / Enhancements
474
+
475
+ * config: Add hostname and worker_id short-cut
476
+ https://github.com/fluent/fluentd/pull/1814
477
+ * parser_ltsv: Add delimiter_pattern parameter
478
+ https://github.com/fluent/fluentd/pull/1802
479
+ * record_accessor helper: Support nested field deletion
480
+ https://github.com/fluent/fluentd/pull/1800
481
+ * record_accessor helper: Expose internal instance `@keys` variable
482
+ https://github.com/fluent/fluentd/pull/1808
483
+ * log: Improve Log#on_xxx API performance
484
+ https://github.com/fluent/fluentd/pull/1809
485
+ * time: Improve time formatting performance
486
+ https://github.com/fluent/fluentd/pull/1796
487
+ * command: Port certificates generating command from secure-forward
488
+ https://github.com/fluent/fluentd/pull/1818
489
+
490
+ ### Bug fixes
491
+
492
+ * server helper: Fix TCP + TLS degradation
493
+ https://github.com/fluent/fluentd/pull/1805
494
+ * time: Fix the method for TimeFormatter#call
495
+ https://github.com/fluent/fluentd/pull/1813
496
+
497
+ # v1.0
498
+
499
+ ## Release v1.0.2 - 2017/12/17
500
+
501
+ ### New features / Enhancements
502
+
503
+ * Use dig_rb instead of ruby_dig to support dig method in more objects
504
+ https://github.com/fluent/fluentd/pull/1794
505
+
506
+ ## Release v1.0.1 - 2017/12/14
507
+
508
+ ### New features / Enhancements
509
+
510
+ * in_udp: Add receive_buffer_size parameter
511
+ https://github.com/fluent/fluentd/pull/1788
512
+ * in_tail: Add enable_stat_watcher option to disable inotify events
513
+ https://github.com/fluent/fluentd/pull/1775
514
+ * Relax strptime gem version
515
+
516
+ ### Bug fixes
517
+
518
+ * in_tail: Properly handle moved back and truncated case
519
+ https://github.com/fluent/fluentd/pull/1793
520
+ * out_forward: Rebuild weight array to apply server setting properly
521
+ https://github.com/fluent/fluentd/pull/1784
522
+ * fluent-plugin-config-formatter: Use v1.0 for URL
523
+ https://github.com/fluent/fluentd/pull/1781
524
+
525
+ ## Release v1.0.0 - 2017/12/6
526
+
527
+ See [CNCF announcment](https://www.cncf.io/blog/2017/12/06/fluentd-v1-0/) :)
528
+
529
+ ### New features / Enhancements
530
+
531
+ * out_copy: Support ignore_error argument in `<store>`
532
+ https://github.com/fluent/fluentd/pull/1764
533
+ * server helper: Improve resource usage of TLS transport
534
+ https://github.com/fluent/fluentd/pull/1764
535
+ * Disable tracepoint feature to omit unnecessary insts
536
+ https://github.com/fluent/fluentd/pull/1764
537
+
538
+ ### Bug fixes
539
+
540
+ * out_forward: Don't update retry state when failed to get ack response.
541
+ https://github.com/fluent/fluentd/pull/1686
542
+ * plugin: Combine before_shutdown and shutdown call in one sequence.
543
+ https://github.com/fluent/fluentd/pull/1763
544
+ * Add description to parsers
545
+ https://github.com/fluent/fluentd/pull/1776
546
+ https://github.com/fluent/fluentd/pull/1777
547
+ https://github.com/fluent/fluentd/pull/1778
548
+ https://github.com/fluent/fluentd/pull/1779
549
+ https://github.com/fluent/fluentd/pull/1780
550
+ * filter_parser: Add parameter description
551
+ https://github.com/fluent/fluentd/pull/1773
552
+ * plugin: Combine before_shutdown and shutdown call in one sequence.
553
+ https://github.com/fluent/fluentd/pull/1763
554
+
555
+ # v0.14
556
+
557
+ ## Release v0.14.25 - 2017/11/29
558
+
559
+ ### New features / Enhancements
560
+
561
+ * Disable tracepoint feature to omit unnecessary insts
562
+ https://github.com/fluent/fluentd/pull/1764
563
+
564
+ ### Bug fixes
565
+
566
+ * out_forward: Don't update retry state when failed to get ack response.
567
+ https://github.com/fluent/fluentd/pull/1686
568
+ * plugin: Combine before_shutdown and shutdown call in one sequence.
569
+ https://github.com/fluent/fluentd/pull/1763
570
+
571
+ ## Release v0.14.24 - 2017/11/24
572
+
573
+ ### New features / Enhancements
574
+
575
+ * plugin-config-formatter: Add link to plugin helper result
576
+ https://github.com/fluent/fluentd/pull/1753
577
+ * server helper: Refactor code
578
+ https://github.com/fluent/fluentd/pull/1759
579
+
580
+ ### Bug fixes
581
+
582
+ * supervisor: Don't call change_privilege twice
583
+ https://github.com/fluent/fluentd/pull/1757
584
+
585
+ ## Release v0.14.23 - 2017/11/15
586
+
587
+ ### New features / Enhancements
588
+
589
+ * in_udp: Add remove_newline parameter
590
+ https://github.com/fluent/fluentd/pull/1747
591
+
592
+ ### Bug fixes
593
+
594
+ * buffer: Lock buffers in order of metadata
595
+ https://github.com/fluent/fluentd/pull/1722
596
+ * in_tcp: Fix log corruption under load.
597
+ https://github.com/fluent/fluentd/pull/1729
598
+ * out_forward: Fix elapsed time miscalculation in tcp heartbeat
599
+ https://github.com/fluent/fluentd/pull/1738
600
+ * supervisor: Fix worker pid handling during worker restart
601
+ https://github.com/fluent/fluentd/pull/1739
602
+ * in_tail: Skip setup failed watcher to avoid resource leak and log bloat
603
+ https://github.com/fluent/fluentd/pull/1742
604
+ * agent: Add error location to emit error logs
605
+ https://github.com/fluent/fluentd/pull/1746
606
+ * command: Consider hyphen and underscore in fluent-plugin-generate arguments
607
+ https://github.com/fluent/fluentd/pull/1751
608
+
609
+ ## Release v0.14.22 - 2017/11/01
610
+
611
+ ### New features / Enhancements
612
+
613
+ * formatter_tsv: Add add_newline parameter
614
+ https://github.com/fluent/fluentd/pull/1691
615
+ * out_file/out_secondary_file: Support ${chunk_id} placeholder. This includes extrace_placeholders API change
616
+ https://github.com/fluent/fluentd/pull/1708
617
+ * record_accessor: Support double quotes in bracket notation
618
+ https://github.com/fluent/fluentd/pull/1716
619
+ * log: Show running ruby version in startup log
620
+ https://github.com/fluent/fluentd/pull/1717
621
+ * log: Log message when chunk is created
622
+ https://github.com/fluent/fluentd/pull/1718
623
+ * in_tail: Add pos_file duplication check
624
+ https://github.com/fluent/fluentd/pull/1720
625
+
626
+ ### Bug fixes
627
+
628
+ * parser_apache2: Delay time parser initialization
629
+ https://github.com/fluent/fluentd/pull/1690
630
+ * cert_option: Improve generated certificates' conformance to X.509 specification
631
+ https://github.com/fluent/fluentd/pull/1714
632
+ * buffer: Always lock chunks first to avoid deadlock
633
+ https://github.com/fluent/fluentd/pull/1721
634
+
635
+ ## Release v0.14.21 - 2017/09/07
636
+
637
+ ### New features / Enhancements
638
+
639
+ * filter_parser: Support record_accessor in key_name
640
+ https://github.com/fluent/fluentd/pull/1654
641
+ * buffer: Support record_accessor in chunk keys
642
+ https://github.com/fluent/fluentd/pull/1662
643
+
644
+ ### Bug fixes
645
+
646
+ * compat_parameters: Support all syslog parser parameters
647
+ https://github.com/fluent/fluentd/pull/1650
648
+ * filter_record_transformer: Don't create new keys if the original record doesn't have `keep_keys` keys
649
+ https://github.com/fluent/fluentd/pull/1663
650
+ * in_tail: Fix the error when 'tag *' is configured
651
+ https://github.com/fluent/fluentd/pull/1664
652
+ * supervisor: Clear previous worker pids when receive kill signals.
653
+ https://github.com/fluent/fluentd/pull/1683
654
+
655
+ ## Release v0.14.20 - 2017/07/31
656
+
657
+ ### New features / Enhancements
658
+
659
+ * plugin: Add record_accessor plugin helper
660
+ https://github.com/fluent/fluentd/pull/1637
661
+ * log: Add format and time_format parameters to `<system>` setting
662
+ https://github.com/fluent/fluentd/pull/1644
663
+
664
+ ### Bug fixes
665
+
666
+ * buf_file: Improve file handling to mitigate broken meta file
667
+ https://github.com/fluent/fluentd/pull/1628
668
+ * in_syslog: Fix the description of resolve_hostname parameter
669
+ https://github.com/fluent/fluentd/pull/1633
670
+ * process: Fix signal handling. Send signal to all workers
671
+ https://github.com/fluent/fluentd/pull/1642
672
+ * output: Fix error message typo
673
+ https://github.com/fluent/fluentd/pull/1643
674
+
675
+ ## Release v0.14.19 - 2017/07/12
676
+
677
+ ### New features / Enhancements
678
+
679
+ * in_syslog: More characters are available in tag part of syslog format
680
+ https://github.com/fluent/fluentd/pull/1610
681
+ * in_syslog: Add resolve_hostname parameter
682
+ https://github.com/fluent/fluentd/pull/1616
683
+ * filter_grep: Support new configuration format by config_section
684
+ https://github.com/fluent/fluentd/pull/1611
685
+
686
+ ### Bug fixes
687
+
688
+ * output: Fix race condition of retry state in flush thread
689
+ https://github.com/fluent/fluentd/pull/1623
690
+ * test: Fix typo in test_in_tail.rb
691
+ https://github.com/fluent/fluentd/pull/1622
692
+
693
+ ## Release v0.14.18 - 2017/06/21
694
+
695
+ ### New features / Enhancements
696
+
697
+ * parser: Add rfc5424 regex without priority
698
+ https://github.com/fluent/fluentd/pull/1600
699
+
700
+ ### Bug fixes
701
+
702
+ * in_tail: Fix timing issue that the excluded_path doesn't apply.
703
+ https://github.com/fluent/fluentd/pull/1597
704
+ * config: Fix broken UTF-8 encoded configuration file handling
705
+ https://github.com/fluent/fluentd/pull/1592
706
+ * out_forward: Don't stop heartbeat when error happen
707
+ https://github.com/fluent/fluentd/pull/1602
708
+ * Fix command name typo in plugin template
709
+ https://github.com/fluent/fluentd/pull/1603
710
+
711
+ ## Release v0.14.17 - 2017/05/29
712
+
713
+ ### New features / Enhancements
714
+
715
+ * in_tail: Add ignore_repeated_permission_error
716
+ https://github.com/fluent/fluentd/pull/1574
717
+ * server: Accept private key for TLS server without passphrase
718
+ https://github.com/fluent/fluentd/pull/1575
719
+ * config: Validate workers option on standalone mode
720
+ https://github.com/fluent/fluentd/pull/1577
721
+
722
+ ### Bug fixes
723
+
724
+ * config: Mask all secret parameters in worker section
725
+ https://github.com/fluent/fluentd/pull/1580
726
+ * out_forward: Fix ack handling
727
+ https://github.com/fluent/fluentd/pull/1581
728
+ * plugin-config-format: Fix markdown format generator
729
+ https://github.com/fluent/fluentd/pull/1585
730
+
731
+ ## Release v0.14.16 - 2017/05/13
732
+
733
+ ### New features / Enhancements
734
+
735
+ * config: Allow null byte in double-quoted string
736
+ https://github.com/fluent/fluentd/pull/1552
737
+ * parser: Support %iso8601 special case for time_format
738
+ https://github.com/fluent/fluentd/pull/1562
739
+
740
+ ### Bug fixes
741
+
742
+ * out_forward: Call proper method for each connection type
743
+ https://github.com/fluent/fluentd/pull/1560
744
+ * in_monitor_agent: check variable buffer is a Buffer instance
745
+ https://github.com/fluent/fluentd/pull/1556
746
+ * log: Add missing '<<' method to delegators
747
+ https://github.com/fluent/fluentd/pull/1558
748
+ * command: uninitialized constant Fluent::Engine in fluent-binlog-reader
749
+ https://github.com/fluent/fluentd/pull/1568
750
+
751
+ ## Release v0.14.15 - 2017/04/23
752
+
753
+ ### New features / Enhancements
754
+
755
+ * Add `<worker N>` directive
756
+ https://github.com/fluent/fluentd/pull/1507
757
+ * in_tail: Do not warn that directories are unreadable in the in_tail plugin
758
+ https://github.com/fluent/fluentd/pull/1540
759
+ * output: Add formatted_to_msgpack_binary? to Output plugin API
760
+ https://github.com/fluent/fluentd/pull/1547
761
+ * windows: Allow the Windows Service name Fluentd runs as to be configurable
762
+ https://github.com/fluent/fluentd/pull/1548
763
+
764
+ ### Bug fixes
765
+
766
+ * in_http: Fix X-Forwarded-For header handling. Accpet multiple headers
767
+ https://github.com/fluent/fluentd/pull/1535
768
+ * Fix backward compatibility with Fluent::DetachProcess and Fluent::DetachMultiProcess
769
+ https://github.com/fluent/fluentd/pull/1522
770
+ * fix typo
771
+ https://github.com/fluent/fluentd/pull/1521
772
+ https://github.com/fluent/fluentd/pull/1523
773
+ https://github.com/fluent/fluentd/pull/1544
774
+ * test: Fix out_file test with timezone
775
+ https://github.com/fluent/fluentd/pull/1546
776
+ * windows: Quote the file path to the Ruby bin directory when starting fluentd as a windows service
777
+ https://github.com/fluent/fluentd/pull/1536
778
+
779
+ ## Release v0.14.14 - 2017/03/23
780
+
781
+ ### New features / Enhancements
782
+
783
+ * in_http: Support 'application/msgpack` header
784
+ https://github.com/fluent/fluentd/pull/1498
785
+ * in_udp: Add message_length_limit parameter for parameter name consistency with in_syslog
786
+ https://github.com/fluent/fluentd/pull/1515
787
+ * in_monitor_agent: Start one HTTP server per worker on sequential port numbers
788
+ https://github.com/fluent/fluentd/pull/1493
789
+ * in_tail: Skip the refresh of watching list on startup
790
+ https://github.com/fluent/fluentd/pull/1487
791
+ * filter_parser: filter_parser: Add emit_invalid_record_to_error parameter
792
+ https://github.com/fluent/fluentd/pull/1494
793
+ * parser_syslog: Support RFC5424 syslog format
794
+ https://github.com/fluent/fluentd/pull/1492
795
+ * parser: Allow escape sequence in Apache access log
796
+ https://github.com/fluent/fluentd/pull/1479
797
+ * config: Add actual value in the placholder error message
798
+ https://github.com/fluent/fluentd/pull/1497
799
+ * log: Add Fluent::Log#<< to support some SDKs
800
+ https://github.com/fluent/fluentd/pull/1478
801
+
802
+ ### Bug fixes
803
+
804
+ * Fix cleanup resource
805
+ https://github.com/fluent/fluentd/pull/1483
806
+ * config: Set encoding forcefully to avoid UndefinedConversionError
807
+ https://github.com/fluent/fluentd/pull/1477
808
+ * Fix Input and Output deadlock when buffer is full during startup
809
+ https://github.com/fluent/fluentd/pull/1502
810
+ * config: Fix log_level handling in `<system>`
811
+ https://github.com/fluent/fluentd/pull/1501
812
+ * Fix typo in root agent error log
813
+ https://github.com/fluent/fluentd/pull/1491
814
+ * storage: Fix a bug storage_create cannot accept hash as `conf` keyword argument
815
+ https://github.com/fluent/fluentd/pull/1482
816
+
817
+ ## Release v0.14.13 - 2017/02/17
818
+
819
+ ### New features / Enhancements
820
+
821
+ * in_tail: Add 'limit_recently_modified' to limit watch files.
822
+ https://github.com/fluent/fluentd/pull/1474
823
+ * configuration: Improve 'flush_interval' handling for better message and backward compatibility
824
+ https://github.com/fluent/fluentd/pull/1442
825
+ * command: Add 'fluent-plugin-generate' command
826
+ https://github.com/fluent/fluentd/pull/1427
827
+ * output: Skip record when 'Output#format' returns nil
828
+ https://github.com/fluent/fluentd/pull/1469
829
+
830
+ ### Bug fixes
831
+
832
+ * output: Secondary calculation should consider 'retry_max_times'
833
+ https://github.com/fluent/fluentd/pull/1452
834
+ * Fix regression of deprecated 'process' module
835
+ https://github.com/fluent/fluentd/pull/1443
836
+ * Fix missing parser_regex require
837
+ https://github.com/fluent/fluentd/issues/1458
838
+ https://github.com/fluent/fluentd/pull/1453
839
+ * Keep 'Fluent::BufferQueueLimitError' for existing plugins
840
+ https://github.com/fluent/fluentd/pull/1456
841
+ * in_tail: Untracked files should be removed from watching list to avoid memory bloat
842
+ https://github.com/fluent/fluentd/pull/1467
843
+ * in_tail: directories should be skipped when the ** pattern is used
844
+ https://github.com/fluent/fluentd/pull/1464
845
+ * record_transformer: Revert "Use BasicObject for cleanroom" for `enable_ruby` regression.
846
+ https://github.com/fluent/fluentd/pull/1461
847
+ * buf_file: handle "Too many open files" error to keep buffer and metadata pair
848
+ https://github.com/fluent/fluentd/pull/1468
849
+
850
+ ## Release v0.14.12 - 2017/01/30
851
+
852
+ ### New features / Enhancements
853
+ * Support multi process workers by `workers` option
854
+ https://github.com/fluent/fluentd/pull/1386
855
+ * Support TLS transport security layer by server plugin helper, and forward input/output plugins
856
+ https://github.com/fluent/fluentd/pull/1423
857
+ * Update internal log event handling to route log events to `@FLUENT_LOG` label if configured, suppress log events in startup/shutdown in default
858
+ https://github.com/fluent/fluentd/pull/1405
859
+ * Rename buffer plugin chunk limit parameters for consistency
860
+ https://github.com/fluent/fluentd/pull/1412
861
+ * Encode string values from configuration files in UTF8
862
+ https://github.com/fluent/fluentd/pull/1411
863
+ * Reorder plugin load paths to load rubygem plugins earlier than built-in plugins to overwrite them
864
+ https://github.com/fluent/fluentd/pull/1410
865
+ * Clock API to control internal thread control
866
+ https://github.com/fluent/fluentd/pull/1425
867
+ * Validate `config_param` options to restrict unexpected specifications
868
+ https://github.com/fluent/fluentd/pull/1437
869
+ * formatter: Add `add_newline` option to get formatted lines without newlines
870
+ https://github.com/fluent/fluentd/pull/1420
871
+ * in_forward: Add `ignore_network_errors_at_startup` option for automated cluster deployment
872
+ https://github.com/fluent/fluentd/pull/1399
873
+ * in_forward: Close listening socket in #stop, not to accept new connection request in early stage of shutdown
874
+ https://github.com/fluent/fluentd/pull/1401
875
+ * out_forward: Ensure to pack values in `str` type of msgpack
876
+ https://github.com/fluent/fluentd/pull/1413
877
+ * in_tail: Add `emit_unmatched_lines` to capture lines which unmatch configured regular expressions
878
+ https://github.com/fluent/fluentd/pull/1421
879
+ * in_tail: Add `open_on_every_update` to read lines from files opened in exclusive mode on Windows platform
880
+ https://github.com/fluent/fluentd/pull/1409
881
+ * in_monitor_agent: Add `with_ivars` query parameter to get instance variables only for specified instance variables
882
+ https://github.com/fluent/fluentd/pull/1393
883
+ * storage_local: Generate file store path using `usage`, with `root_dir` configuration
884
+ https://github.com/fluent/fluentd/pull/1438
885
+ * Improve test stability
886
+ https://github.com/fluent/fluentd/pull/1426
887
+
888
+ ### Bug fixes
889
+ * Fix bug to ignore command line options: `--rpc-endpoint`, `--suppress-config-dump`, etc
890
+ https://github.com/fluent/fluentd/pull/1398
891
+ * Fix bug to block infinitely in shutdown when buffer is full and `overflow_action` is `block`
892
+ https://github.com/fluent/fluentd/pull/1396
893
+ * buf_file: Fix bug not to use `root_dir` even if configured correctly
894
+ https://github.com/fluent/fluentd/pull/1417
895
+ * filter_record_transformer: Fix to use BasicObject for clean room
896
+ https://github.com/fluent/fluentd/pull/1415
897
+ * filter_record_transformer: Fix bug that `remove_keys` doesn't work with `renew_time_key`
898
+ https://github.com/fluent/fluentd/pull/1433
899
+ * in_monitor_agent: Fix bug to crash with NoMethodError for some output plugins
900
+ https://github.com/fluent/fluentd/pull/1365
901
+
902
+ ## Release v0.14.11 - 2016/12/26
903
+
904
+ ### New features / Enhancements
905
+ * Add "root_dir" parameter in `<system>` directive to configure server root directory, used for buffer/storage paths
906
+ https://github.com/fluent/fluentd/pull/1374
907
+ * Fix not to restart Fluentd processes when unrecoverable errors occur
908
+ https://github.com/fluent/fluentd/pull/1359
909
+ * Show warnings in log when output flush operation takes longer time than threshold
910
+ https://github.com/fluent/fluentd/pull/1370
911
+ * formatter_csv: Raise configuration error when no field names are specified
912
+ https://github.com/fluent/fluentd/pull/1369
913
+ * in_syslog: Update implementation to use plugin helpers
914
+ https://github.com/fluent/fluentd/pull/1382
915
+ * in_forward: Add a configuration parameter "source_address_key"
916
+ https://github.com/fluent/fluentd/pull/1382
917
+ * in_monitor_agent: Add a parameter "include_retry" to get detail retry status
918
+ https://github.com/fluent/fluentd/pull/1387
919
+ * Add Ruby 2.4 into supported ruby versions
920
+
921
+ ### Bug fixes
922
+ * Fix to set process name of supervisor process
923
+ https://github.com/fluent/fluentd/pull/1380
924
+ * in_forward: Fix a bug not to handle "require_ack_response" correctly
925
+ https://github.com/fluent/fluentd/pull/1389
926
+
927
+
928
+ ## Release v0.14.10 - 2016/12/14
929
+
930
+ ### New features / Enhancement
931
+
932
+ * Add socket/server plugin helper to write TCP/UDP clients/servers as Fluentd plugin
933
+ https://github.com/fluent/fluentd/pull/1312
934
+ https://github.com/fluent/fluentd/pull/1350
935
+ https://github.com/fluent/fluentd/pull/1356
936
+ https://github.com/fluent/fluentd/pull/1362
937
+ * Fix to raise errors when injected hostname is also specified as chunk key
938
+ https://github.com/fluent/fluentd/pull/1357
939
+ * in_tail: Optimize to read lines from file
940
+ https://github.com/fluent/fluentd/pull/1325
941
+ * in_monitor_agent: Add new parameter "include_config"(default: true)
942
+ https://github.com/fluent/fluentd/pull/1317
943
+ * in_syslog: Add "priority_key" and "facility_key" options
944
+ https://github.com/fluent/fluentd/pull/1351
945
+ * filter_record_transformer: Remove obsoleted syntax like "${message}" and not to dump records in logs
946
+ https://github.com/fluent/fluentd/pull/1328
947
+ * Add an option "--time-as-integer" to fluent-cat command to send events from v0.14 fluent-cat to v0.12 fluentd
948
+ https://github.com/fluent/fluentd/pull/1349
949
+
950
+ ### Bug fixes
951
+
952
+ * Specify correct Oj options for newer versions (Oj 2.18.0 or later)
953
+ https://github.com/fluent/fluentd/pull/1331
954
+ * TimeSlice output plugins (in v0.12 style) raise errors when "utc" parameter is specified
955
+ https://github.com/fluent/fluentd/pull/1319
956
+ * Parser plugins cannot use options for regular expressions
957
+ https://github.com/fluent/fluentd/pull/1326
958
+ * Fix bugs not to raise errors to use logger in v0.12 plugins
959
+ https://github.com/fluent/fluentd/pull/1344
960
+ https://github.com/fluent/fluentd/pull/1332
961
+ * Fix bug about shutting down Fluentd in Windows
962
+ https://github.com/fluent/fluentd/pull/1367
963
+ * in_tail: Close files explicitly in tests
964
+ https://github.com/fluent/fluentd/pull/1327
965
+ * out_forward: Fix bug not to convert buffer configurations into v0.14 parameters
966
+ https://github.com/fluent/fluentd/pull/1337
967
+ * out_forward: Fix bug to raise error when "expire_dns_cache" is specified
968
+ https://github.com/fluent/fluentd/pull/1346
969
+ * out_file: Fix bug to raise error about buffer chunking when it's configured as secondary
970
+ https://github.com/fluent/fluentd/pull/1338
971
+
972
+ ## Release v0.14.9 - 2016/11/15
973
+
974
+ ### New features / Enhancement
975
+
976
+ * filter_parser: Port fluent-plugin-parser into built-in plugin
977
+ https://github.com/fluent/fluentd/pull/1191
978
+ * parser/formatter plugin helpers with default @type in plugin side
979
+ https://github.com/fluent/fluentd/pull/1267
980
+ * parser: Reconstruct Parser related classes
981
+ https://github.com/fluent/fluentd/pull/1286
982
+ * filter_record_transformer: Remove old behaviours
983
+ https://github.com/fluent/fluentd/pull/1311
984
+ * Migrate some built-in plugins into v0.14 API
985
+ https://github.com/fluent/fluentd/pull/1257 (out_file)
986
+ https://github.com/fluent/fluentd/pull/1297 (out_exec, out_exec_filter)
987
+ https://github.com/fluent/fluentd/pull/1306 (in_forward, out_forward)
988
+ https://github.com/fluent/fluentd/pull/1308 (in_http)
989
+ * test: Improve test drivers
990
+ https://github.com/fluent/fluentd/pull/1302
991
+ https://github.com/fluent/fluentd/pull/1305
992
+
993
+ ### Bug fixes
994
+
995
+ * log: Avoid name conflict between Fluent::Logger
996
+ https://github.com/fluent/fluentd/pull/1274
997
+ * fluent-cat: Fix fluent-cat command to send sub-second precision time
998
+ https://github.com/fluent/fluentd/pull/1277
999
+ * config: Fix a bug not to overwrite default value with nil
1000
+ https://github.com/fluent/fluentd/pull/1296
1001
+ * output: Fix timezone for compat timesliced output plugins
1002
+ https://github.com/fluent/fluentd/pull/1307
1003
+ * out_forward: fix not to raise error when out_forward is initialized as secondary
1004
+ https://github.com/fluent/fluentd/pull/1313
1005
+ * output: Event router for secondary output
1006
+ https://github.com/fluent/fluentd/pull/1283
1007
+ * test: fix to return the block value as expected by many rubyists
1008
+ https://github.com/fluent/fluentd/pull/1284
1009
+
1010
+ ## Release v0.14.8 - 2016/10/13
1011
+
1012
+ ### Bug fixes
1013
+
1014
+ * Add msgpack_each to buffer chunks in compat-layer output plugins
1015
+ https://github.com/fluent/fluentd/pull/1273
1016
+
1017
+ ## Release v0.14.7 - 2016/10/07
1018
+
1019
+ ### New features / Enhancement
1020
+
1021
+ * Support data compression in buffer plugins
1022
+ https://github.com/fluent/fluentd/pull/1172
1023
+ * in_forward: support to transfer compressed data
1024
+ https://github.com/fluent/fluentd/pull/1179
1025
+ * out_stdout: fix to show nanosecond resolution time
1026
+ https://github.com/fluent/fluentd/pull/1249
1027
+ * Add option to rotate Fluentd daemon's log
1028
+ https://github.com/fluent/fluentd/pull/1235
1029
+ * Add extract plugin helper, with symmetric time parameter support in parser/formatter and inject/extract
1030
+ https://github.com/fluent/fluentd/pull/1207
1031
+ * Add a feature to parse/format numeric time (unix time [+ subsecond value])
1032
+ https://github.com/fluent/fluentd/pull/1254
1033
+ * Raise configuration errors for inconsistent `<label>` configurations
1034
+ https://github.com/fluent/fluentd/pull/1233
1035
+ * Fix to instantiate an unconfigured section even for multi: true
1036
+ https://github.com/fluent/fluentd/pull/1210
1037
+ * Add validators of placeholders for buffering key extraction
1038
+ https://github.com/fluent/fluentd/pull/1255
1039
+ * Fix to show log messages about filter optimization only when needed
1040
+ https://github.com/fluent/fluentd/pull/1227
1041
+ * Add some features to write plugins more easily
1042
+ https://github.com/fluent/fluentd/pull/1256
1043
+ * Add a tool to load dumped events from file
1044
+ https://github.com/fluent/fluentd/pull/1165
1045
+
1046
+ ### Bug fixes
1047
+
1048
+ * Fix Oj's default option to encode/decode JSON in the same way with Yajl
1049
+ https://github.com/fluent/fluentd/pull/1147
1050
+ https://github.com/fluent/fluentd/pull/1239
1051
+ * Fix to raise correct configuration errors
1052
+ https://github.com/fluent/fluentd/pull/1223
1053
+ * Fix a bug to call `shutdown` method (and some others) twice
1054
+ https://github.com/fluent/fluentd/pull/1242
1055
+ * Fix to enable `chunk.each` only when it's encoded by msgpack
1056
+ https://github.com/fluent/fluentd/pull/1263
1057
+ * Fix a bug not to stop enqueue/flush threads correctly
1058
+ https://github.com/fluent/fluentd/pull/1264
1059
+ * out_forward: fix a bug that UDP heartbeat doesn't work
1060
+ https://github.com/fluent/fluentd/pull/1238
1061
+ * out_file: fix a crash bug when v0.14 enables symlink and resumes existing buffer file chunk generated by v0.12
1062
+ https://github.com/fluent/fluentd/pull/1234
1063
+ * in_monitor_agent: fix compatibility problem between outputs of v0.12 and v0.14
1064
+ https://github.com/fluent/fluentd/pull/1232
1065
+ * in_tail: fix a bug to crash to read large amount logs
1066
+ https://github.com/fluent/fluentd/pull/1259
1067
+ https://github.com/fluent/fluentd/pull/1261
1068
+
1069
+ ## Release v0.14.6 - 2016/09/07
1070
+
1071
+ ### Bug fixes
1072
+
1073
+ * in_tail: Add a missing parser_multiline require
1074
+ https://github.com/fluent/fluentd/pull/1212
1075
+ * forward: Mark secret parameters of forward plugins as secret
1076
+ https://github.com/fluent/fluentd/pull/1209
1077
+
1078
+ ## Release v0.14.5 - 2016/09/06
1079
+
1080
+ ### New features / Enhancement
1081
+
1082
+ * Add authentication / authorization feature to forward protocol and in/out_forward plugins
1083
+ https://github.com/fluent/fluentd/pull/1136
1084
+ * Add a new plugin to dump buffers in retries as secondary plugin
1085
+ https://github.com/fluent/fluentd/pull/1154
1086
+ * Merge out_buffered_stdout and out_buffered_null into out_stdout and out_null
1087
+ https://github.com/fluent/fluentd/pull/1200
1088
+
1089
+ ### Bug fixes
1090
+
1091
+ * Raise configuration errors to clarify what's wrong when "@type" is missing
1092
+ https://github.com/fluent/fluentd/pull/1202
1093
+ * Fix the bug not to launch Fluentd when v0.12 MultiOutput plugin is configured
1094
+ https://github.com/fluent/fluentd/pull/1206
1095
+
1096
+ ## Release v0.14.4 - 2016/08/31
1097
+
1098
+ ### New features / Enhancement
1099
+
1100
+ * Add a method to Filter API to update time of events
1101
+ https://github.com/fluent/fluentd/pull/1140
1102
+ * Improve performance of filter pipeline
1103
+ https://github.com/fluent/fluentd/pull/1145
1104
+ * Fix to suppress not to warn about different plugins for primary and secondary without any problems
1105
+ https://github.com/fluent/fluentd/pull/1153
1106
+ * Add deprecated/obsoleted options to config_param to show removed/warned parameters
1107
+ https://github.com/fluent/fluentd/pull/1186
1108
+ * in_forward: Add a feature source_hostname_key to inject source hostname into records
1109
+ https://github.com/fluent/fluentd/pull/807
1110
+ * in_tail: Add a feature from_encoding to specify both encoding from and to
1111
+ https://github.com/fluent/fluentd/pull/1067
1112
+ * filter_record_transformer: Fix to prevent overwriting reserved placeholder keys
1113
+ https://github.com/fluent/fluentd/pull/1176
1114
+ * Migrate some build-in plugins into v0.14 API
1115
+ https://github.com/fluent/fluentd/pull/1149
1116
+ https://github.com/fluent/fluentd/pull/1151
1117
+ * Update dependencies
1118
+ https://github.com/fluent/fluentd/pull/1193
1119
+
1120
+ ### Bug fixes
1121
+
1122
+ * Fix to start/stop/restart Fluentd processes correctly on Windows environment
1123
+ https://github.com/fluent/fluentd/pull/1171
1124
+ https://github.com/fluent/fluentd/pull/1192
1125
+ * Fix to handle Windows events correctly in winsvc.rb
1126
+ https://github.com/fluent/fluentd/pull/1155
1127
+ https://github.com/fluent/fluentd/pull/1170
1128
+ * Fix not to continue to restart workers for configuration errors
1129
+ https://github.com/fluent/fluentd/pull/1183
1130
+ * Fix output threads to start enqueue/flush buffers until plugins' start method ends
1131
+ https://github.com/fluent/fluentd/pull/1190
1132
+ * Fix a bug not to set umask 0
1133
+ https://github.com/fluent/fluentd/pull/1152
1134
+ * Fix resource leak on one-shot timers
1135
+ https://github.com/fluent/fluentd/pull/1178
1136
+ * Fix to call plugin helper methods in configure
1137
+ https://github.com/fluent/fluentd/pull/1184
1138
+ * Fix a bug to count event size
1139
+ https://github.com/fluent/fluentd/pull/1164/files
1140
+ * Fix to require missed compat modules
1141
+ https://github.com/fluent/fluentd/pull/1168
1142
+ * Fix to start properly for plugins under MultiOutput
1143
+ https://github.com/fluent/fluentd/pull/1167
1144
+ * Fix test drivers to set class name into plugin instances
1145
+ https://github.com/fluent/fluentd/pull/1069
1146
+ * Fix tests not to use mocks for Time (improve test stabilization)
1147
+ https://github.com/fluent/fluentd/pull/1194
1148
+
1149
+ ## Release 0.14.3 - 2016/08/30
1150
+
1151
+ * Fix the dependency for ServerEngine 1.x
1152
+
1153
+ ## Release 0.14.2 - 2016/08/09
1154
+
1155
+ ### New features / Enhancement
1156
+
1157
+ * Fix to split large event stream into some/many chunks in buffers
1158
+ https://github.com/fluent/fluentd/pull/1062
1159
+ * Add parser and filter support in compat_parameters plugin helper
1160
+ https://github.com/fluent/fluentd/pull/1079
1161
+ * Add a RPC call to flush buffers and stop workers
1162
+ https://github.com/fluent/fluentd/pull/1134
1163
+ * Update forward protocol to pass the number of events in a payload
1164
+ https://github.com/fluent/fluentd/pull/1137
1165
+ * Improve performance of some built-in formatter plugins
1166
+ https://github.com/fluent/fluentd/pull/1082
1167
+ https://github.com/fluent/fluentd/pull/1086
1168
+ * Migrate some built-in plugins and plugin util modules into v0.14 API
1169
+ https://github.com/fluent/fluentd/pull/1058
1170
+ https://github.com/fluent/fluentd/pull/1061
1171
+ https://github.com/fluent/fluentd/pull/1076
1172
+ https://github.com/fluent/fluentd/pull/1078
1173
+ https://github.com/fluent/fluentd/pull/1081
1174
+ https://github.com/fluent/fluentd/pull/1083
1175
+ https://github.com/fluent/fluentd/pull/1091
1176
+ * Register RegExpParser as a parser plugin explicitly
1177
+ https://github.com/fluent/fluentd/pull/1094
1178
+ * Add delimiter option to CSV parser
1179
+ https://github.com/fluent/fluentd/pull/1108
1180
+ * Add an option to receive longer udp syslog messages
1181
+ https://github.com/fluent/fluentd/pull/1127
1182
+ * Add a option to suspend internal status in dummy plugin
1183
+ https://github.com/fluent/fluentd/pull/900
1184
+ * Add a feature to capture filtered records in test driver for Filter plugins
1185
+ https://github.com/fluent/fluentd/pull/1077
1186
+ * Add some utility methods to plugin test drivers
1187
+ https://github.com/fluent/fluentd/pull/1114
1188
+
1189
+ ### Bug fixes
1190
+
1191
+ * Fix bug to read non buffer-chunk files as buffer chunks when Fluentd resumed
1192
+ https://github.com/fluent/fluentd/pull/1124
1193
+ * Fix bug not to load Filter plugins which are specified in configurations
1194
+ https://github.com/fluent/fluentd/pull/1118
1195
+ * Fix bug to ignore `-p` option to specify directories of plugins
1196
+ https://github.com/fluent/fluentd/pull/1133
1197
+ * Fix bug to overwrite base class configuration section definitions by subclasses
1198
+ https://github.com/fluent/fluentd/pull/1119
1199
+ * Fix to stop Fluentd worker process by Ctrl-C when --no-supervisor specified
1200
+ https://github.com/fluent/fluentd/pull/1089
1201
+ * Fix regression about RPC call to reload configuration
1202
+ https://github.com/fluent/fluentd/pull/1093
1203
+ * Specify to ensure Oj JSON parser to use strict mode
1204
+ https://github.com/fluent/fluentd/pull/1147
1205
+ * Fix unexisting path handling in Windows environment
1206
+ https://github.com/fluent/fluentd/pull/1104
1207
+
1208
+ ## Release 0.14.1 - 2016/06/30
1209
+
1210
+ ### New features / Enhancement
1211
+
1212
+ * Add plugin helpers for parsers and formatters
1213
+ https://github.com/fluent/fluentd/pull/1023
1214
+ * Extract some mixins into compat modules
1215
+ https://github.com/fluent/fluentd/pull/1044
1216
+ https://github.com/fluent/fluentd/pull/1052
1217
+ * Add utility methods for tests and test drivers
1218
+ https://github.com/fluent/fluentd/pull/1047
1219
+ * Migrate some built-in plugins to v0.14 APIs
1220
+ https://github.com/fluent/fluentd/pull/1049
1221
+ https://github.com/fluent/fluentd/pull/1057
1222
+ https://github.com/fluent/fluentd/pull/1060
1223
+ https://github.com/fluent/fluentd/pull/1064
1224
+ * Add support of X-Forwarded-For header in in_http plugin
1225
+ https://github.com/fluent/fluentd/pull/1051
1226
+ * Warn not to create too many staged chunks at configure
1227
+ https://github.com/fluent/fluentd/pull/1054
1228
+ * Add a plugin helper to inject tag/time/hostname
1229
+ https://github.com/fluent/fluentd/pull/1063
1230
+
1231
+ ### Bug fixes
1232
+
1233
+ * Fix in_monitor_agent for v0.14 plugins
1234
+ https://github.com/fluent/fluentd/pull/1003
1235
+ * Fix to call #format_stream of plugins themselves when RecordFilter mixin included
1236
+ https://github.com/fluent/fluentd/pull/1005
1237
+ * Fix shutdown sequence to wait force flush
1238
+ https://github.com/fluent/fluentd/pull/1009
1239
+ * Fix a deadlock bug in shutdown
1240
+ https://github.com/fluent/fluentd/pull/1010
1241
+ * Fix to require DetachProcessMixin in default for compat plugins
1242
+ https://github.com/fluent/fluentd/pull/1014
1243
+ * Fix to overwrite configure_proxy name only for root sections for debugging
1244
+ https://github.com/fluent/fluentd/pull/1015
1245
+ * Rename file for in_unix plugin
1246
+ https://github.com/fluent/fluentd/pull/1017
1247
+ * Fix a bug not to create pid file when daemonized
1248
+ https://github.com/fluent/fluentd/pull/1021
1249
+ * Fix wrong DEFAULT_PLUGIN_PATH
1250
+ https://github.com/fluent/fluentd/pull/1028
1251
+ * Fix a bug not to use primary plugin type for secondary in default
1252
+ https://github.com/fluent/fluentd/pull/1032
1253
+ * Add --run-worker option to distinguish to run as worker without supervisor
1254
+ https://github.com/fluent/fluentd/pull/1033
1255
+ * Fix regression of fluent-debug command
1256
+ https://github.com/fluent/fluentd/pull/1046
1257
+ * Update windows-pr dependency to 1.2.5
1258
+ https://github.com/fluent/fluentd/pull/1065
1259
+ * Fix supervisor to pass RUBYOPT to worker processes
1260
+ https://github.com/fluent/fluentd/pull/1066
1261
+
1262
+ ## Release 0.14.0 - 2016/05/25
1263
+
1264
+ ### New features / Enhancement
1265
+
1266
+ This list includes changes of 0.14.0.pre.1 and release candidates.
1267
+
1268
+ * Update supported Ruby version to 2.1 or later
1269
+ https://github.com/fluent/fluentd/pull/692
1270
+ * Sub-second event time support
1271
+ https://github.com/fluent/fluentd/pull/653
1272
+ * Windows support and supervisor improvement
1273
+ https://github.com/fluent/fluentd/pull/674
1274
+ https://github.com/fluent/fluentd/pull/831
1275
+ https://github.com/fluent/fluentd/pull/880
1276
+ * Add New plugin API
1277
+ https://github.com/fluent/fluentd/pull/800
1278
+ https://github.com/fluent/fluentd/pull/843
1279
+ https://github.com/fluent/fluentd/pull/866
1280
+ https://github.com/fluent/fluentd/pull/905
1281
+ https://github.com/fluent/fluentd/pull/906
1282
+ https://github.com/fluent/fluentd/pull/917
1283
+ https://github.com/fluent/fluentd/pull/928
1284
+ https://github.com/fluent/fluentd/pull/943
1285
+ https://github.com/fluent/fluentd/pull/964
1286
+ https://github.com/fluent/fluentd/pull/965
1287
+ https://github.com/fluent/fluentd/pull/972
1288
+ https://github.com/fluent/fluentd/pull/983
1289
+ * Add standard chunking format
1290
+ https://github.com/fluent/fluentd/pull/914
1291
+ * Add Compatibility layer for v0.12 plugins
1292
+ https://github.com/fluent/fluentd/pull/912
1293
+ https://github.com/fluent/fluentd/pull/969
1294
+ https://github.com/fluent/fluentd/pull/974
1295
+ https://github.com/fluent/fluentd/pull/992
1296
+ https://github.com/fluent/fluentd/pull/999
1297
+ * Add Plugin Storage API
1298
+ https://github.com/fluent/fluentd/pull/864
1299
+ https://github.com/fluent/fluentd/pull/910
1300
+ * Enforce to use router.emit instead of Engine.emit
1301
+ https://github.com/fluent/fluentd/pull/883
1302
+ * log: Show plugin name and id in logs
1303
+ https://github.com/fluent/fluentd/pull/860
1304
+ * log: Dump configurations with v1 syntax in logs
1305
+ https://github.com/fluent/fluentd/pull/867
1306
+ * log: Dump errors with class in logs
1307
+ https://github.com/fluent/fluentd/pull/899
1308
+ * config: Add simplified syntax for configuration values of hash and array
1309
+ https://github.com/fluent/fluentd/pull/875
1310
+ * config: Add 'init' option to config_section to initialize section objects
1311
+ https://github.com/fluent/fluentd/pull/877
1312
+ * config: Support multiline string in quoted strings
1313
+ https://github.com/fluent/fluentd/pull/929
1314
+ * config: Add optional arguments on Element#elements to select child elements
1315
+ https://github.com/fluent/fluentd/pull/948
1316
+ * config: Show deprecated warnings for reserved parameters
1317
+ https://github.com/fluent/fluentd/pull/971
1318
+ * config: Make the detach process forward interval configurable
1319
+ https://github.com/fluent/fluentd/pull/982
1320
+ * in_tail: Add 'path_key' option to inject tailing path
1321
+ https://github.com/fluent/fluentd/pull/951
1322
+ * Remove in_status plugin
1323
+ https://github.com/fluent/fluentd/pull/690
1324
+
1325
+ ### Bug fixes
1326
+
1327
+ * config: Enum list must be of symbols
1328
+ https://github.com/fluent/fluentd/pull/821
1329
+ * config: Fix to dup values in default
1330
+ https://github.com/fluent/fluentd/pull/827
1331
+ * config: Fix problems about overwriting subsections
1332
+ https://github.com/fluent/fluentd/pull/844
1333
+ https://github.com/fluent/fluentd/pull/981
1334
+ * log: Serialize Fluent::EventTime as Integer in JSON
1335
+ https://github.com/fluent/fluentd/pull/904
1336
+ * out_forward: Add missing error class and tests for it
1337
+ https://github.com/fluent/fluentd/pull/922
1338
+
1339
+ ### Internal fix / Refactoring
1340
+
1341
+ * Fix dependencies between files
1342
+ https://github.com/fluent/fluentd/pull/799
1343
+ https://github.com/fluent/fluentd/pull/808
1344
+ https://github.com/fluent/fluentd/pull/823
1345
+ https://github.com/fluent/fluentd/pull/824
1346
+ https://github.com/fluent/fluentd/pull/825
1347
+ https://github.com/fluent/fluentd/pull/826
1348
+ https://github.com/fluent/fluentd/pull/828
1349
+ https://github.com/fluent/fluentd/pull/859
1350
+ https://github.com/fluent/fluentd/pull/892
1351
+ * Separate PluginId from config
1352
+ https://github.com/fluent/fluentd/pull/832
1353
+ * Separate MessagePack factory from Engine
1354
+ https://github.com/fluent/fluentd/pull/871
1355
+ * Register plugins to registry
1356
+ https://github.com/fluent/fluentd/pull/838
1357
+ * Move TypeConverter mixin to mixin.rb
1358
+ https://github.com/fluent/fluentd/pull/842
1359
+ * Override default configurations by `<system>`
1360
+ https://github.com/fluent/fluentd/pull/854
1361
+ * Suppress Ruby level warnings
1362
+ https://github.com/fluent/fluentd/pull/846
1363
+ https://github.com/fluent/fluentd/pull/852
1364
+ https://github.com/fluent/fluentd/pull/890
1365
+ https://github.com/fluent/fluentd/pull/946
1366
+ https://github.com/fluent/fluentd/pull/955
1367
+ https://github.com/fluent/fluentd/pull/966
1368
+
1369
+ See https://github.com/fluent/fluentd/blob/v0.12/CHANGELOG.md for v0.12 changelog