TCP

Ship logs using TCP to Logstash

Follow the steps below to send your observability data to Logit.io

Logs

Install Integration

Please click on the Install Integration button to configure your stack for this source.

Send data to TCP input

We will start by adding some sample data to a file called sample.log:

echo "Message sent to Logit.io using TCP" >> sample.log

Then we will use openssl to send the data to Logit.io via TLS:

Get-Content sample.log | openssl s_client -connect @logstash.host:@logstash.sslPort

Launch Logs to View Your Data

Launch Logs

How to diagnose no data in Stack

If you don't see data appearing in your stack after following this integration, take a look at the troubleshooting guide for steps to diagnose and resolve the problem or contact our support team and we'll be happy to assist.