logstash-input-acquia 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +6 -6
- data/VERSION +1 -0
- data/lib/logstash/inputs/acquia.rb +4 -5
- data/logstash-input-acquia.gemspec +1 -5
- metadata +2 -2
- data/lib/logstash/inputs/acquia/version.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c541c11c86f158df9742931c69d883ea49259bd
|
4
|
+
data.tar.gz: dddc1fd2a2ede13cd34a8ddb1b2d7fa4d82d746d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da0d0f7d7bfa94fb6df97e8971f125d40922314ea5b666b8e580bae9677ccd9a5419a9d618c878b319ccb58038a021b6968b61d0c425495922d7818edb8a51bd
|
7
|
+
data.tar.gz: 27fddfbfedea6d867581ce0feaaea97735d3445fef7df24b4a48567e60eaed1007766d362ad71a72a7f4422bcba6e3813a6058c8ce228de5911d1285b2590a79
|
data/Rakefile
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
def current_version
|
2
|
+
File.read('VERSION').strip
|
3
|
+
end
|
4
4
|
|
5
5
|
def current_gems
|
6
|
-
Dir["pkg/logstash-input-acquia
|
6
|
+
Dir["pkg/logstash-input-acquia-#{current_version}.gem"]
|
7
7
|
end
|
8
8
|
|
9
9
|
namespace :gem do
|
@@ -22,8 +22,8 @@ namespace :gem do
|
|
22
22
|
sh *%W{gem push #{gem}}
|
23
23
|
end
|
24
24
|
if File.exist? '.git'
|
25
|
-
sh *%W{git tag #{
|
26
|
-
sh *%W{git push origin tag #{
|
25
|
+
sh *%W{git tag #{current_version}}
|
26
|
+
sh *%W{git push origin tag #{current_version}}
|
27
27
|
end
|
28
28
|
end
|
29
29
|
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.5.0
|
@@ -9,6 +9,7 @@ class LogStash::Inputs::Acquia < LogStash::Inputs::Base
|
|
9
9
|
config_name 'acquia'
|
10
10
|
|
11
11
|
default :codec, 'plain'
|
12
|
+
VERSION = File.read(File.join(File.dirname(__FILE__), '../../../VERSION')).strip
|
12
13
|
|
13
14
|
config :username, :validate => :string, :required => true
|
14
15
|
config :api_key, :validate => :string, :required => true
|
@@ -37,7 +38,9 @@ class LogStash::Inputs::Acquia < LogStash::Inputs::Base
|
|
37
38
|
@streams.each do |env, stream|
|
38
39
|
stream.each_log do |log|
|
39
40
|
# p log
|
40
|
-
|
41
|
+
event = generate_event(env, log)
|
42
|
+
decorate(event)
|
43
|
+
queue << event
|
41
44
|
end
|
42
45
|
end
|
43
46
|
end
|
@@ -87,7 +90,3 @@ class LogStash::Inputs::Acquia < LogStash::Inputs::Base
|
|
87
90
|
LogStash::Event.new(log)
|
88
91
|
end
|
89
92
|
end
|
90
|
-
|
91
|
-
# Required afterwards so that the inheritance tree has already been built
|
92
|
-
# correctly.
|
93
|
-
require 'logstash/inputs/acquia/version'
|
@@ -1,10 +1,6 @@
|
|
1
|
-
$:.push File.join(File.dirname(__FILE__), 'lib')
|
2
|
-
|
3
|
-
require 'logstash/inputs/acquia/version'
|
4
|
-
|
5
1
|
Gem::Specification.new do |s|
|
6
2
|
s.name = 'logstash-input-acquia'
|
7
|
-
s.version =
|
3
|
+
s.version = File.read(File.join(File.dirname(__FILE__), 'VERSION')).strip
|
8
4
|
s.licenses = ['MIT']
|
9
5
|
s.summary = 'Logstash Input plugin that streams logs from Acquia Cloud'
|
10
6
|
s.description = 'This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-acquia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Equiem
|
@@ -97,8 +97,8 @@ files:
|
|
97
97
|
- Gemfile
|
98
98
|
- LICENSE
|
99
99
|
- Rakefile
|
100
|
+
- VERSION
|
100
101
|
- lib/logstash/inputs/acquia.rb
|
101
|
-
- lib/logstash/inputs/acquia/version.rb
|
102
102
|
- logstash-input-acquia.gemspec
|
103
103
|
homepage: http://www.elastic.co/guide/en/logstash/current/index.html
|
104
104
|
licenses:
|