youtubebeat/vendor/github.com/elastic/beats/filebeat/docs/inputs/input-tcp.asciidoc

34 lines
633 B
Text
Raw Normal View History

2018-11-18 11:08:38 +01:00
:type: tcp
[id="{beatname_lc}-input-{type}"]
=== TCP input
++++
<titleabbrev>TCP</titleabbrev>
++++
Use the `TCP` input to read events over TCP.
Example configuration:
["source","yaml",subs="attributes"]
----
{beatname_lc}.inputs:
- type: tcp
max_message_size: 10MiB
host: "localhost:9000"
----
==== Configuration options
The `tcp` input supports the following configuration options plus the
<<{beatname_lc}-input-{type}-common-options>> described later.
include::../inputs/input-common-tcp-options.asciidoc[]
[id="{beatname_lc}-input-{type}-common-options"]
include::../inputs/input-common-options.asciidoc[]
:type!: