logstash-output-pagerduty 3.0.8 → 3.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 737a0202d31d9a4b900722467b115b6744cae001d3c6a1a4598fa18f10848b85
4
- data.tar.gz: 153b39a8a5c3a29bca4476a6861beeb3586ad7c9762b08d27e71667fca46118d
3
+ metadata.gz: 2994f328c3f9494e57d6ba4494ad6b47649f9db02a97ba45eea9a89f6dee6728
4
+ data.tar.gz: 53ae5d4a10fa94906861ba7f99206023661ead81f6568635623e0568b4dfb4c8
5
5
  SHA512:
6
- metadata.gz: 9d4e78ef1599564a50899bbc34ea1938002f042f87c89ad216e89bfa834a2f5216583803b57c3185f98b5a1d2e0be4c95da578ae532d708543645a96b8d8f280
7
- data.tar.gz: 4b0bab7ea18605a1b576f0f7e883417837951ef3a22b941277c4d9d4dc1f24c2f64aae1fcf43f0a2c3e502536fbbb8c7da6b90463e09407fabd140944037bbd4
6
+ metadata.gz: 3ad1a9e23caa19e58eecb7369279592426d08c1a0ba074d268a35fe21390acad94a1d40bf32fb116dbcba9e40a23e42946457e51fe68c98d17fa574790adfeef
7
+ data.tar.gz: 835c41c68dac5416f1896da62fdffd5eda5f8caeaba31a5ba7ee83b8d6cddd0b00620b44d61ff8ca020e683f832c002eebcb58222094253295883e16ac3fc1c2
@@ -1,3 +1,6 @@
1
+ ## 3.0.9
2
+ - Changed `service_key` to allow dynamic values [#16](https://github.com/logstash-plugins/logstash-output-pagerduty/pull/16)
3
+
1
4
  ## 3.0.8
2
5
  - Update _development_ dependency webmock to latest version to prevent conflicts in logstash core's dependency matrix.
3
6
 
@@ -51,7 +51,7 @@ class LogStash::Outputs::PagerDuty < LogStash::Outputs::Base
51
51
 
52
52
 
53
53
  pd_event = Hash.new
54
- pd_event[:service_key] = "#{@service_key}"
54
+ pd_event[:service_key] = event.sprintf(@service_key)
55
55
  pd_event[:incident_key] = event.sprintf(@incident_key)
56
56
  pd_event[:event_type] = "#{@event_type}"
57
57
  pd_event[:description] = event.sprintf(@description)
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-pagerduty'
4
- s.version = '3.0.8'
4
+ s.version = '3.0.9'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Sends notifications based on preconfigured services and escalation policies"
7
7
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-pagerduty
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.8
4
+ version: 3.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-05 00:00:00.000000000 Z
11
+ date: 2020-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement