Try $template msgonly,"%msg%\n" *.* /path/to/testfile;msgonly
If it works depends on what you actually mean with "just the message". rainer > -----Original Message----- > From: [email protected] [mailto:rsyslog- > [email protected]] On Behalf Of Martinez, Carlos R > Sent: Friday, March 09, 2012 2:07 AM > To: [email protected] > Subject: [rsyslog] rsyslog | how to remove syslog header.... > > I'm a very new rsyslog server user and I'm looking for a way to strip > the header information of incoming syslog messages and only log just > the message. > > It looks like I'll have to create a template of some sort. > > Thanks in advance! > > > Carlos R. Martinez > Charles Schwab & Co., Inc. > Technology Infrastructure Services > Distributed Services - Distributed Business Integration > > onsite: 602.977.8572 > email: > [email protected]<mailto:[email protected]> > > Charles Schwab | T E C H N O L O G Y I N N O V A T I O N > WARNING: All email sent to or from the Charles Schwab corporate email > system is subject to archiving, monitoring and/or review by Schwab > personnel. > > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/

