How to send logs from client server to remote server on RHEL using rsyslog?

Solution Verified - Updated -

Issue

  • What configuration needs to be done in the servers to send logs on remote servers from a client-server?
  • How to forward logs to another server?
  • How do we forward different types of logs to multiple servers?
  • How to send logs to different servers using TCP or UDP port or both simultaneously?
  • How to send logs from RHEL 7 client to the RHEL 8 server?

Environment

  • Red Hat Enterprise Linux (RHEL) 8
  • Red Hat Enterprise Linux (RHEL) 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content