Documentation ¶
Index ¶
- func TCPServer(t *testing.T, wg *sync.WaitGroup, tlsConfig *tls.Config, errs chan error) string
- func TestWriteTCP(t *testing.T)
- func TestWriteTCPRetryStopping(t *testing.T)
- func TestWriteTCPServerDown(t *testing.T)
- func TestWriteTCPServerDownRetry(t *testing.T)
- func TestWriteTCPServerUnavailableOnWrite(t *testing.T)
- func TestWriteTCPServerUnavailableOnWriteRetry(t *testing.T)
- func TestWriteUDP(t *testing.T)
- func TestWriteUDPServerDown(t *testing.T)
- func TestWriteUDPServerDownRetry(t *testing.T)
- func TestWriteUDPServerUnavailableOnWrite(t *testing.T)
- func TestWriteUDPServerUnavailableOnWriteRetry(t *testing.T)
- func UDPServer(t *testing.T, wg *sync.WaitGroup, namefieldnoprefix bool) string
- type GelfObject
- type Graylog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestWriteTCP ¶ added in v1.24.3
func TestWriteTCPRetryStopping ¶ added in v1.25.0
func TestWriteTCPServerDown ¶ added in v1.25.0
func TestWriteTCPServerDownRetry ¶ added in v1.25.0
func TestWriteTCPServerUnavailableOnWrite ¶ added in v1.25.0
func TestWriteTCPServerUnavailableOnWriteRetry ¶ added in v1.25.0
func TestWriteUDP ¶ added in v1.24.3
func TestWriteUDPServerDown ¶ added in v1.25.0
func TestWriteUDPServerDownRetry ¶ added in v1.25.0
func TestWriteUDPServerUnavailableOnWrite ¶ added in v1.25.0
func TestWriteUDPServerUnavailableOnWriteRetry ¶ added in v1.25.0
Types ¶
type GelfObject ¶ added in v1.24.3
type GelfObject map[string]interface{}
type Graylog ¶
type Graylog struct { Servers []string `toml:"servers"` ShortMessageField string `toml:"short_message_field"` NameFieldNoPrefix bool `toml:"name_field_noprefix"` Timeout config.Duration `toml:"timeout"` Reconnection bool `toml:"connection_retry"` ReconnectionTime config.Duration `toml:"connection_retry_wait_time"` Log telegraf.Logger `toml:"-"` common_tls.ClientConfig sync.Mutex // contains filtered or unexported fields }
func (*Graylog) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.