ERR Failed to publish events caused by: read tcp (filebeat Version: 5.5.1)

How can I check that ? should i run logstash in some debug mode ? if yes then how ?