telegraf/plugins/inputs/tcp_listener
Cameron Sparr d71a42cd1b Implement telegraf collecting stats on itself
closes #1348
2016-12-05 18:56:54 +00:00
..
README.md README fixups for udp_listener, statsd inputs 2016-04-28 13:11:41 -06:00
tcp_listener.go Implement telegraf collecting stats on itself 2016-12-05 18:56:54 +00:00
tcp_listener_test.go tcp/udp listeners, remove locks & improve test coverage 2016-07-28 13:42:34 +01:00

README.md

TCP listener service input plugin

The TCP listener is a service input plugin that listens for messages on a TCP socket and adds those messages to InfluxDB. The plugin expects messages in the Telegraf Input Data Formats.

Configuration:

This is a sample configuration for the plugin.

# Generic TCP listener
[[inputs.tcp_listener]]
  ## Address and port to host TCP listener on
  service_address = ":8094"

  ## Number of TCP messages allowed to queue up. Once filled, the
  ## TCP listener will start dropping packets.
  allowed_pending_messages = 10000

  ## Maximum number of concurrent TCP connections to allow
  max_tcp_connections = 250

  ## Data format to consume.
  ## Each data format has it's own unique set of configuration options, read
  ## more about them here:
  ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
  data_format = "influx"