From bee4bb089430afe248a09795cf2bcd7d34cfc0aa Mon Sep 17 00:00:00 2001 From: Marc-Antoine Leclercq Date: Fri, 5 Sep 2025 18:01:45 +0200 Subject: [PATCH 1/2] restoring call to decorate(event) for common options to work In 3.3.0, the call to decorate(event) was removed, meaning "common options" such as add_field and tags were no longer applied to the event. This PR restores that functionality --- lib/logstash/inputs/jms.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/logstash/inputs/jms.rb b/lib/logstash/inputs/jms.rb index 09f1a41..ffd3596 100644 --- a/lib/logstash/inputs/jms.rb +++ b/lib/logstash/inputs/jms.rb @@ -336,6 +336,7 @@ def queue_events(msg, output_queue) event end.each do |ready_event| + decorate(event) output_queue << ready_event end end From 816272549e0fc4e810de3624727cd51ab8f53276 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Leclercq Date: Mon, 8 Sep 2025 10:21:35 +0200 Subject: [PATCH 2/2] Update jms.rb --- lib/logstash/inputs/jms.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logstash/inputs/jms.rb b/lib/logstash/inputs/jms.rb index ffd3596..ecbe826 100644 --- a/lib/logstash/inputs/jms.rb +++ b/lib/logstash/inputs/jms.rb @@ -334,9 +334,9 @@ def queue_events(msg, output_queue) @properties_setter.call(event, properties) end + decorate(event) event end.each do |ready_event| - decorate(event) output_queue << ready_event end end