I'm trying to run Logstalgia, I think it's pretty awesome, and want to try it out. For security reasons I've disabled root login from my servers. My current user doesn't have access to the log files and I'd like to keep it that way.
Is there a way to execute a command similar to this:
ssh -i myKey myName@192.168.1.2 tail -f /var/log/apache2/my.log | logstalgia --sync
But sudo after it logs in, but before executing the tail?