Documentation ¶
Index ¶
Constants ¶
View Source
const ( Success ResultType = 0 Timeout = 1 Error = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSQuery ¶ added in v1.18.0
type DNSQuery struct { // Domains or subdomains to query Domains []string // Network protocol name Network string // Server to query Servers []string // Record type RecordType string `toml:"record_type"` // DNS server port number Port int // Dns query timeout in seconds. 0 means no timeout Timeout int }
func (*DNSQuery) Description ¶ added in v1.18.0
func (*DNSQuery) Gather ¶ added in v1.18.0
func (d *DNSQuery) Gather(acc telegraf.Accumulator) error
func (*DNSQuery) SampleConfig ¶ added in v1.18.0
type ResultType ¶
type ResultType uint64
Click to show internal directories.
Click to hide internal directories.