Article 5J5V7 rsyslog forwarding new messages only

rsyslog forwarding new messages only

by
saeeddeep
from LinuxQuestions.org on (#5J5V7)
hello

Configuring rsyslog on Centos 7 to forward logs to a centralized syslog server.

rsyslog forwards new log lines fine as expected. But the old existing lines in /var/log/messages are not forwarded. I see this is the normal behavior, only new lines will be forwarded.

Any way I can forward all existing lines from /var/log/messages ?latest?d=yIl2AUoC8zA latest?i=vbKRRIlKQ38:1deonhjCBYg:F7zBnMy latest?i=vbKRRIlKQ38:1deonhjCBYg:V_sGLiP latest?d=qj6IDK7rITs latest?i=vbKRRIlKQ38:1deonhjCBYg:gIN9vFwvbKRRIlKQ38
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments