Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EnabledFilterPlugins map[filters.Filter]filters.FilterPlugin = map[filters.Filter]filters.FilterPlugin{ filters.NopFilter: new(nop.Nop), }
View Source
var EnabledProtocolPlugins map[protos.Protocol]protos.ProtocolPlugin = map[protos.Protocol]protos.ProtocolPlugin{ protos.HttpProtocol: new(http.HTTP), protos.MemcacheProtocol: new(memcache.Memcache), protos.MysqlProtocol: new(mysql.Mysql), protos.PgsqlProtocol: new(pgsql.Pgsql), protos.RedisProtocol: new(redis.Redis), protos.ThriftProtocol: new(thrift.Thrift), protos.MongodbProtocol: new(mongodb.Mongodb), protos.DnsProtocol: new(dns.Dns), }
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)
Handle custom command line flags
Click to show internal directories.
Click to hide internal directories.