Skip to content

Commit

Permalink
Update 5424 templates to include RAWMSG
Browse files Browse the repository at this point in the history
* Update 5424 output templates to include RAWMSG.  Too confusing for most users without them, and there are some small parts of the message that are excluded (such as colons) that are needed to reassemble the raw message with the constituent macros.
  • Loading branch information
Mark Bonsack committed May 7, 2020
1 parent 9085ed4 commit dc15a9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/etc/conf.d/conflib/_common/templates.conf
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ template t_JSON_5424 {
template('$(format-json --scope rfc5424
--pair PRI="<$PRI>"
--key ISODATE
--key RAWMSG
--exclude DATE
--exclude FACILITY
--exclude PRIORITY
Expand All @@ -95,6 +96,7 @@ template t_JSON_5424_SDATA {
template('$(format-json --scope rfc5424
--pair PRI="<$PRI>"
--key ISODATE
--key RAWMSG
--exclude DATE
--exclude HOST
--exclude FACILITY
Expand Down

0 comments on commit dc15a9f

Please sign in to comment.