How to send the tomcat logs to remote server using rsyslog ?

Solution Verified - Updated -

Issue

How to to store all the logs from tomcat to the rsyslog server using the port 514?

Environment

  • Apache Tomcat 7,8,9
  • Red Hat Enterprise Linux (RHEL),8,9
  • Red Hat JBoss Web Server (JWS) 5.x

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