You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I ran into a problem when I need to delivery logs to a Splunk Cloud instance.
The configuration of this Splunk instance is out of my reach, and by default it uses windows style line endings "\r\n" to separate each item.
Current version of encoders have the line endings hardcoded to \n. My proposal is to allow configuring the line endings adding a LineSeparator string property the zapcore.EncoderConfig and using that to append in the encoders to the end of the generated log line.
The text was updated successfully, but these errors were encountered:
So I ran into a problem when I need to delivery logs to a Splunk Cloud instance.
The configuration of this Splunk instance is out of my reach, and by default it uses windows style line endings "\r\n" to separate each item.
Current version of encoders have the line endings hardcoded to \n. My proposal is to allow configuring the line endings adding a LineSeparator string property the zapcore.EncoderConfig and using that to append in the encoders to the end of the generated log line.
The text was updated successfully, but these errors were encountered: