Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
Dispatcher dispatches logs to cloudwatch
func NewDispatcher ¶
func NewDispatcher(config *config.SyslogConfig) (*Dispatcher, error)
NewDispatcher create a new dispatcher
func (*Dispatcher) Dispatch ¶
func (d *Dispatcher) Dispatch(entries []*batching.LogEntry)
Dispatch handle entries and send them to cloudwatch
func (*Dispatcher) SetupCloudwatch ¶
func (d *Dispatcher) SetupCloudwatch() error
SetupCloudwatch create cloudwatch group and stream
Click to show internal directories.
Click to hide internal directories.