lib/logstash/outputs/pagerduty.rb in logstash-output-pagerduty-2.0.0 vs lib/logstash/outputs/pagerduty.rb in logstash-output-pagerduty-2.0.1
- old
+ new
@@ -46,10 +46,10 @@
end
end # def register
public
def receive(event)
- return unless output?(event)
+
pd_event = Hash.new
pd_event[:service_key] = "#{@service_key}"
pd_event[:incident_key] = event.sprintf(@incident_key)
pd_event[:event_type] = "#{@event_type}"