We have a cloud application running on EC2 instances. At present we are running 20 instances but in future it may go up to 50 instances. Each instance generates about 100 MB of logs per day. We want the logs from all these instances to be available at a central location. When a new instance is added to monitoring, a separate folder gets created on the central log server which will store the log files generated on this instance. Inside the instance's folder, log files are replicated exactly as it was on the instance where it is generated.
For ex:
On instance-1 say I have asked to monitor files /home/app/binary/*.log. Now when a file /home/app/binary/a.log is created/updated, the same file should be automatically created/updated to the central server folder instance-1/binary/a.log
On each instance we will monitor a lot of different log files including my application logs, 3rd party logs, system logs etc.
Please suggest a tool to handle this requirement.
Other required features are:
- I should be able to monitor directories and also use wildchars in path.
- Logs should be replicated to central server in near real time.
- The tool must ensure reliable delivery of logs.
- As I explained above, the central log server should store logs in files with the same folder-name/file-name as in source.
Edit: I would prefer a stable tool under active development with support available.