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
decorate is handling the add_field/add_tag and with #2390 it could use sprintf syntax and already manipulate event fields set by the input plugin, so it should be enforced that decorate() is called after the event is filled by the specific input.
The idea would be to DRY this into inputs/base.rb, it would avoid plugin implementor to forget or misplace the call to decorate()
Thoughts ?
Here is the list of inputs not complying with the proposed rule
exec
file
ganglia
generator
heroku
irc
kafka
log4j
lumberjack
relp
s3
snmptrap
sqlite
sqs
stdin
syslog
udp
unix
varnishlog
wmi
xmpp
zenoss
The text was updated successfully, but these errors were encountered:
that said we're planning some changes on the pipeline and queue persistence which will likely change this behaviour. So until then let's keep this open but table this.
Currently all input plugins contains more or less the following lines
decorate is handling the add_field/add_tag and with #2390 it could use sprintf syntax and already manipulate event fields set by the input plugin, so it should be enforced that decorate() is called after the event is filled by the specific input.
The idea would be to DRY this into inputs/base.rb, it would avoid plugin implementor to forget or misplace the call to decorate()
Thoughts ?
Here is the list of inputs not complying with the proposed rule
The text was updated successfully, but these errors were encountered: