ERROR [publisher_pipeline_output] pipeline/output.go:154 Failed to connect to backoff(async(tcp://public.ip:5601)): dial tcp public ip:5601: i/o timeout

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
opensearch-2.11.1-linux-x64.deb

Describe the issue:
I have installed OpeSearch-2.11.1 in AWS Ubuntu server and trying to send log from same server using Filebeat( filebeat-8.11.3-linux-x86_64) but when I run below command

./filebeat -e -c /etc/filebeat/filebeat.yml

Got this error :“ERROR [publisher_pipeline_output] pipeline/output.go:154 Failed to connect to backoff(async(tcp://public.ip:5601)): dial tcp public ip:5601: i/o timeout”

Help me fix this issue.

Configuration:

Relevant Logs or Screenshots:

ERROR [publisher_pipeline_output] pipeline/output.go:154 Failed to connect to backoff(async(tcp://public.ip:5601)): dial tcp public ip:5601: i/o timeout

Can you show your config file filebeat.yml? Seems you are accessing the endpoint of OpenSearch-Dashboards but with tcp protocol. In addition, the version 8.11.3 of filebeat is not compatible with OpenSearch, you can use the older version like 7.12.0, this documentation shows the compatibility:Tools - OpenSearch documentation

1 Like

Hi Gaobinlong,
Thank You.
PFB details of filebeat.yml file.
##################### Filebeat Configuration Example #########################

This file is an example configuration file highlighting only the most common

options. The filebeat.reference.yml file from the same directory contains all the

supported options with more comments. You can use it as a reference.