Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultCron string = "@every 1m" DefaultTimeout time.Duration = 60 * time.Second DefaultDocumentType string = "httpbeat" )
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 HttpEvent ¶
type Httpbeat ¶
type Httpbeat struct { HbConfig ConfigSettings // contains filtered or unexported fields }
type HttpbeatConfig ¶
type HttpbeatConfig struct {
Urls []UrlConfig
}
type Poller ¶
type Poller struct {
// contains filtered or unexported fields
}
func (*Poller) GetResponseHeader ¶
type UrlConfig ¶
type UrlConfig struct { Cron string Url string BasicAuth BasicAuthenticationConfig `yaml:"basic_auth"` Method string Body string Headers map[string]string ProxyUrl string `yaml:"proxy_url"` Timeout *int64 DocumentType string `yaml:"document_type"` Fields map[string]string `yaml:"fields"` TLS *outputs.TLSConfig JsonDotMode string `yaml:"json_dot_mode"` }
Click to show internal directories.
Click to hide internal directories.