How to manage FQDN hostname logging while using rsyslog in Red Hat Enterprise Linux 6?

Solution Unverified - Updated -

Issue

  • Need to forward different name other than the hostname of the server to the logs using rsyslog daemon.
  • Need to avoid FQDN(Fully Qualified Domain Name) in logs while using rsyslog package.

Environment

  • Red Hat Enterprise Linux 6.2
  • rsyslog-4.6.2-12.el6.x86_64

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