Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

Ok, so i need syslog to log to a fifo with a specific template for the log in mind.

So I set my destination as follows...

destination d_pipe { pipe("/var/run/some_pipe.fifo"); };

This works fine and all of the logs come through nicely. However when I try to apply a template to it, I get nothing at all in the fifo.

destination d_pipe { pipe("/var/run/some_pipe.fifo" template("$HOST $SOURCEIP $MSG") template-escape(no));};

any ideas?

share|improve this question

did you try to change $MSG to $MESSAGE ? ;p

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.