title: Send data to logstash through a TCP socket
body: <p>I consider to use logstash.</p>
  
  <p>Assuming I have a Windows service that has to send data (strings) to logstash and then logstash should save it as an event.</p>
  
  <p>I'm wondering if my Windows service can send the data through TCP connection (a socket)? I'd prefer so since it provides more flexibility - this way logstash can be installed on a different host that could be Windows or Linux.</p>
  
  <p>Please advice. </p>
  
  <p>Thank you!</p>