user266003
user266003

Reputation:

Logs and ELK stack on separate servers, how to display the logs?

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?

Upvotes: 4

Views: 1794

Answers (2)

baudsp
baudsp

Reputation: 4100

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

Upvotes: 0

Jettro Coenradie
Jettro Coenradie

Reputation: 4733

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

Upvotes: 2

Related Questions