app

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(b *beat.Beat, cfg *common.Config) (beat.Beater, error)

New creates beater

Types

type Carbonbeat

type Carbonbeat struct {
	// contains filtered or unexported fields
}

Carbonbeat is the parent that provides fields for the methods

func (*Carbonbeat) FetchAndSendAPIEvents

func (bt *Carbonbeat) FetchAndSendAPIEvents() error

FetchAndSendAPIEvents fetches the carbonblack audit log events, marshalls them into a map and sends them to the configured output

func (*Carbonbeat) FetchAndSendSIEMEvents

func (bt *Carbonbeat) FetchAndSendSIEMEvents() error

FetchAndSendSIEMEvents fetches the carbonblack events from the SIEM key, marshalls them into a map and sends them to the configured output

func (*Carbonbeat) Run

func (bt *Carbonbeat) Run(b *beat.Beat) error

Run starts the beater daemon

func (*Carbonbeat) Stop

func (bt *Carbonbeat) Stop()

Stop gets called when libbeat gets a SIGTERM. It sends a message in a channel to stop the worker.

Jump to

Keyboard shortcuts

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