fluentd-hubspot 0.14.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (396) hide show
  1. data/.github/ISSUE_TEMPLATE.md +6 -0
  2. data/.gitignore +28 -0
  3. data/.travis.yml +51 -0
  4. data/AUTHORS +2 -0
  5. data/CONTRIBUTING.md +42 -0
  6. data/COPYING +14 -0
  7. data/ChangeLog +593 -0
  8. data/Gemfile +9 -0
  9. data/README.md +76 -0
  10. data/Rakefile +74 -0
  11. data/Vagrantfile +17 -0
  12. data/appveyor.yml +43 -0
  13. data/bin/fluent-binlog-reader +7 -0
  14. data/bin/fluent-debug +5 -0
  15. data/bin/fluent-plugin-config-format +5 -0
  16. data/bin/fluent-plugin-generate +5 -0
  17. data/code-of-conduct.md +3 -0
  18. data/example/copy_roundrobin.conf +39 -0
  19. data/example/filter_stdout.conf +22 -0
  20. data/example/in_dummy_blocks.conf +17 -0
  21. data/example/in_dummy_with_compression.conf +23 -0
  22. data/example/in_forward.conf +14 -0
  23. data/example/in_forward_client.conf +37 -0
  24. data/example/in_forward_shared_key.conf +15 -0
  25. data/example/in_forward_tls.conf +14 -0
  26. data/example/in_forward_users.conf +24 -0
  27. data/example/in_forward_workers.conf +21 -0
  28. data/example/in_http.conf +14 -0
  29. data/example/in_out_forward.conf +17 -0
  30. data/example/in_syslog.conf +15 -0
  31. data/example/in_tail.conf +14 -0
  32. data/example/in_tcp.conf +13 -0
  33. data/example/in_udp.conf +13 -0
  34. data/example/logevents.conf +25 -0
  35. data/example/multi_filters.conf +61 -0
  36. data/example/out_copy.conf +20 -0
  37. data/example/out_exec_filter.conf +42 -0
  38. data/example/out_file.conf +13 -0
  39. data/example/out_forward.conf +35 -0
  40. data/example/out_forward_buf_file.conf +23 -0
  41. data/example/out_forward_client.conf +109 -0
  42. data/example/out_forward_heartbeat_none.conf +16 -0
  43. data/example/out_forward_shared_key.conf +36 -0
  44. data/example/out_forward_tls.conf +18 -0
  45. data/example/out_forward_users.conf +65 -0
  46. data/example/out_null.conf +36 -0
  47. data/example/secondary_file.conf +41 -0
  48. data/example/suppress_config_dump.conf +7 -0
  49. data/example/v0_12_filter.conf +78 -0
  50. data/example/v1_literal_example.conf +36 -0
  51. data/fluent.conf +139 -0
  52. data/fluentd.gemspec +51 -0
  53. data/lib/fluent/agent.rb +163 -0
  54. data/lib/fluent/clock.rb +62 -0
  55. data/lib/fluent/command/binlog_reader.rb +234 -0
  56. data/lib/fluent/command/bundler_injection.rb +45 -0
  57. data/lib/fluent/command/cat.rb +330 -0
  58. data/lib/fluent/command/debug.rb +102 -0
  59. data/lib/fluent/command/fluentd.rb +301 -0
  60. data/lib/fluent/command/plugin_config_formatter.rb +258 -0
  61. data/lib/fluent/command/plugin_generator.rb +301 -0
  62. data/lib/fluent/compat/call_super_mixin.rb +67 -0
  63. data/lib/fluent/compat/detach_process_mixin.rb +25 -0
  64. data/lib/fluent/compat/exec_util.rb +129 -0
  65. data/lib/fluent/compat/file_util.rb +54 -0
  66. data/lib/fluent/compat/filter.rb +68 -0
  67. data/lib/fluent/compat/formatter.rb +111 -0
  68. data/lib/fluent/compat/formatter_utils.rb +85 -0
  69. data/lib/fluent/compat/handle_tag_and_time_mixin.rb +62 -0
  70. data/lib/fluent/compat/handle_tag_name_mixin.rb +53 -0
  71. data/lib/fluent/compat/input.rb +59 -0
  72. data/lib/fluent/compat/output.rb +728 -0
  73. data/lib/fluent/compat/output_chain.rb +60 -0
  74. data/lib/fluent/compat/parser.rb +310 -0
  75. data/lib/fluent/compat/parser_utils.rb +40 -0
  76. data/lib/fluent/compat/propagate_default.rb +62 -0
  77. data/lib/fluent/compat/record_filter_mixin.rb +34 -0
  78. data/lib/fluent/compat/set_tag_key_mixin.rb +50 -0
  79. data/lib/fluent/compat/set_time_key_mixin.rb +69 -0
  80. data/lib/fluent/compat/socket_util.rb +165 -0
  81. data/lib/fluent/compat/string_util.rb +34 -0
  82. data/lib/fluent/compat/structured_format_mixin.rb +26 -0
  83. data/lib/fluent/compat/type_converter.rb +90 -0
  84. data/lib/fluent/config.rb +56 -0
  85. data/lib/fluent/config/basic_parser.rb +123 -0
  86. data/lib/fluent/config/configure_proxy.rb +418 -0
  87. data/lib/fluent/config/dsl.rb +149 -0
  88. data/lib/fluent/config/element.rb +218 -0
  89. data/lib/fluent/config/error.rb +26 -0
  90. data/lib/fluent/config/literal_parser.rb +251 -0
  91. data/lib/fluent/config/parser.rb +107 -0
  92. data/lib/fluent/config/section.rb +223 -0
  93. data/lib/fluent/config/types.rb +136 -0
  94. data/lib/fluent/config/v1_parser.rb +190 -0
  95. data/lib/fluent/configurable.rb +200 -0
  96. data/lib/fluent/daemon.rb +15 -0
  97. data/lib/fluent/engine.rb +266 -0
  98. data/lib/fluent/env.rb +28 -0
  99. data/lib/fluent/error.rb +30 -0
  100. data/lib/fluent/event.rb +334 -0
  101. data/lib/fluent/event_router.rb +269 -0
  102. data/lib/fluent/filter.rb +21 -0
  103. data/lib/fluent/formatter.rb +23 -0
  104. data/lib/fluent/input.rb +21 -0
  105. data/lib/fluent/label.rb +46 -0
  106. data/lib/fluent/load.rb +35 -0
  107. data/lib/fluent/log.rb +546 -0
  108. data/lib/fluent/match.rb +178 -0
  109. data/lib/fluent/mixin.rb +31 -0
  110. data/lib/fluent/msgpack_factory.rb +62 -0
  111. data/lib/fluent/output.rb +29 -0
  112. data/lib/fluent/output_chain.rb +23 -0
  113. data/lib/fluent/parser.rb +23 -0
  114. data/lib/fluent/plugin.rb +183 -0
  115. data/lib/fluent/plugin/bare_output.rb +63 -0
  116. data/lib/fluent/plugin/base.rb +165 -0
  117. data/lib/fluent/plugin/buf_file.rb +184 -0
  118. data/lib/fluent/plugin/buf_memory.rb +34 -0
  119. data/lib/fluent/plugin/buffer.rb +617 -0
  120. data/lib/fluent/plugin/buffer/chunk.rb +221 -0
  121. data/lib/fluent/plugin/buffer/file_chunk.rb +364 -0
  122. data/lib/fluent/plugin/buffer/memory_chunk.rb +90 -0
  123. data/lib/fluent/plugin/compressable.rb +92 -0
  124. data/lib/fluent/plugin/exec_util.rb +22 -0
  125. data/lib/fluent/plugin/file_util.rb +22 -0
  126. data/lib/fluent/plugin/file_wrapper.rb +120 -0
  127. data/lib/fluent/plugin/filter.rb +93 -0
  128. data/lib/fluent/plugin/filter_grep.rb +75 -0
  129. data/lib/fluent/plugin/filter_parser.rb +119 -0
  130. data/lib/fluent/plugin/filter_record_transformer.rb +322 -0
  131. data/lib/fluent/plugin/filter_stdout.rb +53 -0
  132. data/lib/fluent/plugin/formatter.rb +50 -0
  133. data/lib/fluent/plugin/formatter_csv.rb +52 -0
  134. data/lib/fluent/plugin/formatter_hash.rb +33 -0
  135. data/lib/fluent/plugin/formatter_json.rb +55 -0
  136. data/lib/fluent/plugin/formatter_ltsv.rb +42 -0
  137. data/lib/fluent/plugin/formatter_msgpack.rb +33 -0
  138. data/lib/fluent/plugin/formatter_out_file.rb +51 -0
  139. data/lib/fluent/plugin/formatter_single_value.rb +34 -0
  140. data/lib/fluent/plugin/formatter_stdout.rb +75 -0
  141. data/lib/fluent/plugin/formatter_tsv.rb +34 -0
  142. data/lib/fluent/plugin/in_debug_agent.rb +64 -0
  143. data/lib/fluent/plugin/in_dummy.rb +139 -0
  144. data/lib/fluent/plugin/in_exec.rb +108 -0
  145. data/lib/fluent/plugin/in_forward.rb +455 -0
  146. data/lib/fluent/plugin/in_gc_stat.rb +56 -0
  147. data/lib/fluent/plugin/in_http.rb +433 -0
  148. data/lib/fluent/plugin/in_monitor_agent.rb +448 -0
  149. data/lib/fluent/plugin/in_object_space.rb +93 -0
  150. data/lib/fluent/plugin/in_syslog.rb +209 -0
  151. data/lib/fluent/plugin/in_tail.rb +905 -0
  152. data/lib/fluent/plugin/in_tcp.rb +85 -0
  153. data/lib/fluent/plugin/in_udp.rb +81 -0
  154. data/lib/fluent/plugin/in_unix.rb +201 -0
  155. data/lib/fluent/plugin/input.rb +37 -0
  156. data/lib/fluent/plugin/multi_output.rb +157 -0
  157. data/lib/fluent/plugin/out_copy.rb +46 -0
  158. data/lib/fluent/plugin/out_exec.rb +105 -0
  159. data/lib/fluent/plugin/out_exec_filter.rb +317 -0
  160. data/lib/fluent/plugin/out_file.rb +302 -0
  161. data/lib/fluent/plugin/out_forward.rb +912 -0
  162. data/lib/fluent/plugin/out_null.rb +74 -0
  163. data/lib/fluent/plugin/out_relabel.rb +32 -0
  164. data/lib/fluent/plugin/out_roundrobin.rb +84 -0
  165. data/lib/fluent/plugin/out_secondary_file.rb +133 -0
  166. data/lib/fluent/plugin/out_stdout.rb +75 -0
  167. data/lib/fluent/plugin/out_stream.rb +130 -0
  168. data/lib/fluent/plugin/output.rb +1291 -0
  169. data/lib/fluent/plugin/owned_by_mixin.rb +42 -0
  170. data/lib/fluent/plugin/parser.rb +191 -0
  171. data/lib/fluent/plugin/parser_apache.rb +28 -0
  172. data/lib/fluent/plugin/parser_apache2.rb +84 -0
  173. data/lib/fluent/plugin/parser_apache_error.rb +26 -0
  174. data/lib/fluent/plugin/parser_csv.rb +39 -0
  175. data/lib/fluent/plugin/parser_json.rb +81 -0
  176. data/lib/fluent/plugin/parser_ltsv.rb +42 -0
  177. data/lib/fluent/plugin/parser_msgpack.rb +50 -0
  178. data/lib/fluent/plugin/parser_multiline.rb +105 -0
  179. data/lib/fluent/plugin/parser_nginx.rb +28 -0
  180. data/lib/fluent/plugin/parser_none.rb +36 -0
  181. data/lib/fluent/plugin/parser_regexp.rb +63 -0
  182. data/lib/fluent/plugin/parser_syslog.rb +121 -0
  183. data/lib/fluent/plugin/parser_tsv.rb +42 -0
  184. data/lib/fluent/plugin/socket_util.rb +22 -0
  185. data/lib/fluent/plugin/storage.rb +84 -0
  186. data/lib/fluent/plugin/storage_local.rb +159 -0
  187. data/lib/fluent/plugin/string_util.rb +22 -0
  188. data/lib/fluent/plugin_helper.rb +70 -0
  189. data/lib/fluent/plugin_helper/cert_option.rb +159 -0
  190. data/lib/fluent/plugin_helper/child_process.rb +364 -0
  191. data/lib/fluent/plugin_helper/compat_parameters.rb +331 -0
  192. data/lib/fluent/plugin_helper/event_emitter.rb +93 -0
  193. data/lib/fluent/plugin_helper/event_loop.rb +161 -0
  194. data/lib/fluent/plugin_helper/extract.rb +104 -0
  195. data/lib/fluent/plugin_helper/formatter.rb +147 -0
  196. data/lib/fluent/plugin_helper/inject.rb +151 -0
  197. data/lib/fluent/plugin_helper/parser.rb +147 -0
  198. data/lib/fluent/plugin_helper/retry_state.rb +201 -0
  199. data/lib/fluent/plugin_helper/server.rb +738 -0
  200. data/lib/fluent/plugin_helper/socket.rb +241 -0
  201. data/lib/fluent/plugin_helper/socket_option.rb +69 -0
  202. data/lib/fluent/plugin_helper/storage.rb +349 -0
  203. data/lib/fluent/plugin_helper/thread.rb +179 -0
  204. data/lib/fluent/plugin_helper/timer.rb +91 -0
  205. data/lib/fluent/plugin_id.rb +80 -0
  206. data/lib/fluent/process.rb +22 -0
  207. data/lib/fluent/registry.rb +116 -0
  208. data/lib/fluent/root_agent.rb +323 -0
  209. data/lib/fluent/rpc.rb +94 -0
  210. data/lib/fluent/supervisor.rb +741 -0
  211. data/lib/fluent/system_config.rb +159 -0
  212. data/lib/fluent/test.rb +58 -0
  213. data/lib/fluent/test/base.rb +78 -0
  214. data/lib/fluent/test/driver/base.rb +224 -0
  215. data/lib/fluent/test/driver/base_owned.rb +70 -0
  216. data/lib/fluent/test/driver/base_owner.rb +135 -0
  217. data/lib/fluent/test/driver/event_feeder.rb +98 -0
  218. data/lib/fluent/test/driver/filter.rb +57 -0
  219. data/lib/fluent/test/driver/formatter.rb +30 -0
  220. data/lib/fluent/test/driver/input.rb +31 -0
  221. data/lib/fluent/test/driver/multi_output.rb +53 -0
  222. data/lib/fluent/test/driver/output.rb +102 -0
  223. data/lib/fluent/test/driver/parser.rb +30 -0
  224. data/lib/fluent/test/driver/test_event_router.rb +45 -0
  225. data/lib/fluent/test/filter_test.rb +77 -0
  226. data/lib/fluent/test/formatter_test.rb +65 -0
  227. data/lib/fluent/test/helpers.rb +134 -0
  228. data/lib/fluent/test/input_test.rb +174 -0
  229. data/lib/fluent/test/log.rb +79 -0
  230. data/lib/fluent/test/output_test.rb +156 -0
  231. data/lib/fluent/test/parser_test.rb +70 -0
  232. data/lib/fluent/test/startup_shutdown.rb +46 -0
  233. data/lib/fluent/time.rb +412 -0
  234. data/lib/fluent/timezone.rb +133 -0
  235. data/lib/fluent/unique_id.rb +39 -0
  236. data/lib/fluent/version.rb +21 -0
  237. data/lib/fluent/winsvc.rb +71 -0
  238. data/templates/new_gem/Gemfile +3 -0
  239. data/templates/new_gem/README.md.erb +43 -0
  240. data/templates/new_gem/Rakefile +13 -0
  241. data/templates/new_gem/fluent-plugin.gemspec.erb +27 -0
  242. data/templates/new_gem/lib/fluent/plugin/filter.rb.erb +14 -0
  243. data/templates/new_gem/lib/fluent/plugin/formatter.rb.erb +14 -0
  244. data/templates/new_gem/lib/fluent/plugin/input.rb.erb +11 -0
  245. data/templates/new_gem/lib/fluent/plugin/output.rb.erb +11 -0
  246. data/templates/new_gem/lib/fluent/plugin/parser.rb.erb +15 -0
  247. data/templates/new_gem/test/helper.rb.erb +8 -0
  248. data/templates/new_gem/test/plugin/test_filter.rb.erb +18 -0
  249. data/templates/new_gem/test/plugin/test_formatter.rb.erb +18 -0
  250. data/templates/new_gem/test/plugin/test_input.rb.erb +18 -0
  251. data/templates/new_gem/test/plugin/test_output.rb.erb +18 -0
  252. data/templates/new_gem/test/plugin/test_parser.rb.erb +18 -0
  253. data/templates/plugin_config_formatter/param.md-compact.erb +25 -0
  254. data/templates/plugin_config_formatter/param.md.erb +34 -0
  255. data/templates/plugin_config_formatter/section.md.erb +12 -0
  256. data/test/command/test_binlog_reader.rb +346 -0
  257. data/test/command/test_fluentd.rb +618 -0
  258. data/test/command/test_plugin_config_formatter.rb +275 -0
  259. data/test/command/test_plugin_generator.rb +66 -0
  260. data/test/compat/test_calls_super.rb +166 -0
  261. data/test/compat/test_parser.rb +92 -0
  262. data/test/config/assertions.rb +42 -0
  263. data/test/config/test_config_parser.rb +513 -0
  264. data/test/config/test_configurable.rb +1587 -0
  265. data/test/config/test_configure_proxy.rb +566 -0
  266. data/test/config/test_dsl.rb +415 -0
  267. data/test/config/test_element.rb +403 -0
  268. data/test/config/test_literal_parser.rb +297 -0
  269. data/test/config/test_section.rb +184 -0
  270. data/test/config/test_system_config.rb +168 -0
  271. data/test/config/test_types.rb +191 -0
  272. data/test/helper.rb +153 -0
  273. data/test/plugin/data/2010/01/20100102-030405.log +0 -0
  274. data/test/plugin/data/2010/01/20100102-030406.log +0 -0
  275. data/test/plugin/data/2010/01/20100102.log +0 -0
  276. data/test/plugin/data/log/bar +0 -0
  277. data/test/plugin/data/log/foo/bar.log +0 -0
  278. data/test/plugin/data/log/foo/bar2 +0 -0
  279. data/test/plugin/data/log/test.log +0 -0
  280. data/test/plugin/test_bare_output.rb +118 -0
  281. data/test/plugin/test_base.rb +115 -0
  282. data/test/plugin/test_buf_file.rb +843 -0
  283. data/test/plugin/test_buf_memory.rb +42 -0
  284. data/test/plugin/test_buffer.rb +1220 -0
  285. data/test/plugin/test_buffer_chunk.rb +198 -0
  286. data/test/plugin/test_buffer_file_chunk.rb +844 -0
  287. data/test/plugin/test_buffer_memory_chunk.rb +338 -0
  288. data/test/plugin/test_compressable.rb +84 -0
  289. data/test/plugin/test_file_util.rb +96 -0
  290. data/test/plugin/test_filter.rb +357 -0
  291. data/test/plugin/test_filter_grep.rb +119 -0
  292. data/test/plugin/test_filter_parser.rb +700 -0
  293. data/test/plugin/test_filter_record_transformer.rb +556 -0
  294. data/test/plugin/test_filter_stdout.rb +202 -0
  295. data/test/plugin/test_formatter_csv.rb +111 -0
  296. data/test/plugin/test_formatter_hash.rb +35 -0
  297. data/test/plugin/test_formatter_json.rb +51 -0
  298. data/test/plugin/test_formatter_ltsv.rb +59 -0
  299. data/test/plugin/test_formatter_msgpack.rb +28 -0
  300. data/test/plugin/test_formatter_out_file.rb +95 -0
  301. data/test/plugin/test_formatter_single_value.rb +38 -0
  302. data/test/plugin/test_in_debug_agent.rb +28 -0
  303. data/test/plugin/test_in_dummy.rb +192 -0
  304. data/test/plugin/test_in_exec.rb +245 -0
  305. data/test/plugin/test_in_forward.rb +1120 -0
  306. data/test/plugin/test_in_gc_stat.rb +39 -0
  307. data/test/plugin/test_in_http.rb +588 -0
  308. data/test/plugin/test_in_monitor_agent.rb +516 -0
  309. data/test/plugin/test_in_object_space.rb +64 -0
  310. data/test/plugin/test_in_syslog.rb +271 -0
  311. data/test/plugin/test_in_tail.rb +1216 -0
  312. data/test/plugin/test_in_tcp.rb +118 -0
  313. data/test/plugin/test_in_udp.rb +152 -0
  314. data/test/plugin/test_in_unix.rb +126 -0
  315. data/test/plugin/test_input.rb +126 -0
  316. data/test/plugin/test_multi_output.rb +180 -0
  317. data/test/plugin/test_out_copy.rb +160 -0
  318. data/test/plugin/test_out_exec.rb +310 -0
  319. data/test/plugin/test_out_exec_filter.rb +613 -0
  320. data/test/plugin/test_out_file.rb +873 -0
  321. data/test/plugin/test_out_forward.rb +685 -0
  322. data/test/plugin/test_out_null.rb +105 -0
  323. data/test/plugin/test_out_relabel.rb +28 -0
  324. data/test/plugin/test_out_roundrobin.rb +146 -0
  325. data/test/plugin/test_out_secondary_file.rb +442 -0
  326. data/test/plugin/test_out_stdout.rb +170 -0
  327. data/test/plugin/test_out_stream.rb +93 -0
  328. data/test/plugin/test_output.rb +870 -0
  329. data/test/plugin/test_output_as_buffered.rb +1932 -0
  330. data/test/plugin/test_output_as_buffered_compress.rb +165 -0
  331. data/test/plugin/test_output_as_buffered_overflow.rb +250 -0
  332. data/test/plugin/test_output_as_buffered_retries.rb +839 -0
  333. data/test/plugin/test_output_as_buffered_secondary.rb +877 -0
  334. data/test/plugin/test_output_as_standard.rb +374 -0
  335. data/test/plugin/test_owned_by.rb +35 -0
  336. data/test/plugin/test_parser.rb +359 -0
  337. data/test/plugin/test_parser_apache.rb +42 -0
  338. data/test/plugin/test_parser_apache2.rb +46 -0
  339. data/test/plugin/test_parser_apache_error.rb +45 -0
  340. data/test/plugin/test_parser_csv.rb +103 -0
  341. data/test/plugin/test_parser_json.rb +114 -0
  342. data/test/plugin/test_parser_labeled_tsv.rb +128 -0
  343. data/test/plugin/test_parser_multiline.rb +100 -0
  344. data/test/plugin/test_parser_nginx.rb +48 -0
  345. data/test/plugin/test_parser_none.rb +52 -0
  346. data/test/plugin/test_parser_regexp.rb +281 -0
  347. data/test/plugin/test_parser_syslog.rb +242 -0
  348. data/test/plugin/test_parser_tsv.rb +122 -0
  349. data/test/plugin/test_storage.rb +167 -0
  350. data/test/plugin/test_storage_local.rb +335 -0
  351. data/test/plugin/test_string_util.rb +26 -0
  352. data/test/plugin_helper/test_child_process.rb +794 -0
  353. data/test/plugin_helper/test_compat_parameters.rb +331 -0
  354. data/test/plugin_helper/test_event_emitter.rb +51 -0
  355. data/test/plugin_helper/test_event_loop.rb +52 -0
  356. data/test/plugin_helper/test_extract.rb +194 -0
  357. data/test/plugin_helper/test_formatter.rb +255 -0
  358. data/test/plugin_helper/test_inject.rb +519 -0
  359. data/test/plugin_helper/test_parser.rb +264 -0
  360. data/test/plugin_helper/test_retry_state.rb +422 -0
  361. data/test/plugin_helper/test_server.rb +1677 -0
  362. data/test/plugin_helper/test_storage.rb +542 -0
  363. data/test/plugin_helper/test_thread.rb +164 -0
  364. data/test/plugin_helper/test_timer.rb +132 -0
  365. data/test/scripts/exec_script.rb +32 -0
  366. data/test/scripts/fluent/plugin/formatter1/formatter_test1.rb +7 -0
  367. data/test/scripts/fluent/plugin/formatter2/formatter_test2.rb +7 -0
  368. data/test/scripts/fluent/plugin/formatter_known.rb +8 -0
  369. data/test/scripts/fluent/plugin/out_test.rb +81 -0
  370. data/test/scripts/fluent/plugin/out_test2.rb +80 -0
  371. data/test/scripts/fluent/plugin/parser_known.rb +4 -0
  372. data/test/test_clock.rb +164 -0
  373. data/test/test_config.rb +179 -0
  374. data/test/test_configdsl.rb +148 -0
  375. data/test/test_event.rb +515 -0
  376. data/test/test_event_router.rb +331 -0
  377. data/test/test_event_time.rb +186 -0
  378. data/test/test_filter.rb +121 -0
  379. data/test/test_formatter.rb +312 -0
  380. data/test/test_input.rb +31 -0
  381. data/test/test_log.rb +828 -0
  382. data/test/test_match.rb +137 -0
  383. data/test/test_mixin.rb +351 -0
  384. data/test/test_output.rb +273 -0
  385. data/test/test_plugin.rb +251 -0
  386. data/test/test_plugin_classes.rb +253 -0
  387. data/test/test_plugin_helper.rb +81 -0
  388. data/test/test_plugin_id.rb +101 -0
  389. data/test/test_process.rb +14 -0
  390. data/test/test_root_agent.rb +611 -0
  391. data/test/test_supervisor.rb +373 -0
  392. data/test/test_test_drivers.rb +135 -0
  393. data/test/test_time_formatter.rb +282 -0
  394. data/test/test_time_parser.rb +211 -0
  395. data/test/test_unique_id.rb +47 -0
  396. metadata +898 -0
@@ -0,0 +1,6 @@
1
+ Check [CONTRIBUTING guideline](https://github.com/fluent/fluentd/blob/master/CONTRIBUTING.md) first and here is the list to help us investigate the problem.
2
+
3
+ - fluentd or td-agent version.
4
+ - Environment information, e.g. OS.
5
+ - Your configuration
6
+ - Your problem explanation. If you have an error logs, write it together.
data/.gitignore ADDED
@@ -0,0 +1,28 @@
1
+ Gemfile.lock
2
+ INSTALL
3
+ NEWS
4
+ Makefile
5
+ Makefile.in
6
+ README
7
+ ac
8
+ aclocal.m4
9
+ autom4te.cache
10
+ confdefs.h
11
+ config.log
12
+ config.status
13
+ configure
14
+ deps/
15
+ fluent-cat
16
+ fluent-gem
17
+ fluentd
18
+ pkg/*
19
+ test/tmp/*
20
+ test/config/tmp/*
21
+ make_dist.sh
22
+ Gemfile.local
23
+ .ruby-version
24
+ *.swp
25
+ coverage/*
26
+ .vagrant/
27
+ cov-int/
28
+ cov-fluentd.tar.gz
data/.travis.yml ADDED
@@ -0,0 +1,51 @@
1
+ language: ruby
2
+ cache: bundler
3
+
4
+ # script: bundle exec rake test TESTOPTS=-v
5
+
6
+ # http://rubies.travis-ci.org/
7
+ # See here for osx_image -> OSX versions: https://docs.travis-ci.com/user/languages/objective-c
8
+ matrix:
9
+ include:
10
+ - rvm: 2.1.10
11
+ os: linux
12
+ - rvm: 2.2.6
13
+ os: linux
14
+ - rvm: 2.3.3
15
+ os: linux
16
+ - rvm: 2.4.0
17
+ os: linux
18
+ - rvm: ruby-head
19
+ os: linux
20
+ - rvm: 2.1.10
21
+ os: osx
22
+ osx_image: xcode8.2 # OSX 10.12
23
+ # - rvm: 2.2.6
24
+ # os: osx
25
+ # osx_image: xcode8.2 # OSX 10.12
26
+ # - rvm: 2.3.3
27
+ # os: osx
28
+ # osx_image: xcode8.2 # OSX 10.12
29
+ - rvm: 2.4.0
30
+ os: osx
31
+ osx_image: xcode8.2 # OSX 10.12
32
+ - rvm: ruby-head
33
+ os: osx
34
+ osx_image: xcode 8.2 # OSX 10.12
35
+ allow_failures:
36
+ - rvm: ruby-head
37
+
38
+ branches:
39
+ only:
40
+ - master
41
+ - v0.10
42
+ - v0.12
43
+ - v0.14
44
+
45
+ sudo: false
46
+ dist: trusty # for TLSv1.2 support
47
+
48
+ addons:
49
+ apt:
50
+ packages:
51
+ - libgmp3-dev
data/AUTHORS ADDED
@@ -0,0 +1,2 @@
1
+ FURUHASHI Sadayuki <frsyuki _at_ gmail.com>
2
+ NAKAGAWA Masahiro <repeatedly _at_ gmail.com>
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,42 @@
1
+ # Contributing to Fluentd
2
+
3
+ We'd love your contribution. Here are the guidelines!
4
+
5
+ ## Got a question or problem?
6
+
7
+ RESOURCES of [Official site](http://www.fluentd.org/) and [Fluentd documentation](http://docs.fluentd.org/) may help you.
8
+
9
+ If you have further questions about Fluentd and plugins, please direct these to [Mailing List](https://groups.google.com/forum/#!forum/fluentd).
10
+ Don't use Github issue for asking questions. Here are examples:
11
+
12
+ - I installed xxx plugin but it doesn't work. Why?
13
+ - Fluentd starts but logs are not sent to xxx. Am I wrong?
14
+ - I want to do xxx. How to realize it with plugins?
15
+
16
+ We may close such questions to keep clear repository for developers and users.
17
+ Github issue is mainly for submitting a bug report or feature request. See below.
18
+
19
+ If you can't judge your case is a bug or not, use mailing list or slack first.
20
+
21
+ ## Found a bug?
22
+
23
+ If you find a bug of Fluentd or a mistake in the documentation, you can help us by
24
+ submitting an issue to Fluentd. Even better you can submit a Pull Request with a fix.
25
+
26
+ * **Fluentd**: Use [fluentd](https://github.com/fluent/fluentd) repository.
27
+ * **Documentation**: Use [fluentd-docs](https://github.com/fluent/fluentd-docs) repository.
28
+
29
+ If you find a bug of 3rd party plugins, please submit an issue to each plugin repository.
30
+ And use [omnibus-td-agent](https://github.com/treasure-data/omnibus-td-agent) repository for td-agent releated issues.
31
+
32
+ ## Patch Guidelines
33
+
34
+ Here are some things that would increase a chance that your patch is accepted:
35
+
36
+ * Write tests.
37
+ * Run tests before send Pull Request by `bundle exec rake test`
38
+ * Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
39
+
40
+ There are some patches which are hard to write tests, e.g. process handling, concurrency issue or etc.
41
+ In such case, please don't hesitate to submit a Pull Request.
42
+ We can discuss how to manage a patch on Pull Request :)
data/COPYING ADDED
@@ -0,0 +1,14 @@
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
+
data/ChangeLog ADDED
@@ -0,0 +1,593 @@
1
+ # v0.14
2
+
3
+ ## Release v0.14.14 - 2017/03/23
4
+
5
+ ### New features / Enhancements
6
+
7
+ * in_http: Support 'application/msgpack` header
8
+ https://github.com/fluent/fluentd/pull/1498
9
+ * in_udp: Add message_length_limit parameter for parameter name consistency with in_syslog
10
+ https://github.com/fluent/fluentd/pull/1515
11
+ * in_monitor_agent: Start one HTTP server per worker on sequential port numbers
12
+ https://github.com/fluent/fluentd/pull/1493
13
+ * in_tail: Skip the refresh of watching list on startup
14
+ https://github.com/fluent/fluentd/pull/1487
15
+ * filter_parser: filter_parser: Add emit_invalid_record_to_error parameter
16
+ https://github.com/fluent/fluentd/pull/1494
17
+ * parser_syslog: Support RFC5424 syslog format
18
+ https://github.com/fluent/fluentd/pull/1492
19
+ * parser: Allow escape sequence in Apache access log
20
+ https://github.com/fluent/fluentd/pull/1479
21
+ * config: Add actual value in the placholder error message
22
+ https://github.com/fluent/fluentd/pull/1497
23
+ * log: Add Fluent::Log#<< to support some SDKs
24
+ https://github.com/fluent/fluentd/pull/1478
25
+
26
+ ### Bug fixes
27
+
28
+ * Fix cleanup resource
29
+ https://github.com/fluent/fluentd/pull/1483
30
+ * config: Set encoding forcefully to avoid UndefinedConversionError
31
+ https://github.com/fluent/fluentd/pull/1477
32
+ * Fix Input and Output deadlock when buffer is full during startup
33
+ https://github.com/fluent/fluentd/pull/1502
34
+ * config: Fix log_level handling in <system>
35
+ https://github.com/fluent/fluentd/pull/1501
36
+ * Fix typo in root agent error log
37
+ https://github.com/fluent/fluentd/pull/1491
38
+ * storage: Fix a bug storage_create cannot accept hash as `conf` keyword argument
39
+ https://github.com/fluent/fluentd/pull/1482
40
+
41
+ ## Release v0.14.13 - 2017/02/17
42
+
43
+ ### New features / Enhancements
44
+
45
+ * in_tail: Add 'limit_recently_modified' to limit watch files.
46
+ https://github.com/fluent/fluentd/pull/1474
47
+ * configuration: Improve 'flush_interval' handling for better message and backward compatibility
48
+ https://github.com/fluent/fluentd/pull/1442
49
+ * command: Add 'fluent-plugin-generate' command
50
+ https://github.com/fluent/fluentd/pull/1427
51
+ * output: Skip record when 'Output#format' returns nil
52
+ https://github.com/fluent/fluentd/pull/1469
53
+
54
+ ### Bug fixes
55
+
56
+ * output: Secondary calculation should consider 'retry_max_times'
57
+ https://github.com/fluent/fluentd/pull/1452
58
+ * Fix regression of deprecatd 'process' module
59
+ https://github.com/fluent/fluentd/pull/1443
60
+ * Fix missing parser_regex require
61
+ https://github.com/fluent/fluentd/issues/1458
62
+ https://github.com/fluent/fluentd/pull/1453
63
+ * Keep 'Fluent::BufferQueueLimitError' for exsting plugins
64
+ https://github.com/fluent/fluentd/pull/1456
65
+ * in_tail: Untracked files should be removed from watching list to avoid memory bloat
66
+ https://github.com/fluent/fluentd/pull/1467
67
+ * in_tail: directories should be skipped when the ** pattern is used
68
+ https://github.com/fluent/fluentd/pull/1464
69
+ * record_transformer: Revert "Use BasicObject for cleanroom" for `enable_ruby` regression.
70
+ https://github.com/fluent/fluentd/pull/1461
71
+ * buf_file: handle "Too many open files" error to keep buffer and metadata pair
72
+ https://github.com/fluent/fluentd/pull/1468
73
+
74
+ ## Release v0.14.12 - 2017/01/30
75
+
76
+ ### New features / Enhancements
77
+ * Support multi process workers by `workers` option
78
+ https://github.com/fluent/fluentd/pull/1386
79
+ * Support TLS transport security layer by server plugin helper, and forward input/output plugins
80
+ https://github.com/fluent/fluentd/pull/1423
81
+ * Update internal log event handling to route log events to `@FLUENT_LOG` label if configured, suppress log events in startup/shutdown in default
82
+ https://github.com/fluent/fluentd/pull/1405
83
+ * Rename buffer plugin chunk limit parameters for consistency
84
+ https://github.com/fluent/fluentd/pull/1412
85
+ * Encode string values from configuration files in UTF8
86
+ https://github.com/fluent/fluentd/pull/1411
87
+ * Reorder plugin load paths to load rubygem plugins earlier than built-in plugins to overwrite them
88
+ https://github.com/fluent/fluentd/pull/1410
89
+ * Clock API to control internal thread control
90
+ https://github.com/fluent/fluentd/pull/1425
91
+ * Validate `config_param` options to restrict unexpected specifications
92
+ https://github.com/fluent/fluentd/pull/1437
93
+ * formatter: Add `add_newline` option to get formatted lines without newlines
94
+ https://github.com/fluent/fluentd/pull/1420
95
+ * in_forward: Add `ignore_network_errors_at_startup` option for automated cluster deployment
96
+ https://github.com/fluent/fluentd/pull/1399
97
+ * in_forward: Close listening socket in #stop, not to accept new connection request in early stage of shutdown
98
+ https://github.com/fluent/fluentd/pull/1401
99
+ * out_forward: Ensure to pack values in `str` type of msgpack
100
+ https://github.com/fluent/fluentd/pull/1413
101
+ * in_tail: Add `emit_unmatched_lines` to capture lines which unmatch configured regular expressions
102
+ https://github.com/fluent/fluentd/pull/1421
103
+ * in_tail: Add `open_on_every_update` to read lines from files opened in exclusive mode on Windows platform
104
+ https://github.com/fluent/fluentd/pull/1409
105
+ * in_monitor_agent: Add `with_ivars` query parameter to get instance variables only for specified instance variables
106
+ https://github.com/fluent/fluentd/pull/1393
107
+ * storage_local: Generate file store path using `usage`, with `root_dir` configuration
108
+ https://github.com/fluent/fluentd/pull/1438
109
+ * Improve test stability
110
+ https://github.com/fluent/fluentd/pull/1426
111
+
112
+ ### Bug fixes
113
+ * Fix bug to ignore command line options: `--rpc-endpoint`, `--suppress-config-dump`, etc
114
+ https://github.com/fluent/fluentd/pull/1398
115
+ * Fix bug to block infinitely in shutdown when buffer is full and `overflow_action` is `block`
116
+ https://github.com/fluent/fluentd/pull/1396
117
+ * buf_file: Fix bug not to use `root_dir` even if configured correctly
118
+ https://github.com/fluent/fluentd/pull/1417
119
+ * filter_record_transformer: Fix to use BasicObject for clean room
120
+ https://github.com/fluent/fluentd/pull/1415
121
+ * filter_record_transformer: Fix bug that `remove_keys` doesn't work with `renew_time_key`
122
+ https://github.com/fluent/fluentd/pull/1433
123
+ * in_monitor_agent: Fix bug to crash with NoMethodError for some output plugins
124
+ https://github.com/fluent/fluentd/pull/1365
125
+
126
+ ## Release v0.14.11 - 2016/12/26
127
+
128
+ ### New features / Enhancements
129
+ * Add "root_dir" parameter in <system> directive to configure server root directory, used for buffer/storage paths
130
+ https://github.com/fluent/fluentd/pull/1374
131
+ * Fix not to restart Fluentd processes when unrecoverable errors occur
132
+ https://github.com/fluent/fluentd/pull/1359
133
+ * Show warnings in log when output flush operation takes longer time than threshold
134
+ https://github.com/fluent/fluentd/pull/1370
135
+ * formatter_csv: Raise configuration error when no field names are specified
136
+ https://github.com/fluent/fluentd/pull/1369
137
+ * in_syslog: Update implementation to use plugin helpers
138
+ https://github.com/fluent/fluentd/pull/1382
139
+ * in_forward: Add a configuration parameter "source_address_key"
140
+ https://github.com/fluent/fluentd/pull/1382
141
+ * in_monitor_agent: Add a parameter "include_retry" to get detail retry status
142
+ https://github.com/fluent/fluentd/pull/1387
143
+ * Add Ruby 2.4 into supported ruby versions
144
+
145
+ ### Bug fixes
146
+ * Fix to set process name of supervisor process
147
+ https://github.com/fluent/fluentd/pull/1380
148
+ * in_forward: Fix a bug not to handle "require_ack_response" correctly
149
+ https://github.com/fluent/fluentd/pull/1389
150
+
151
+
152
+ ## Release v0.14.10 - 2016/12/14
153
+
154
+ ### New features / Enhancement
155
+
156
+ * Add socket/server plugin helper to write TCP/UDP clients/servers as Fluentd plugin
157
+ https://github.com/fluent/fluentd/pull/1312
158
+ https://github.com/fluent/fluentd/pull/1350
159
+ https://github.com/fluent/fluentd/pull/1356
160
+ https://github.com/fluent/fluentd/pull/1362
161
+ * Fix to raise errors when injected hostname is also specified as chunk key
162
+ https://github.com/fluent/fluentd/pull/1357
163
+ * in_tail: Optimize to read lines from file
164
+ https://github.com/fluent/fluentd/pull/1325
165
+ * in_monitor_agent: Add new parameter "include_config"(default: true)
166
+ https://github.com/fluent/fluentd/pull/1317
167
+ * in_syslog: Add "priority_key" and "facility_key" options
168
+ https://github.com/fluent/fluentd/pull/1351
169
+ * filter_record_transformer: Remove obsoleted syntax like "${message}" and not to dump records in logs
170
+ https://github.com/fluent/fluentd/pull/1328
171
+ * Add an option "--time-as-integer" to fluent-cat command to send events from v0.14 fluent-cat to v0.12 fluentd
172
+ https://github.com/fluent/fluentd/pull/1349
173
+
174
+ ### Bug fixes
175
+
176
+ * Specify correct Oj options for newer versions (Oj 2.18.0 or later)
177
+ https://github.com/fluent/fluentd/pull/1331
178
+ * TimeSlice output plugins (in v0.12 style) raise errors when "utc" parameter is specified
179
+ https://github.com/fluent/fluentd/pull/1319
180
+ * Parser plugins cannot use options for regular expressions
181
+ https://github.com/fluent/fluentd/pull/1326
182
+ * Fix bugs not to raise errors to use logger in v0.12 plugins
183
+ https://github.com/fluent/fluentd/pull/1344
184
+ https://github.com/fluent/fluentd/pull/1332
185
+ * Fix bug about shutting down Fluentd in Windows
186
+ https://github.com/fluent/fluentd/pull/1367
187
+ * in_tail: Close files explicitly in tests
188
+ https://github.com/fluent/fluentd/pull/1327
189
+ * out_forward: Fix bug not to convert buffer configurations into v0.14 parameters
190
+ https://github.com/fluent/fluentd/pull/1337
191
+ * out_forward: Fix bug to raise error when "expire_dns_cache" is specified
192
+ https://github.com/fluent/fluentd/pull/1346
193
+ * out_file: Fix bug to raise error about buffer chunking when it's configured as secondary
194
+ https://github.com/fluent/fluentd/pull/1338
195
+
196
+ ## Release v0.14.9 - 2016/11/15
197
+
198
+ ### New features / Enhancement
199
+
200
+ * filter_parser: Port fluent-plugin-parser into built-in plugin
201
+ https://github.com/fluent/fluentd/pull/1191
202
+ * parser/formatter plugin helpers with default @type in plugin side
203
+ https://github.com/fluent/fluentd/pull/1267
204
+ * parser: Reconstruct Parser related classes
205
+ https://github.com/fluent/fluentd/pull/1286
206
+ * filter_record_transformer: Remove old behaviours
207
+ https://github.com/fluent/fluentd/pull/1311
208
+ * Migrate some built-in plugins into v0.14 API
209
+ https://github.com/fluent/fluentd/pull/1257 (out_file)
210
+ https://github.com/fluent/fluentd/pull/1297 (out_exec, out_exec_filter)
211
+ https://github.com/fluent/fluentd/pull/1306 (in_forward, out_forward)
212
+ https://github.com/fluent/fluentd/pull/1308 (in_http)
213
+ * test: Improve test drivers
214
+ https://github.com/fluent/fluentd/pull/1302
215
+ https://github.com/fluent/fluentd/pull/1305
216
+
217
+ ### Bug fixes
218
+
219
+ * log: Avoid name conflict between Fluent::Logger
220
+ https://github.com/fluent/fluentd/pull/1274
221
+ * fluent-cat: Fix fluent-cat command to send sub-second precision time
222
+ https://github.com/fluent/fluentd/pull/1277
223
+ * config: Fix a bug not to overwrite default value with nil
224
+ https://github.com/fluent/fluentd/pull/1296
225
+ * output: Fix timezone for compat timesliced output plugins
226
+ https://github.com/fluent/fluentd/pull/1307
227
+ * out_forward: fix not to raise error when out_forward is initialized as secondary
228
+ https://github.com/fluent/fluentd/pull/1313
229
+ * output: Event router for secondary output
230
+ https://github.com/fluent/fluentd/pull/1283
231
+ * test: fix to return the block value as expected by many rubyists
232
+ https://github.com/fluent/fluentd/pull/1284
233
+
234
+ ## Release v0.14.8 - 2016/10/13
235
+
236
+ ### Bug fixes
237
+
238
+ * Add msgpack_each to buffer chunks in compat-layer output plugins
239
+ https://github.com/fluent/fluentd/pull/1273
240
+
241
+ ## Release v0.14.7 - 2016/10/07
242
+
243
+ ### New features / Enhancement
244
+
245
+ * Support data compression in buffer plugins
246
+ https://github.com/fluent/fluentd/pull/1172
247
+ * in_forward: support to transfer compressed data
248
+ https://github.com/fluent/fluentd/pull/1179
249
+ * out_stdout: fix to show nanosecond resolution time
250
+ https://github.com/fluent/fluentd/pull/1249
251
+ * Add option to rotate Fluentd daemon's log
252
+ https://github.com/fluent/fluentd/pull/1235
253
+ * Add extract plugin helper, with symmetric time parameter support in parser/formatter and inject/extract
254
+ https://github.com/fluent/fluentd/pull/1207
255
+ * Add a feature to parse/format numeric time (unix time [+ subsecond value])
256
+ https://github.com/fluent/fluentd/pull/1254
257
+ * Raise configuration errors for inconsistent <label> configurations
258
+ https://github.com/fluent/fluentd/pull/1233
259
+ * Fix to instantiate an unconfigured section even for multi: true
260
+ https://github.com/fluent/fluentd/pull/1210
261
+ * Add validators of placeholders for buffering key extraction
262
+ https://github.com/fluent/fluentd/pull/1255
263
+ * Fix to show log messages about filter optimization only when needed
264
+ https://github.com/fluent/fluentd/pull/1227
265
+ * Add some features to write plugins more easily
266
+ https://github.com/fluent/fluentd/pull/1256
267
+ * Add a tool to load dumped events from file
268
+ https://github.com/fluent/fluentd/pull/1165
269
+
270
+ ### Bug fixes
271
+
272
+ * Fix Oj's default option to encode/decode JSON in the same way with Yajl
273
+ https://github.com/fluent/fluentd/pull/1147
274
+ https://github.com/fluent/fluentd/pull/1239
275
+ * Fix to raise correct configuration errors
276
+ https://github.com/fluent/fluentd/pull/1223
277
+ * Fix a bug to call `shutdown` method (and some others) twice
278
+ https://github.com/fluent/fluentd/pull/1242
279
+ * Fix to enable `chunk.each` only when it's encoded by msgpack
280
+ https://github.com/fluent/fluentd/pull/1263
281
+ * Fix a bug not to stop enqueue/flush threads correctly
282
+ https://github.com/fluent/fluentd/pull/1264
283
+ * out_forward: fix a bug that UDP heartbeat doesn't work
284
+ https://github.com/fluent/fluentd/pull/1238
285
+ * out_file: fix a crash bug when v0.14 enables symlink and resumes existing buffer file chunk generated by v0.12
286
+ https://github.com/fluent/fluentd/pull/1234
287
+ * in_monitor_agent: fix compatibility problem between outputs of v0.12 and v0.14
288
+ https://github.com/fluent/fluentd/pull/1232
289
+ * in_tail: fix a bug to crash to read large amount logs
290
+ https://github.com/fluent/fluentd/pull/1259
291
+ https://github.com/fluent/fluentd/pull/1261
292
+
293
+ ## Release v0.14.6 - 2016/09/07
294
+
295
+ ### Bug fixes
296
+
297
+ * in_tail: Add a missing parser_multiline require
298
+ https://github.com/fluent/fluentd/pull/1212
299
+ * forward: Mark secret parameters of forward plugins as secret
300
+ https://github.com/fluent/fluentd/pull/1209
301
+
302
+ ## Release v0.14.5 - 2016/09/06
303
+
304
+ ### New features / Enhancement
305
+
306
+ * Add authentication / authorization feature to forward protocol and in/out_forward plugins
307
+ https://github.com/fluent/fluentd/pull/1136
308
+ * Add a new plugin to dump buffers in retries as secondary plugin
309
+ https://github.com/fluent/fluentd/pull/1154
310
+ * Merge out_buffered_stdout and out_buffered_null into out_stdout and out_null
311
+ https://github.com/fluent/fluentd/pull/1200
312
+
313
+ ### Bug fixes
314
+
315
+ * Raise configuration errors to clearify what's wrong when "@type" is missing
316
+ https://github.com/fluent/fluentd/pull/1202
317
+ * Fix the bug not to launch Fluentd when v0.12 MultiOutput plugin is configured
318
+ https://github.com/fluent/fluentd/pull/1206
319
+
320
+ ## Release v0.14.4 - 2016/08/31
321
+
322
+ ### New features / Enhancement
323
+
324
+ * Add a method to Filter API to update time of events
325
+ https://github.com/fluent/fluentd/pull/1140
326
+ * Improve performance of filter pipeline
327
+ https://github.com/fluent/fluentd/pull/1145
328
+ * Fix to suppress not to warn about different plugins for primary and secondary without any problems
329
+ https://github.com/fluent/fluentd/pull/1153
330
+ * Add deprecated/obsoleted options to config_param to show removed/warned parameters
331
+ https://github.com/fluent/fluentd/pull/1186
332
+ * in_forward: Add a feature source_hostname_key to inject source hostname into records
333
+ https://github.com/fluent/fluentd/pull/807
334
+ * in_tail: Add a feature from_encoding to specify both encoding from and to
335
+ https://github.com/fluent/fluentd/pull/1067
336
+ * filter_record_transformer: Fix to prevent overwriting reserved placeholder keys
337
+ https://github.com/fluent/fluentd/pull/1176
338
+ * Migrate some build-in plugins into v0.14 API
339
+ https://github.com/fluent/fluentd/pull/1149
340
+ https://github.com/fluent/fluentd/pull/1151
341
+ * Update dependencies
342
+ https://github.com/fluent/fluentd/pull/1193
343
+
344
+ ### Bug fixes
345
+
346
+ * Fix to start/stop/restart Fluentd processes correctly on Windows environment
347
+ https://github.com/fluent/fluentd/pull/1171
348
+ https://github.com/fluent/fluentd/pull/1192
349
+ * Fix to handle Windows events correctly in winsvc.rb
350
+ https://github.com/fluent/fluentd/pull/1155
351
+ https://github.com/fluent/fluentd/pull/1170
352
+ * Fix not to continue to restart workers for configuration errors
353
+ https://github.com/fluent/fluentd/pull/1183
354
+ * Fix output threads to start enqueue/flush buffers until plugins' start method ends
355
+ https://github.com/fluent/fluentd/pull/1190
356
+ * Fix a bug not to set umask 0
357
+ https://github.com/fluent/fluentd/pull/1152
358
+ * Fix resource leak on one-shot timers
359
+ https://github.com/fluent/fluentd/pull/1178
360
+ * Fix to call plugin helper methods in configure
361
+ https://github.com/fluent/fluentd/pull/1184
362
+ * Fix a bug to count event size
363
+ https://github.com/fluent/fluentd/pull/1164/files
364
+ * Fix to require missed compat modules
365
+ https://github.com/fluent/fluentd/pull/1168
366
+ * Fix to start properly for plugins under MultiOutput
367
+ https://github.com/fluent/fluentd/pull/1167
368
+ * Fix test drivers to set class name into plugin instances
369
+ https://github.com/fluent/fluentd/pull/1069
370
+ * Fix tests not to use mocks for Time (improve test stabilization)
371
+ https://github.com/fluent/fluentd/pull/1194
372
+
373
+ ## Release 0.14.3 - 2016/08/30
374
+
375
+ * Fix the dependency for ServerEngine 1.x
376
+
377
+ ## Release 0.14.2 - 2016/08/09
378
+
379
+ ### New features / Enhancement
380
+
381
+ * Fix to split large event stream into some/many chunks in buffers
382
+ https://github.com/fluent/fluentd/pull/1062
383
+ * Add parser and filter support in compat_parameters plugin helper
384
+ https://github.com/fluent/fluentd/pull/1079
385
+ * Add a RPC call to flush buffers and stop workers
386
+ https://github.com/fluent/fluentd/pull/1134
387
+ * Update forward protocol to pass the number of events in a payload
388
+ https://github.com/fluent/fluentd/pull/1137
389
+ * Improve performance of some built-in formatter plugins
390
+ https://github.com/fluent/fluentd/pull/1082
391
+ https://github.com/fluent/fluentd/pull/1086
392
+ * Migrate some built-in plugins and plugin util modules into v0.14 API
393
+ https://github.com/fluent/fluentd/pull/1058
394
+ https://github.com/fluent/fluentd/pull/1061
395
+ https://github.com/fluent/fluentd/pull/1076
396
+ https://github.com/fluent/fluentd/pull/1078
397
+ https://github.com/fluent/fluentd/pull/1081
398
+ https://github.com/fluent/fluentd/pull/1083
399
+ https://github.com/fluent/fluentd/pull/1091
400
+ * Register RegExpParser as a parser plugin explicitly
401
+ https://github.com/fluent/fluentd/pull/1094
402
+ * Add delimiter option to CSV parser
403
+ https://github.com/fluent/fluentd/pull/1108
404
+ * Add an option to receive longer udp syslog messages
405
+ https://github.com/fluent/fluentd/pull/1127
406
+ * Add a option to suspend internal status in dummy plugin
407
+ https://github.com/fluent/fluentd/pull/900
408
+ * Add a feature to capture filtered records in test driver for Filter plugins
409
+ https://github.com/fluent/fluentd/pull/1077
410
+ * Add some utility methods to plugin test drivers
411
+ https://github.com/fluent/fluentd/pull/1114
412
+
413
+ ### Bug fixes
414
+
415
+ * Fix bug to read non buffer-chunk files as buffer chunks when Fluentd resumed
416
+ https://github.com/fluent/fluentd/pull/1124
417
+ * Fix bug not to load Filter plugins which are specified in configurations
418
+ https://github.com/fluent/fluentd/pull/1118
419
+ * Fix bug to ignore `-p` option to specify directories of plugins
420
+ https://github.com/fluent/fluentd/pull/1133
421
+ * Fix bug to overwrite base class configuration section definitions by subclasses
422
+ https://github.com/fluent/fluentd/pull/1119
423
+ * Fix to stop Fluentd worker process by Ctrl-C when --no-supervisor specified
424
+ https://github.com/fluent/fluentd/pull/1089
425
+ * Fix regression about RPC call to reload configuration
426
+ https://github.com/fluent/fluentd/pull/1093
427
+ * Specify to ensure Oj JSON parser to use strict mode
428
+ https://github.com/fluent/fluentd/pull/1147
429
+ * Fix unexisting path handling in Windows environment
430
+ https://github.com/fluent/fluentd/pull/1104
431
+
432
+ ## Release 0.14.1 - 2016/06/30
433
+
434
+ ### New features / Enhancement
435
+
436
+ * Add plugin helpers for parsers and formatters
437
+ https://github.com/fluent/fluentd/pull/1023
438
+ * Extract some mixins into compat modules
439
+ https://github.com/fluent/fluentd/pull/1044
440
+ https://github.com/fluent/fluentd/pull/1052
441
+ * Add utility methods for tests and test drivers
442
+ https://github.com/fluent/fluentd/pull/1047
443
+ * Migrate some built-in plugins to v0.14 APIs
444
+ https://github.com/fluent/fluentd/pull/1049
445
+ https://github.com/fluent/fluentd/pull/1057
446
+ https://github.com/fluent/fluentd/pull/1060
447
+ https://github.com/fluent/fluentd/pull/1064
448
+ * Add support of X-Forwarded-For header in in_http plugin
449
+ https://github.com/fluent/fluentd/pull/1051
450
+ * Warn not to create too many staged chunks at configure
451
+ https://github.com/fluent/fluentd/pull/1054
452
+ * Add a plugin helper to inject tag/time/hostname
453
+ https://github.com/fluent/fluentd/pull/1063
454
+
455
+ ### Bug fixes
456
+
457
+ * Fix in_monitor_agent for v0.14 plugins
458
+ https://github.com/fluent/fluentd/pull/1003
459
+ * Fix to call #format_stream of plugins themselves when RecordFilter mixin included
460
+ https://github.com/fluent/fluentd/pull/1005
461
+ * Fix shutdown sequence to wait force flush
462
+ https://github.com/fluent/fluentd/pull/1009
463
+ * Fix a deadlock bug in shutdown
464
+ https://github.com/fluent/fluentd/pull/1010
465
+ * Fix to require DetachProcessMixin in default for compat plugins
466
+ https://github.com/fluent/fluentd/pull/1014
467
+ * Fix to overwrite configure_proxy name only for root sections for debugging
468
+ https://github.com/fluent/fluentd/pull/1015
469
+ * Rename file for in_unix plugin
470
+ https://github.com/fluent/fluentd/pull/1017
471
+ * Fix a bug not to create pid file when daemonized
472
+ https://github.com/fluent/fluentd/pull/1021
473
+ * Fix wrong DEFAULT_PLUGIN_PATH
474
+ https://github.com/fluent/fluentd/pull/1028
475
+ * Fix a bug not to use primary plugin type for secondary in default
476
+ https://github.com/fluent/fluentd/pull/1032
477
+ * Add --run-worker option to distinguish to run as worker without supervisor
478
+ https://github.com/fluent/fluentd/pull/1033
479
+ * Fix regression of fluent-debug command
480
+ https://github.com/fluent/fluentd/pull/1046
481
+ * Update windows-pr dependency to 1.2.5
482
+ https://github.com/fluent/fluentd/pull/1065
483
+ * Fix supervisor to pass RUBYOPT to worker processes
484
+ https://github.com/fluent/fluentd/pull/1066
485
+
486
+ ## Release 0.14.0 - 2016/05/25
487
+
488
+ ### New features / Enhancement
489
+
490
+ This list includes changes of 0.14.0.pre.1 and release candidates.
491
+
492
+ * Update supported Ruby version to 2.1 or later
493
+ https://github.com/fluent/fluentd/pull/692
494
+ * Sub-second event time support
495
+ https://github.com/fluent/fluentd/pull/653
496
+ * Windows support and supervisor improvement
497
+ https://github.com/fluent/fluentd/pull/674
498
+ https://github.com/fluent/fluentd/pull/831
499
+ https://github.com/fluent/fluentd/pull/880
500
+ * Add New plugin API
501
+ https://github.com/fluent/fluentd/pull/800
502
+ https://github.com/fluent/fluentd/pull/843
503
+ https://github.com/fluent/fluentd/pull/866
504
+ https://github.com/fluent/fluentd/pull/905
505
+ https://github.com/fluent/fluentd/pull/906
506
+ https://github.com/fluent/fluentd/pull/917
507
+ https://github.com/fluent/fluentd/pull/928
508
+ https://github.com/fluent/fluentd/pull/943
509
+ https://github.com/fluent/fluentd/pull/964
510
+ https://github.com/fluent/fluentd/pull/965
511
+ https://github.com/fluent/fluentd/pull/972
512
+ https://github.com/fluent/fluentd/pull/983
513
+ * Add standard chunking format
514
+ https://github.com/fluent/fluentd/pull/914
515
+ * Add Compatibility layer for v0.12 plugins
516
+ https://github.com/fluent/fluentd/pull/912
517
+ https://github.com/fluent/fluentd/pull/969
518
+ https://github.com/fluent/fluentd/pull/974
519
+ https://github.com/fluent/fluentd/pull/992
520
+ https://github.com/fluent/fluentd/pull/999
521
+ * Add Plugin Storage API
522
+ https://github.com/fluent/fluentd/pull/864
523
+ https://github.com/fluent/fluentd/pull/910
524
+ * Enforce to use router.emit instead of Engine.emit
525
+ https://github.com/fluent/fluentd/pull/883
526
+ * log: Show plugin name and id in logs
527
+ https://github.com/fluent/fluentd/pull/860
528
+ * log: Dump configurations with v1 syntax in logs
529
+ https://github.com/fluent/fluentd/pull/867
530
+ * log: Dump errors with class in logs
531
+ https://github.com/fluent/fluentd/pull/899
532
+ * config: Add simplified syntax for configuration values of hash and array
533
+ https://github.com/fluent/fluentd/pull/875
534
+ * config: Add 'init' option to config_section to initialize section objects
535
+ https://github.com/fluent/fluentd/pull/877
536
+ * config: Support multiline string in quoted strings
537
+ https://github.com/fluent/fluentd/pull/929
538
+ * config: Add optional arguments on Element#elements to select child elements
539
+ https://github.com/fluent/fluentd/pull/948
540
+ * config: Show deprecated warnings for reserved parameters
541
+ https://github.com/fluent/fluentd/pull/971
542
+ * config: Make the detach process forward interval configurable
543
+ https://github.com/fluent/fluentd/pull/982
544
+ * in_tail: Add 'path_key' option to inject tailing path
545
+ https://github.com/fluent/fluentd/pull/951
546
+ * Remove in_status plugin
547
+ https://github.com/fluent/fluentd/pull/690
548
+
549
+ ### Bug fixes
550
+
551
+ * config: Enum list must be of symbols
552
+ https://github.com/fluent/fluentd/pull/821
553
+ * config: Fix to dup values in default
554
+ https://github.com/fluent/fluentd/pull/827
555
+ * config: Fix problems about overwriting subsections
556
+ https://github.com/fluent/fluentd/pull/844
557
+ https://github.com/fluent/fluentd/pull/981
558
+ * log: Serialize Fluent::EventTime as Integer in JSON
559
+ https://github.com/fluent/fluentd/pull/904
560
+ * out_forward: Add missing error class and tests for it
561
+ https://github.com/fluent/fluentd/pull/922
562
+
563
+ ### Internal fix / Refactoring
564
+
565
+ * Fix dependencies between files
566
+ https://github.com/fluent/fluentd/pull/799
567
+ https://github.com/fluent/fluentd/pull/808
568
+ https://github.com/fluent/fluentd/pull/823
569
+ https://github.com/fluent/fluentd/pull/824
570
+ https://github.com/fluent/fluentd/pull/825
571
+ https://github.com/fluent/fluentd/pull/826
572
+ https://github.com/fluent/fluentd/pull/828
573
+ https://github.com/fluent/fluentd/pull/859
574
+ https://github.com/fluent/fluentd/pull/892
575
+ * Separate PluginId from config
576
+ https://github.com/fluent/fluentd/pull/832
577
+ * Separate MessagePack factory from Engine
578
+ https://github.com/fluent/fluentd/pull/871
579
+ * Register plugins to registry
580
+ https://github.com/fluent/fluentd/pull/838
581
+ * Move TypeConverter mixin to mixin.rb
582
+ https://github.com/fluent/fluentd/pull/842
583
+ * Override default configurations by <system>
584
+ https://github.com/fluent/fluentd/pull/854
585
+ * Suppress Ruby level warnings
586
+ https://github.com/fluent/fluentd/pull/846
587
+ https://github.com/fluent/fluentd/pull/852
588
+ https://github.com/fluent/fluentd/pull/890
589
+ https://github.com/fluent/fluentd/pull/946
590
+ https://github.com/fluent/fluentd/pull/955
591
+ https://github.com/fluent/fluentd/pull/966
592
+
593
+ See https://github.com/fluent/fluentd/blob/v0.12/ChangeLog for v0.12 changelog