The "type" event field is not set

This probably went away with commit 8b34a61. (`#to_event` deprecation)

Events generated by inputs that have the "type" option enabled in the configuration but do not set the "type" attribute explicitly in the plugin code are currently broken.

I haven't found a way to set the "type" on the event in a central location. So I guess each plugin author has to remember to set the "type" explicitly for now and all existing plugins have to be adjusted to do that.

Any other ideas?

I created a failing test case for that.