0

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?

btown
  • 1

1 Answers1

0

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

Nikolaidis Fotis
  • 2,032
  • 11
  • 13