Re: [rsyslog] Any good guides for generating JSON formatted log messages on rsyslog client nodes for processing on rsyslog receiver node?

2017-09-19 Thread David Lang
On Mon, 18 Sep 2017, rsyslog-users-lists.adiscon@whyaskwhy.org wrote: On 9/18/2017 12:02 PM, David Lang wrote: to send in JSON you need to create a custom template I use something like (typed from memory, may be errors) $template structured,"<%pri%>%timestamp% %hostname% %syslogtag% %$!%\n

Re: [rsyslog] Any good guides for generating JSON formatted log messages on rsyslog client nodes for processing on rsyslog receiver node?

2017-09-18 Thread rsyslog-users-lists . adiscon . net
On 9/18/2017 12:02 PM, David Lang wrote: to send in JSON you need to create a custom template I use something like (typed from memory, may be errors) $template structured,"<%pri%>%timestamp% %hostname% %syslogtag% %$!%\n" Thanks for that. I found many examples where the templates were defined

Re: [rsyslog] Any good guides for generating JSON formatted log messages on rsyslog client nodes for processing on rsyslog receiver node?

2017-09-18 Thread David Lang
guides for generating JSON formatted log messages on rsyslog client nodes for processing on rsyslog receiver node? Most of what I'm coming across is geared towards sending into another product like mongodb or elasticsearch. I'm really new to this aspect, so the more newbie friendly

[rsyslog] Any good guides for generating JSON formatted log messages on rsyslog client nodes for processing on rsyslog receiver node?

2017-09-18 Thread deoren
Most of what I'm coming across is geared towards sending into another product like mongodb or elasticsearch. I'm really new to this aspect, so the more newbie friendly the better. In particular, I'd like to find a barebones template for replicating forwarding of content using RSYSLOG_ForwardFo