logstash-input-azureblob 0.9.5 → 0.9.6
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/README.md +6 -1
- data/lib/logstash/inputs/azureblob.rb +3 -0
- data/logstash-input-azureblob.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: ca82fe07a7e04d8bc883cd0d3aaaf61b0378de20
|
4
|
+
data.tar.gz: e179b28bdf291c7e46a0028f77463fd792745e0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b01226eb88aebe200e27c319c024e43830e50aa4b18e070f50c57ee4441fa02a57bb4da18161b68e428bcce1af1606fffecbe21cc044ccf87675317b2fd11a50
|
7
|
+
data.tar.gz: 82a2dc122409af2b88d874e625912b9150c019966565024e24471fad1b2fd105ba83e30bfa4634b585aaafd607bd95ad0c5105622a383480b624d22220518d05
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Logstash input plugin for Azure
|
1
|
+
# Logstash input plugin for Azure Storage Blobs
|
2
2
|
|
3
3
|
## Summary
|
4
4
|
This plugin reads and parses data from Azure Storage Blobs.
|
@@ -24,6 +24,11 @@ __*container*__
|
|
24
24
|
|
25
25
|
The blob container name.
|
26
26
|
|
27
|
+
### Optional Parameters
|
28
|
+
__*endpoint*__
|
29
|
+
|
30
|
+
Specifies the endpoint of Azure Service Management. The default value is "core.windows.net".
|
31
|
+
|
27
32
|
### Examples
|
28
33
|
```
|
29
34
|
input
|
@@ -18,6 +18,7 @@ class LogStash::Inputs::Azureblob < LogStash::Inputs::Base
|
|
18
18
|
|
19
19
|
config :container, :validate => :string
|
20
20
|
config :sleep_time, :validate => :number, :default => 10
|
21
|
+
config :endpoint, :validate => :string, :default => "core.windows.net"
|
21
22
|
|
22
23
|
def initialize(*args)
|
23
24
|
super(*args)
|
@@ -28,6 +29,7 @@ class LogStash::Inputs::Azureblob < LogStash::Inputs::Base
|
|
28
29
|
Azure.configure do |config|
|
29
30
|
config.storage_account_name = @storage_account_name
|
30
31
|
config.storage_access_key = @storage_access_key
|
32
|
+
config.storage_blob_host = "https://#{@storage_account_name}.blob.#{@endpoint}"
|
31
33
|
end
|
32
34
|
@azure_blob = Azure::Blob::BlobService.new
|
33
35
|
end # def register
|
@@ -75,6 +77,7 @@ class LogStash::Inputs::Azureblob < LogStash::Inputs::Base
|
|
75
77
|
return if !blob_name
|
76
78
|
blob, content = @azure_blob.get_blob(@container, blob_name)
|
77
79
|
@codec.decode(content) do |event|
|
80
|
+
decorate(event)
|
78
81
|
output_queue << event
|
79
82
|
end
|
80
83
|
rescue LogStash::ShutdownSignal => e
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-input-azureblob'
|
3
|
-
s.version = '0.9.
|
3
|
+
s.version = '0.9.6'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "This plugin collects Microsoft Azure Diagnostics data from Azure Storage Blobs."
|
6
6
|
s.description = "This gem is a Logstash plugin. It reads and parses data from Azure Storage Blobs."
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-azureblob
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-core
|