Skip to content

Commit

Permalink
Merge pull request #420 from splunk/destination/rawmsg
Browse files Browse the repository at this point in the history
Add file destination for raw message collection
  • Loading branch information
Ryan Faircloth authored and GitHub committed Apr 18, 2020
2 parents 888c2d8 + 8298f0f commit f7e143f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package/etc/conf.d/destinations/rawmsg_file.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
destination d_rawmsg {
file("/opt/syslog-ng/var/archive/rawmsg/${.splunk.sourcetype}/${HOST}/$YEAR-$MONTH-$DAY-message.log"
template("${RAWMSG}\n")
);
};

0 comments on commit f7e143f

Please sign in to comment.