Fluentd not connected to elasticsearch

I have installed td-agent rpm on linux and trying to connect to elastic search. but however when i am starting td-agent, it is not getting connected to elasticsearch. Elastic Search service is up and running.

Error on log
2020-08-21 11:44:09 +0530 [info]: starting fluentd-1.11.1 pid=4504 ruby="2.4.10"
2020-08-21 11:44:09 +0530 [info]: spawn command to main: cmdline=["/opt/td-agent/embedded/bin/ruby", "-Eascii-8bit:ascii-8bit", "/opt/td-agent/embedded/bin/fluentd", "--log", "/var/log/td-agent/td-agent.log", "--daemon", "/var/run/td-agent/td-agent.pid", "--under-supervisor"]
2020-08-21 11:44:09 +0530 [info]: adding match pattern="log" type="elasticsearch"
2020-08-21 11:44:09 +0530 [debug]: #0 'host 127.17.106.30' is tested built-in placeholder(s) but there is no valid placeholder(s). error: Parameter 'host: 127.17.106.30' doesn't have tag placeholder
2020-08-21 11:44:09 +0530 [debug]: #0 Need substitution: true
2020-08-21 11:44:09 +0530 [debug]: #0 'host_placeholder 127.17.106.30' is tested built-in placeholder(s) but there is no valid placeholder(s). error: Parameter 'host_placeholder: 127.17.106.30' doesn't have tag placeholder
2020-08-21 11:44:11 +0530 [warn]: #0 Could not communicate to Elasticsearch, resetting connection and trying again. Connection refused - connect(2) for 127.17.106.30:9200 (Errno::ECONNREFUSED)
2020-08-21 11:44:11 +0530 [warn]: #0 Remaining retry: 14. Retry to communicate after 2 second(s).

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.