you can write logs in many formats. I would suggest that you log using the template RSYSLOG_DebugFormat as it will give you lots of info, including the raw message that rsyslog received.

David Lang

On Thu, 28 Jul 2022, Singh, Radesh wrote:

Date: Thu, 28 Jul 2022 20:57:50 +0000
From: "Singh, Radesh" <radesh_si...@csx.com>
To: David Lang <da...@lang.hm>,
    "Singh, Radesh via rsyslog" <rsyslog@lists.adiscon.com>
Subject: Re: [E] Re: [rsyslog] How to view messages


Hi David,

 

Really any message received by rsyslog, I’m wonder if there is a way to see a 
‘raw’ version of that message before it is written to disk.

 

Radesh

 

From: David Lang <da...@lang.hm>
Date: Thursday, July 28, 2022 at 3:15 PM
To: Singh, Radesh via rsyslog <rsyslog@lists.adiscon.com>
Cc: Singh, Radesh <radesh_si...@csx.com>
Subject: [E] Re: [rsyslog] How to view messages

what messages are you asking about? David Lang On Thu, 28 Jul 2022, Singh, Radesh 
via rsyslog wrote:⁠​ > Subject:⁠​ [rsyslog] How to view messages

what messages are you asking about?

 

David Lang

 

On Thu, 28 Jul 2022, Singh, Radesh via rsyslog wrote:

 

> Subject: [rsyslog] How to view messages
‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍This
 email transmission and any accompanying attachments may contain CSX privileged 
and confidential or business proprietary information intended only for the use 
of the intended addressee. Any
dissemination, distribution, forwarding, copying, or action taken in reliance 
on the contents of this email by anyone other than the intended recipient is 
strictly prohibited. If you have received this
email in error please immediately delete it, destroy all copies, and notify the 
sender at the above CSX email address.

_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to