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?
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.