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
- dev ---> nginx.log, web.log
- 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!