I have 20 linux servers on which some of the microservices are deployed and they keep genrating some logs on respective servers. All the servers are on same network and have connectivity between all of them. I have a windows machine which runs a log analytics program. So I want all my logs to be get synced and consolidated in the single file in real time on this windows machine. How can I do this?

  • 2
    I'd use rsyslog to aggregate all the logs on a linux machine and then mount that over NFS or Samba to the Windows machine. – NickD May 1 at 13:01

You could use Filebeat on your 20 Linux servers in combination with Logstash on your Windows machine.

  • Logstash is a data processing pipeline that lets you ingest any log file. It helps you to receive logs from multiple sources, transform them, and save them wherever you like. There are a lot of output plugins, maybe even one for the log analytics software in use on your Windows machine.

  • Filebeat, on the other hand, helps you to forward and centralize log files.

Both tools are built by Elastic and work great together.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.