Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdLineArgs ¶
type Packetbeat ¶
type Packetbeat struct { PbConfig config.Config CmdLineArgs CmdLineArgs Pub *publish.PacketbeatPublisher Sniff *sniffer.SnifferSetup // contains filtered or unexported fields }
Beater object. Contains all objects needed to run the beat
func New ¶
func New() *Packetbeat
func (*Packetbeat) Config ¶
func (pb *Packetbeat) Config(b *beat.Beat) error
Loads the beat specific config and overwrites params based on cmd line
func (*Packetbeat) HandleFlags ¶
func (pb *Packetbeat) HandleFlags(b *beat.Beat) error
Handle custom command line flags
Click to show internal directories.
Click to hide internal directories.