What is the protocol filebeats use to transfer log file to logstash? Is it http! and If it is not then is there anyway we can do it via http ?
2.Currently I have logstash and filebeat in different servers and I don't want to keep TCP Ip channel open for file transfer due to security . Is there any other way to achieve this ?
Beats talk to logstash over a TCP protocol. It cannot use http.
The way to secure this is to use certificates so that beats can only connect to authenticated logstash servers and the logstash server only accept connection from authenticated beats. The documentation for the beats logstash output and the documentation for the logstash beats input has the details.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.