Hi Carlos,

I'm not sure what you understand by "header", but if you only want to
log the message you should do something like this:

$template message_only,"%msg%\n"
*.* /var/log/alllogs;message_only

Then you should see only the messages from all logs in /var/log/alllogs

Hope this helps.

Best regards,
Radu

2012/3/9 Martinez, Carlos R <[email protected]>:
> 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/

Reply via email to