Open kongslund opened 7 years ago
When receiving a GELF event with an empty short_message and no full_message then it does not get remapped as expected. This is a consequence of PR #18 by @ggtools.
short_message
full_message
Removing the && !event.get("short_message").empty?-part would fix it.
&& !event.get("short_message").empty?
input { gelf { port => 12201 type => "gelf" } } output { stdout { codec => rubydebug } }
{ "version": "1.1", "host": "example.org", "short_message": "", "timestamp": 1385053862.3072, "level": 1, "_user_id": 9001, "_some_info": "foo", "_some_env_var": "bar" }
message
When receiving a GELF event with an empty
short_message
and nofull_message
then it does not get remapped as expected. This is a consequence of PR #18 by @ggtools.Removing the
&& !event.get("short_message").empty?
-part would fix it.short_message
instead ofmessage
.