-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I'm trying to use the following target Layout to get NLog to send the message verbatim, but it still wraps it in a bunch of unnecessary data... The same target Layout works fine for file logging.
_splunkTarget = new SplunkHttpEventCollector() {
ServerUrl = new Uri(SplunkURL),
Token = SplunkHecToken,
Channel = SplunkHecToken,
RetriesOnError = 1,
MaxConnectionsPerServer = 20,
Layout = "${message}"
};