Class: Fluentd::Setting::OutForward
- Inherits:
-
Object
- Object
- Fluentd::Setting::OutForward
- Includes:
- Plugin
- Defined in:
- app/models/fluentd/setting/out_forward.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#common_options ⇒ Object
TODO overwrite this method to support transport parameter and transport section def self.permit_params super end.
- #hidden_options ⇒ Object
- #tls_options ⇒ Object
Methods included from PluginParameter
#advanced_options, #all_options, #column_type, #create_buffer, #create_formatter, #create_parser, #create_storage, #default, #desc, #have_buffer_section?, #have_format_section?, #have_parse_section?, #have_storage_section?, #list_of
Methods included from Configurable
Methods included from PluginConfig
#config_element, #parse_attributes, #skip?, #to_config, #validate_configuration
Class Method Details
.initial_params ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'app/models/fluentd/setting/out_forward.rb', line 12 def self.initial_params params = { buffer_type: "memory", buffer: { "0" => { "type" => "memory", } }, secondary: { "0" => { "type" => "file", } } } super.except(:transport).compact.deep_merge(params) end |
Instance Method Details
#common_options ⇒ Object
TODO overwrite this method to support transport parameter and transport section def self.permit_params
super
end
34 35 36 37 38 |
# File 'app/models/fluentd/setting/out_forward.rb', line 34 def [ :label, :pattern, :server, :secondary, ] end |
#hidden_options ⇒ Object
40 41 42 43 44 45 46 47 |
# File 'app/models/fluentd/setting/out_forward.rb', line 40 def [ :inject, :buffer, # Deprecated options :host, :port, :transport ].concat() # Hide TLS related options to customize view end |
#tls_options ⇒ Object
49 50 51 52 53 54 55 56 57 58 |
# File 'app/models/fluentd/setting/out_forward.rb', line 49 def [ :tls_version, :tls_ciphers, :tls_insecure_mode, :tls_allow_self_signed_cert, :tls_verify_hostname, :tls_cert_path ] end |