logstash-input-varnishlog 3.0.0 → 3.0.1

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
  SHA1:
3
- metadata.gz: 73a6562396f031f6c3f1d582ffce0348734d6df8
4
- data.tar.gz: f2967efca58f9ef6c3cb5fa63f20e21ac59acb77
3
+ metadata.gz: 1b18f933f48e68a21f66c120fd50a4f6c49a6e61
4
+ data.tar.gz: 63e02717600e1b4dec24d0bd99b782f8b4fef93c
5
5
  SHA512:
6
- metadata.gz: c62b46283fdc4b3bb4fd4d0c66da1a7dec4f01fcdb500272a737ae702aaa95fe58653d7bcf226f9e490666814309747d7e54a231571ca4a29b5f5ce3de6de988
7
- data.tar.gz: c9c03102910e250cb1619fc66e1df6c14dc54063d2fa8f48da8a0a46701c6c724d32846392d28a34d78879ad253f428711a00a209c1f105701257085c3525f56
6
+ metadata.gz: c9427b6fb9cabeac7096e6d9ed516096e9a2b74046d26acb785b2e0981749ca47f618dc74b359529f68ac423221a94f1e3eb991480ef844744fcbc66ae46bbc9
7
+ data.tar.gz: d7e66c90d505c06520fc272caad1a2e6c6267175c08a18eee1408778bcf21fbe63ad5ff74046783f8e7f9297824e1e42de92ed43098eb8f21c8e35d2ff9d71d5
data/Gemfile CHANGED
@@ -1,2 +1,11 @@
1
1
  source 'https://rubygems.org'
2
- gemspec
2
+
3
+ gemspec
4
+
5
+ logstash_path = ENV["LOGSTASH_PATH"] || "../../logstash"
6
+ use_logstash_source = ENV["LOGSTASH_SOURCE"] && ENV["LOGSTASH_SOURCE"].to_s == "1"
7
+
8
+ if Dir.exist?(logstash_path) && use_logstash_source
9
+ gem 'logstash-core', :path => "#{logstash_path}/logstash-core"
10
+ gem 'logstash-core-plugin-api', :path => "#{logstash_path}/logstash-core-plugin-api"
11
+ end
@@ -0,0 +1,52 @@
1
+ :plugin: varnishlog
2
+ :type: input
3
+
4
+ ///////////////////////////////////////////
5
+ START - GENERATED VARIABLES, DO NOT EDIT!
6
+ ///////////////////////////////////////////
7
+ :version: %VERSION%
8
+ :release_date: %RELEASE_DATE%
9
+ :changelog_url: %CHANGELOG_URL%
10
+ :include_path: ../../../../logstash/docs/include
11
+ ///////////////////////////////////////////
12
+ END - GENERATED VARIABLES, DO NOT EDIT!
13
+ ///////////////////////////////////////////
14
+
15
+ [id="plugins-{type}-{plugin}"]
16
+
17
+ === Varnishlog input plugin
18
+
19
+ include::{include_path}/plugin_header.asciidoc[]
20
+
21
+ ==== Description
22
+
23
+ Read from varnish cache's shared memory log
24
+
25
+ [id="plugins-{type}s-{plugin}-options"]
26
+ ==== Varnishlog Input Configuration Options
27
+
28
+ This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
29
+
30
+ [cols="<,<,<",options="header",]
31
+ |=======================================================================
32
+ |Setting |Input type|Required
33
+ | <<plugins-{type}s-{plugin}-threads>> |<<number,number>>|No
34
+ |=======================================================================
35
+
36
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
37
+ input plugins.
38
+
39
+ &nbsp;
40
+
41
+ [id="plugins-{type}s-{plugin}-threads"]
42
+ ===== `threads`
43
+
44
+ * Value type is <<number,number>>
45
+ * Default value is `1`
46
+
47
+
48
+
49
+
50
+
51
+ [id="plugins-{type}s-{plugin}-common-options"]
52
+ include::{include_path}/{type}.asciidoc[]
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-varnishlog'
4
- s.version = '3.0.0'
4
+ s.version = '3.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Read from varnish cache's shared memory log"
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"
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.require_paths = ["lib"]
12
12
 
13
13
  # Files
14
- s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
14
+ s.files = Dir["lib/**/*","spec/**/*","*.gemspec","*.md","CONTRIBUTORS","Gemfile","LICENSE","NOTICE.TXT", "vendor/jar-dependencies/**/*.jar", "vendor/jar-dependencies/**/*.rb", "VERSION", "docs/**/*"]
15
15
 
16
16
  # Tests
17
17
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-varnishlog
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-10 00:00:00.000000000 Z
11
+ date: 2017-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -70,6 +70,7 @@ files:
70
70
  - LICENSE
71
71
  - NOTICE.TXT
72
72
  - README.md
73
+ - docs/index.asciidoc
73
74
  - lib/logstash/inputs/varnishlog.rb
74
75
  - logstash-input-varnishlog.gemspec
75
76
  - spec/inputs/varnishlog_spec.rb