logstash-output-sentry 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/logstash/outputs/sentry.rb +3 -3
- data/logstash-output-sentry.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fbd3f132b66680c108ab7b2b7400e94bb064ce3
|
4
|
+
data.tar.gz: 3dd93276fecc4535390e30a07a85214560ad07cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3a39b6fbe6cce00f9ede05d93b2d0d1ce0d193468c0e252131b4eecc2071783b1a7d6edb929b6d3deb16eee8c2abcd00ba3cfb4cc1b7b4531a14222ccc1c409
|
7
|
+
data.tar.gz: 03eb192d705d4cefe7d1483e77960d355626898bb7921ff0440d694bd7274235a26f7825932f5e966a5ef0c70ab39e095789fe2eaf151d820ba856d7e41bed6f
|
data/CHANGELOG.md
CHANGED
@@ -124,10 +124,10 @@ class LogStash::Outputs::Sentry < LogStash::Outputs::Base
|
|
124
124
|
auth_header = "Sentry sentry_version=5," +
|
125
125
|
"sentry_client=raven_logstash/0.4.0," +
|
126
126
|
"sentry_timestamp=#{timestamp.to_i}," +
|
127
|
-
"sentry_key=#{@key}," +
|
128
|
-
"sentry_secret=#{@secret}"
|
127
|
+
"sentry_key=#{event.sprintf(@key)}," +
|
128
|
+
"sentry_secret=#{event.sprintf(@secret)}"
|
129
129
|
|
130
|
-
url = "#{@url}/#{@project_id}/store/"
|
130
|
+
url = "#{event.sprintf(@url)}/#{event.sprintf(@project_id)}/store/"
|
131
131
|
|
132
132
|
require 'http'
|
133
133
|
response = HTTP.post(url, :body => packet.to_json, :headers => {:"X-Sentry-Auth" => auth_header})
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-sentry'
|
3
|
-
s.version = '0.4.
|
3
|
+
s.version = '0.4.2'
|
4
4
|
s.licenses = ['Apache-2.0']
|
5
5
|
s.summary = 'This output plugin sends messages to any sentry server.'
|
6
6
|
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 logstash-output-sentry. This gem is not a stand-alone program.'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-sentry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Matos Odut
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-03-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: logstash-core-plugin-api
|