Questions:
- Do TCP inputs manage harvesters (i.e. do you send a file path to the TCP input and then a harvester starts ingesting that file)?
- Can TCP inputs accept structured data (like the
json
configuration option on thelog
input)? - Does the TCP input expect the data sent over the TCP connection to be in a specific format?
From the filebeat documentation (https://www.elastic.co/guide/en/beats/filebeat/current/how-filebeat-works.html#input):
What is an input? An input is responsible for managing the harvesters and finding all sources to read from.
The documentation is very unclear on how to use TCP inputs and what format of data these TCP inputs expect (https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-tcp.html). I ended up reading the source code for the TCP input, but it is still unclear to me how to use TCP inputs.