Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Socketstat ¶
type Socketstat struct { SocketProto []string `toml:"protocols"` Timeout config.Duration `toml:"timeout"` Log telegraf.Logger `toml:"-"` // contains filtered or unexported fields }
Socketstat is a telegraf plugin to gather indicators from established connections, using iproute2's `ss` command.
func (*Socketstat) Description ¶
func (ss *Socketstat) Description() string
Description returns a short description of the plugin
func (*Socketstat) Gather ¶
func (ss *Socketstat) Gather(acc telegraf.Accumulator) error
Gather gathers indicators from established connections
func (*Socketstat) Init ¶
func (ss *Socketstat) Init() error
func (*Socketstat) SampleConfig ¶
func (ss *Socketstat) SampleConfig() string
SampleConfig returns sample configuration options
Click to show internal directories.
Click to hide internal directories.