Two virtual machines produce logs. I want these logs to be sent to a central server for processing (as soon as a line of these logs is generated-->streaming ). The condition here is that I want the server to know from which virtual machine the log line came from. In the server, we should observe a file containing something like:

action 1 happended in VM1 action 2 happended in VM1 action 1 happended in VM2 action 3 happended in VM1 action 2 happended in VM2

Question: How can such a thing be implemented in an efficient way? How can streaming to a central server be done? I hope the question is clear..

  • What tools do you have? bash? java? node.js? This may be done in a myriad ways, so please narrow your question down.
    – mkalkov
    Nov 24, 2014 at 19:13
  • I feel like this should go to serverfault.
    – Andy
    Nov 24, 2014 at 20:48


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.