Documentation ¶
Index ¶
Constants ¶
View Source
const SPLUNK_HEC_FIELDS_SUPPORT_VERSION = "6.4"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParseConfig ¶ added in v1.3.0
type Splunk ¶
type Splunk struct { FirehoseDroppedEvents utils.Counter SplunkDroppedEvents utils.Counter // contains filtered or unexported fields }
func NewSplunk ¶
func NewSplunk(writers []eventwriter.Writer, config *SplunkConfig, parseConfig *ParseConfig, appCache cache.Cache) *Splunk
type SplunkConfig ¶
type SplunkConfig struct { FlushInterval time.Duration QueueSize int // consumer queue buffer size BatchSize int Retries int // No of retries to post events to HEC before dropping events Hostname string SubscriptionID string ExtraFields map[string]string TraceLogging bool UUID string Logger lager.Logger StatusMonitorInterval time.Duration LoggingIndex string RefreshSplunkConnection bool KeepAliveTimer time.Duration }
Click to show internal directories.
Click to hide internal directories.