Best way to aggregate multiple log files from several servers [closed]

Probably the lightest-weight solution for real-time log watching is to use Dancer’s shell in concurrent mode with tail -f:

dsh -Mac -- tail -f /var/log/apache/*.log
  • The -a is for all machine names that you’ve defined in ~/.dsh/machines.list
  • The -c is for concurrent running of tail
  • The -M prepends the hostname to every line of output.

Leave a Comment