Storing logs from different locations into a Central Machine


(Rishav Anand) #1

Hi, I am trying to store logs from different locations into a central machine.
I have different log files on different physical machines something like

  1. dev ---> nginx.log, web.log
  2. staging ---> nginx.log, web.log

I want to push the logs which are generated on dev, staging servers into the central machine.
central-machine:/var/log/dev/nginx.log
central-machine:/var/log/dev/web.log
central-machine:/var/log/staging/nginx.log
central-machine:/var/log/staging/web.log

Can someone help me is there a way to do this by using the logstash?

Thanks in advance!


(Staale) #2

Have you tried anything, or are you expecting someone to do your work for you?