We are trying to forward syslog from network devices to a rsyslog ( Centos 7.9 ) and it seems to be writing it all in /var/log/messages.

Is there a way to write this into another custom file?

  • 1
    Yes of course. Have you looked at any of the rsyslog documentation and tutorials?
    – roaima
    Jun 24 at 6:04


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.