Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I'm trying to send log from rsyslog to syslog-ng, the hostnames are getting shortened. Instead of, I only recieve inbound at the syslog-ng side even though I have FQDN option enabled at receiving side.

THe syslog-ng servers works perfectly when I use syslog to send the logs so there is some problem at the sending side.

How can I specifically specify in the template of rsyslog to write full hostnames?

I also did a post on ML and they said to add a custom template. I'm completely new to rsyslog and just started reading the doc so have no idea how to do so.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.