logstash-input-azure_blob_storage 0.12.2 → 0.12.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -1
- data/Gemfile +7 -0
- data/README.md +1 -1
- data/lib/logstash/inputs/azure_blob_storage.rb +518 -485
- data/logstash-input-azure_blob_storage.gemspec +22 -20
- data/spec/inputs/azure_blob_storage_spec.rb +10 -10
- metadata +33 -5
@@ -1,27 +1,29 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
s.name = 'logstash-input-azure_blob_storage'
|
3
|
+
s.version = '0.12.4'
|
4
|
+
s.licenses = ['Apache-2.0']
|
5
|
+
s.summary = 'This logstash plugin reads and parses data from Azure Storage Blobs.'
|
6
|
+
s.description = <<-EOF
|
7
7
|
This gem is a Logstash plugin. It reads and parses data from Azure Storage Blobs. The azure_blob_storage is a reimplementation to replace azureblob from azure-diagnostics-tools/Logstash. It can deal with larger volumes and partial file reads and eliminating a delay when rebuilding the registry. Configuration examples can be found on https://github.com/janmg/logstash-input-azure_blob_storage
|
8
8
|
EOF
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
s.homepage = 'https://github.com/janmg/logstash-input-azure_blob_storage'
|
10
|
+
s.authors = ['Jan Geertsma']
|
11
|
+
s.email = 'jan@janmg.com'
|
12
|
+
s.require_paths = ['lib']
|
13
13
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
14
|
+
# Files
|
15
|
+
s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE']
|
16
|
+
# Tests
|
17
|
+
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
18
18
|
|
19
|
-
|
20
|
-
|
19
|
+
# Special flag to let us know this is actually a logstash plugin
|
20
|
+
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "input" }
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
22
|
+
# Gem dependencies
|
23
|
+
s.add_runtime_dependency 'logstash-core-plugin-api', '~> 2.0'
|
24
|
+
s.add_runtime_dependency 'stud', '~> 0.0.23'
|
25
|
+
s.add_runtime_dependency 'azure-storage-blob', '~> 2', '>= 2.0.3'
|
26
|
+
|
27
|
+
s.add_development_dependency 'logstash-devutils'
|
28
|
+
s.add_development_dependency 'rubocop'
|
27
29
|
end
|
@@ -4,15 +4,15 @@ require "logstash/inputs/azure_blob_storage"
|
|
4
4
|
|
5
5
|
describe LogStash::Inputs::AzureBlobStorage do
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
it_behaves_like "an interruptible input plugin" do
|
8
|
+
let(:config) { { "interval" => 100 } }
|
9
|
+
end
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
11
|
+
def test_helper_methodes
|
12
|
+
assert_equal('b', AzureBlobStorage.val('a=b'))
|
13
|
+
assert_equal('whatever', AzureBlobStorage.strip_comma(',whatever'))
|
14
|
+
assert_equal('whatever', AzureBlobStorage.strip_comma('whatever,'))
|
15
|
+
assert_equal('whatever', AzureBlobStorage.strip_comma(',whatever,'))
|
16
|
+
assert_equal('whatever', AzureBlobStorage.strip_comma('whatever'))
|
17
|
+
end
|
18
18
|
end
|
metadata
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-azure_blob_storage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Geertsma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
16
|
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: '2.
|
18
|
+
version: '2.0'
|
19
19
|
name: logstash-core-plugin-api
|
20
20
|
prerelease: false
|
21
21
|
type: :runtime
|
@@ -23,7 +23,7 @@ dependencies:
|
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '2.
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
@@ -58,6 +58,34 @@ dependencies:
|
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: 2.0.3
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
requirement: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
name: logstash-devutils
|
68
|
+
prerelease: false
|
69
|
+
type: :development
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
requirement: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
name: rubocop
|
82
|
+
prerelease: false
|
83
|
+
type: :development
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
61
89
|
description: " This gem is a Logstash plugin. It reads and parses data from Azure\
|
62
90
|
\ Storage Blobs. The azure_blob_storage is a reimplementation to replace azureblob\
|
63
91
|
\ from azure-diagnostics-tools/Logstash. It can deal with larger volumes and partial\
|
@@ -98,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
126
|
- !ruby/object:Gem::Version
|
99
127
|
version: '0'
|
100
128
|
requirements: []
|
101
|
-
rubygems_version: 3.
|
129
|
+
rubygems_version: 3.2.29
|
102
130
|
signing_key:
|
103
131
|
specification_version: 4
|
104
132
|
summary: This logstash plugin reads and parses data from Azure Storage Blobs.
|