3
votes

I have logs on one server and ELK stack -- ElasticSearch, Kibana, Logstash -- on another. I want to display the logs, which are on the 1st server, in Kibana, which is on the 2nd one.

How can I do that? Is logstash capable of retrieving logs over the internet from a remote server?

2

2 Answers

1
votes

Your best bet is to use Filebeat on server one and send the logs to the logstash server.

https://www.elastic.co/products/beats/filebeat

0
votes

Logstash can't access remote file, you'll have to use a shipper, like beaver, using udp or tcp transport:
Beaver documentation.