From a1ce2ef18a226145c3962d060f8619f0136e3169 Mon Sep 17 00:00:00 2001 From: mportermahoney Date: Wed, 8 Jul 2015 17:57:05 -0400 Subject: [PATCH] do not remove timestamp from the message, this is a default field for the gelf format and should be there --- lib/logstash/inputs/gelf.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/logstash/inputs/gelf.rb b/lib/logstash/inputs/gelf.rb index 17b56c9..49f6e5e 100644 --- a/lib/logstash/inputs/gelf.rb +++ b/lib/logstash/inputs/gelf.rb @@ -111,7 +111,6 @@ def udp_listener(output_queue) event["source_host"] = client[3] if event["timestamp"].is_a?(Numeric) event.timestamp = LogStash::Timestamp.at(event["timestamp"]) - event.remove("timestamp") end remap_gelf(event) if @remap strip_leading_underscore(event) if @strip_leading_underscore