emsearcy / fluent-plugin-gelf

Buffered fluentd output plugin to GELF (Graylog2)
Apache License 2.0
33 stars 57 forks source link

if incoming event already contains "additional" gelf fields, then out_gelf adds extra "_" prefix #5

Open pef-secure opened 9 years ago

pef-secure commented 9 years ago

Proposed change in line 72:

        gelfentry[k[0] == '_'? k: '_' + k] = v