Closed robbavey closed 6 years ago
LGTM.
It looks like something that would be useful to have everywhere. Alternately, it looks like something that may already be available elsewhere ;-)
Could be noted down as a future cleanup if that's the case, though.
@webmat Thanks for the LGTM
I looked, and we don't have anything in logstash-core AFAICT. I know Rails has symbolize_keys
, but we don't use Rails... ;)
Rob Bavey merged this into the following branches!
Branch | Commits |
---|---|
master | f97e31004838f1c354879d40ea0a2a1348952687 |
@robbavey can you do the same for the s3 output https://github.com/logstash-plugins/logstash-output-s3/blob/master/lib/logstash/outputs/s3.rb#L109 ?
AWS SDK expects symbolized hash keys, so do that.