splunk

package module
v0.0.0-...-6f76032 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const LogType = "splunk"

LogType is the type name for the splunk logger.

Variables

This section is empty.

Functions

func NewLoggerProducer

func NewLoggerProducer() options.LoggerProducer

SplunkLoggerProducer returns a LoggerProducer backed by SplunkLoggerOptions.

Types

type LoggerOptions

type LoggerOptions struct {
	Splunk splunk.ConnectionInfo `json:"splunk" bson:"splunk"`
	Base   options.BaseOptions   `json:"base" bson:"base"`
}

LoggerOptions packages the options for creating a splunk logger.

func (*LoggerOptions) Configure

func (opts *LoggerOptions) Configure() (send.Sender, error)

func (*LoggerOptions) Type

func (*LoggerOptions) Type() string

func (*LoggerOptions) Validate

func (opts *LoggerOptions) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL