Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed parsing issue.

  • Loading branch information...
commit 0f505ac7a32b48bcbdf8d8d19330b8982d5a9b79 1 parent eb169b6
Lucas Hansen authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/logstash/inputs/syslog5424.rb
View
4 lib/logstash/inputs/syslog5424.rb
@@ -223,7 +223,9 @@ def process_structured(event)
items.each do |kv|
key, value = kv.split('="', 2)
- event.fields["sd_#{name}_#{key || "nokey"}"] = value.chomp! || "novalue"
+ value.chomp!('"')
+
+ event.fields["sd_#{name}_#{key || "nokey"}"] = value || "novalue"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.