Class: Fluentd::Setting::InHttp

Inherits:
Object
  • Object
show all
Includes:
Plugin
Defined in:
app/models/fluentd/setting/in_http.rb

Class Method Summary collapse

Instance Method Summary collapse

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

#initialize

Methods included from PluginConfig

#config_element, #parse_attributes, #skip?, #to_config, #validate_configuration

Class Method Details

.initial_paramsObject



8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'app/models/fluentd/setting/in_http.rb', line 8

def self.initial_params
  {
    bind: "0.0.0.0",
    port: 8888,
    body_size_limit: "32m",
    keepalive_timeout: "10s",
    add_http_headers: false,
    parse_type: "in_http",
    parse: {
      "0" => {
        "type" => "in_http"
      }
    }
  }
end

Instance Method Details

#common_optionsObject



24
25
26
27
28
# File 'app/models/fluentd/setting/in_http.rb', line 24

def common_options
  [
    :label, :bind, :port, :add_http_headers, :add_remote_addr
  ]
end

#hidden_optionsObject



30
31
32
33
34
35
36
# File 'app/models/fluentd/setting/in_http.rb', line 30

def hidden_options
  [
    :parse,
    :backlog,
    :blocking_timeout,
  ]
end