Merge branch 'master' of github.com:jordansissel/logstash

This commit is contained in:
Jordan Sissel 2010-11-23 11:27:23 -08:00
commit 03068fcaf3

View file

@ -26,6 +26,7 @@ class LogStash::Outputs::Gelf < LogStash::Outputs::Base
gelf.file = event["@source_path"]
event.fields.each do |name, value|
next if value == nil or value.empty?
gelf.add_additional name, value
end
gelf.add_additional "event_timestamp", event.timestamp