Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter type for splunk
type Options ¶
type Options struct { // Host is the hostname and port of the splunk instance Host string `yaml:"host" validate:"required"` Port int `yaml:"port" validate:"gte=0,lte=65535"` // SSL (optional) enables ssl for splunk connection SSL bool `yaml:"ssl"` // SSLVerification (optional) disables SSL verification for splunk SSLVerification bool `yaml:"ssl-verification"` // Token for HEC instance Token string `yaml:"token" validate:"required"` IndexName string `yaml:"index-name" validate:"required"` HttpClient *retryablehttp.Client `yaml:"-"` }
Options contains necessary options required for splunk communication
Click to show internal directories.
Click to hide internal directories.