Closed jxstanford closed 8 years ago
Thanks for your contribution. In addition to the inline comment I made, you'll want to update the documentation (see esjson.rst and eslogstashv0.rst files in the docs/source/config/encoders folder) and add an entry to the CHANGES.txt changelog.
@rafrombrc no problem. really excited about working with Heka. all comments addressed...
Great, thanks!
This PR adds a new
replace_dots_with
parameter toESJsonEncoder
andESLogstashV0Encoder
. The parameter value is a string that will be substituted for all.
characters in all keys of the unmarshalled JSON value found in the message Payload. Tests have been updated accordingly.Here is an example encoder config:
Closes: #1946