Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleName = "beats"
ModuleName is the name used in config file
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InputConfig ¶
type InputConfig struct { config.InputConfig // The IP address to listen on, defaults to "0.0.0.0" Host string `json:"host"` // The port to listen on. Port int `json:"port"` // Here we enable SO_REUSEPORT, see more information: // https://github.com/libp2p/go-reuseport ReusePort bool `json:"reuseport"` // Enable ssl transport, defaults to false SSL bool `json:"ssl"` // SSL certificate to use. SSLCertificate string `json:"ssl_certificate"` // SSL key to use. SSLKey string `json:"ssl_key"` // SSL Verify, defaults to false SSLVerify bool `json:"ssl_verify"` // contains filtered or unexported fields }
InputConfig holds the configuration json fields and internal objects
func DefaultInputConfig ¶
func DefaultInputConfig() InputConfig
DefaultInputConfig returns an InputConfig struct with default values
Click to show internal directories.
Click to hide internal directories.