0

I have an application on linux that puts randomly (truly randomly, not following any pattern) named log files in /opt/application/logs.

I need to read all these files with rsyslog and forward their content to a central rsyslog server.

The forwarding part is easy but how could I push these logs to the local rsyslog?

Zizzencs
  • 947
  • 1
  • 10
  • 22

1 Answers1

0

The solution was:

xtail /opt/application/logs |logger
Zizzencs
  • 947
  • 1
  • 10
  • 22