Skip to content

Commit

Permalink
Simplify RFC5424 JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed May 29, 2020
1 parent 70445c7 commit d30f7dd
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions package/etc/conf.d/conflib/_common/templates.conf
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ template t_JSON_3164 {

template t_JSON_5424 {
template('$(format-json --scope rfc5424
--pair PRI="<$PRI>"
--key ISODATE
--key RAWMSG
--exclude DATE
--exclude FACILITY
Expand All @@ -106,14 +104,11 @@ template t_JSON_5424 {

template t_JSON_5424_SDATA {
template('$(format-json --scope rfc5424
--pair PRI="<$PRI>"
--key ISODATE
--key RAWMSG
--key MESSAGE
--exclude DATE
--exclude HOST
--exclude FACILITY
--exclude PRIORITY
--exclude MESSAGE
)');
};

Expand Down

0 comments on commit d30f7dd

Please sign in to comment.