logstash-input-gemfire 2.0.4 → 2.0.5

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: 48c151c6371f23da57c2a758648e296380b3149a
4
- data.tar.gz: bdea2b6bc0ddc86f50d5808caf8afff03a74e8fa
3
+ metadata.gz: 73951d7d519db2cf8fbf8eae85b241c23e534e9d
4
+ data.tar.gz: a150708557f26960bb80af3da6568ddf37fd177f
5
5
  SHA512:
6
- metadata.gz: c85b88a144e4b61e7ccdeba892d10ffd51eba4794435f47802ec771496f5a80bdfef722105700cdb4d9396bb08386b3359c888087dd4463c28719a2317c9c4c4
7
- data.tar.gz: 1690dfa6f0a5f99137c56ae4f82099a33895e7e3dd761fc9bf1f780b7717c7c6941a8017654fa75864ea10fcf3bc29799080f54b30252dd1185ee1738b8837fd
6
+ metadata.gz: 33750b011f150babf9e5203cb5f814172646b7c07bdad1baa2a322b87848f24291019ee1ed9fdf5de7f2918fc7185f7c53cbac0e1bc468392e42e30121c99f10
7
+ data.tar.gz: 955c624a6de8f3f7b1fbb1fd5e08ee3fd315e42232b038558a6d9359cabf8e9be6594c96b30fae423ad680dbc75b292581adeb1e69250af003fe51ecabc7c13a
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
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012–2015 Elasticsearch <http://www.elastic.co>
1
+ Copyright (c) 2012–2016 Elasticsearch <http://www.elastic.co>
2
2
 
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # Logstash Plugin
2
2
 
3
- [![Build
4
- Status](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Inputs/job/logstash-plugin-input-gemfire-unit/badge/icon)](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Inputs/job/logstash-plugin-input-gemfire-unit/)
3
+ [![Travis Build Status](https://travis-ci.org/logstash-plugins/logstash-input-gemfire.svg)](https://travis-ci.org/logstash-plugins/logstash-input-gemfire)
5
4
 
6
5
  This is a plugin for [Logstash](https://github.com/elastic/logstash).
7
6
 
@@ -56,7 +55,12 @@ gem "logstash-filter-awesome", :path => "/your/local/logstash-filter-awesome"
56
55
  ```
57
56
  - Install plugin
58
57
  ```sh
58
+ # Logstash 2.3 and higher
59
+ bin/logstash-plugin install --no-verify
60
+
61
+ # Prior to Logstash 2.3
59
62
  bin/plugin install --no-verify
63
+
60
64
  ```
61
65
  - Run Logstash with your plugin
62
66
  ```sh
@@ -74,7 +78,12 @@ gem build logstash-filter-awesome.gemspec
74
78
  ```
75
79
  - Install the plugin from the Logstash home
76
80
  ```sh
77
- bin/plugin install /your/local/plugin/logstash-filter-awesome.gem
81
+ # Logstash 2.3 and higher
82
+ bin/logstash-plugin install --no-verify
83
+
84
+ # Prior to Logstash 2.3
85
+ bin/plugin install --no-verify
86
+
78
87
  ```
79
88
  - Start Logstash and proceed to test the plugin
80
89
 
@@ -0,0 +1,132 @@
1
+ :plugin: gemfire
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
+ === Gemfire input plugin
18
+
19
+ include::{include_path}/plugin_header.asciidoc[]
20
+
21
+ ==== Description
22
+
23
+ Push events to a GemFire region.
24
+
25
+ GemFire is an object database.
26
+
27
+ To use this plugin you need to add gemfire.jar to your CLASSPATH.
28
+ Using format=json requires jackson.jar too; use of continuous
29
+ queries requires antlr.jar.
30
+
31
+ Note: this plugin has only been tested with GemFire 7.0.
32
+
33
+
34
+ [id="plugins-{type}s-{plugin}-options"]
35
+ ==== Gemfire Input Configuration Options
36
+
37
+ This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
38
+
39
+ [cols="<,<,<",options="header",]
40
+ |=======================================================================
41
+ |Setting |Input type|Required
42
+ | <<plugins-{type}s-{plugin}-cache_name>> |<<string,string>>|No
43
+ | <<plugins-{type}s-{plugin}-cache_xml_file>> |<<string,string>>|No
44
+ | <<plugins-{type}s-{plugin}-interest_regexp>> |<<string,string>>|No
45
+ | <<plugins-{type}s-{plugin}-query>> |<<string,string>>|No
46
+ | <<plugins-{type}s-{plugin}-region_name>> |<<string,string>>|No
47
+ | <<plugins-{type}s-{plugin}-serialization>> |<<string,string>>|No
48
+ | <<plugins-{type}s-{plugin}-threads>> |<<number,number>>|No
49
+ |=======================================================================
50
+
51
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
52
+ input plugins.
53
+
54
+ &nbsp;
55
+
56
+ [id="plugins-{type}s-{plugin}-cache_name"]
57
+ ===== `cache_name`
58
+
59
+ * Value type is <<string,string>>
60
+ * Default value is `"logstash"`
61
+
62
+ Your client cache name
63
+
64
+ [id="plugins-{type}s-{plugin}-cache_xml_file"]
65
+ ===== `cache_xml_file`
66
+
67
+ * Value type is <<string,string>>
68
+ * Default value is `nil`
69
+
70
+ The path to a GemFire client cache XML file.
71
+
72
+ Example:
73
+
74
+ <client-cache>
75
+ <pool name="client-pool" subscription-enabled="true" subscription-redundancy="1">
76
+ <locator host="localhost" port="31331"/>
77
+ </pool>
78
+ <region name="Logstash">
79
+ <region-attributes refid="CACHING_PROXY" pool-name="client-pool" >
80
+ </region-attributes>
81
+ </region>
82
+ </client-cache>
83
+
84
+
85
+ [id="plugins-{type}s-{plugin}-interest_regexp"]
86
+ ===== `interest_regexp`
87
+
88
+ * Value type is <<string,string>>
89
+ * Default value is `".*"`
90
+
91
+ A regexp to use when registering interest for cache events.
92
+ Ignored if a :query is specified.
93
+
94
+ [id="plugins-{type}s-{plugin}-query"]
95
+ ===== `query`
96
+
97
+ * Value type is <<string,string>>
98
+ * Default value is `nil`
99
+
100
+ A query to run as a GemFire "continuous query"; if specified it takes
101
+ precedence over :interest_regexp which will be ignore.
102
+
103
+ Important: use of continuous queries requires subscriptions to be enabled on the client pool.
104
+
105
+ [id="plugins-{type}s-{plugin}-region_name"]
106
+ ===== `region_name`
107
+
108
+ * Value type is <<string,string>>
109
+ * Default value is `"Logstash"`
110
+
111
+ The region name
112
+
113
+ [id="plugins-{type}s-{plugin}-serialization"]
114
+ ===== `serialization`
115
+
116
+ * Value type is <<string,string>>
117
+ * Default value is `nil`
118
+
119
+ How the message is serialized in the cache. Can be one of "json" or "plain"; default is plain
120
+
121
+ [id="plugins-{type}s-{plugin}-threads"]
122
+ ===== `threads`
123
+
124
+ * Value type is <<number,number>>
125
+ * Default value is `1`
126
+
127
+
128
+
129
+
130
+
131
+ [id="plugins-{type}s-{plugin}-common-options"]
132
+ include::{include_path}/{type}.asciidoc[]
File without changes
@@ -1,17 +1,17 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-gemfire'
4
- s.version = '2.0.4'
4
+ s.version = '2.0.5'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Push events to a GemFire region."
7
- 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"
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"
8
8
  s.authors = ["Elastic"]
9
9
  s.email = 'info@elastic.co'
10
10
  s.homepage = "http://www.elastic.co/guide/en/logstash/current/index.html"
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-gemfire
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-24 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
@@ -52,7 +52,7 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- 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
55
+ 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
56
56
  email: info@elastic.co
57
57
  executables: []
58
58
  extensions: []
@@ -64,7 +64,8 @@ files:
64
64
  - LICENSE
65
65
  - NOTICE.TXT
66
66
  - README.md
67
- - lib/inputs/gemfire.rb
67
+ - docs/index.asciidoc
68
+ - lib/logstash/inputs/gemfire.rb
68
69
  - logstash-input-gemfire.gemspec
69
70
  - spec/inputs/gemfire_spec.rb
70
71
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html