Pipe input plugin for a remote logfile


#1

Hi,
I have to collect logs from a remote AIX server without permission to install a remote logstash
So, is it correct to use the following command in the pipe input plugin ?
command => "ssh myuser@rs6000 -c 'tail -f /var/log/log-to-inspect.log'"

at 00:00, there is a log rotation on the AIX server and I am afraid that yhat my script is out oht cope. How to deal with it ?
thanks for your tips


(Magnus B├Ąck) #2

Yeah, log rotations are going to be a problem. Also, what if the SSH connection is broken?


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.