mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Merge branch 'master' of github.com:jordansissel/logstash
This commit is contained in:
commit
03068fcaf3
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue