diff --git a/lib/logstasher/action_view/log_subscriber.rb b/lib/logstasher/action_view/log_subscriber.rb index dc8d215..4e73c7a 100644 --- a/lib/logstasher/action_view/log_subscriber.rb +++ b/lib/logstasher/action_view/log_subscriber.rb @@ -62,7 +62,6 @@ def runtimes(event) def extract_custom_fields(data) custom_fields = (!LogStasher.custom_fields.empty? && data.extract!(*LogStasher.custom_fields)) || {} - LogStasher.custom_fields.clear custom_fields end end