Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultSchedule string = "@every 1m" DefaultTimeout time.Duration = 60 * time.Second DefaultDocumentType string = "httpbeat" DefaultOutputFormat string = "string" DefaultJsonDotModeCharacter string = "_" )
Defaults for config variables which are not set
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigSettings ¶
type ConfigSettings struct {
Httpbeat HttpbeatConfig
}
type HostConfig ¶
type HostConfig struct { Schedule string Url string BasicAuth BasicAuthenticationConfig `config:"basic_auth"` Method string Body string Headers map[string]string ProxyUrl string `config:"proxy_url"` Timeout *int64 DocumentType string `config:"document_type"` Fields map[string]string `config:"fields"` SSL *outputs.TLSConfig OutputFormat string `config:"output_format"` JsonDotMode string `config:"json_dot_mode"` JsonDotModeCharacter string `config:"json_dot_mode_character"` }
type HttpbeatConfig ¶
type HttpbeatConfig struct {
Hosts []HostConfig
}
Click to show internal directories.
Click to hide internal directories.