lib/fluent/plugin/out_mqtt.rb in fluent-plugin-mqtt-io-0.3.7 vs lib/fluent/plugin/out_mqtt.rb in fluent-plugin-mqtt-io-0.3.8

- old
+ new

@@ -15,9 +15,16 @@ desc 'Topic rewrite matching pattern.' config_param :topic_rewrite_pattern, :string, default: nil desc 'Topic rewrite replacement string.' config_param :topic_rewrite_replacement, :string, default: nil + config_section :format do + desc 'The format to publish' + config_param :@type, :string, default: 'single_value' + desc 'Add newline' + config_param :add_newline, :bool, default: false + end + config_section :monitor, required: false, multi: false do desc 'Recording send time for monitoring.' config_param :send_time, :bool, default: false desc 'Recording key name of send time for monitoring.' config_param :send_time_key, :string, default: "send_time"