logstash-output-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: 98393c9c118bf10d4cb8b2d6a0294aa4a6306c6a
4
- data.tar.gz: 7f8258207321abc71f55787326015f69dabfbad2
3
+ metadata.gz: 5ff3b0035a3beeb96bb9598b6e7e83d387c72214
4
+ data.tar.gz: a21c315f9ded6b1158898053e6e31ce11f371bba
5
5
  SHA512:
6
- metadata.gz: e4f3192a2ab0122a1b590ec7a07b8be7a4b593e48b6d5b9496bbf9e97e6d7383fc5219d0e3073fc539ef054c477ff412c7b67230ecd179805941db8160d04068
7
- data.tar.gz: 641e5a8ea930a3e4f7464422d5f34df4b09bba58ec83b740b83c6cf6e16ab5dee2a175b0ce2bd0a42de17a4fda9d83b978fa5bfcd910bfd22b9ebf179dd3ecbd
6
+ metadata.gz: aeba7360a100302b78d661855eace9a81cb8f238bed3f6a82e4bd91d4b3af90e4110518dec0cb016b70c4a19bc9209ca536739cc443500899836bfe9162afa49
7
+ data.tar.gz: cb9836ba0407bfec6aff2beb4456bcb83b672b9106716b23f31ebe07e2bae5bd0932915d55248a7f8fb15de674bb473f4412ebf91f7a9f5eeb8d4cd0e482002d
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%20Outputs/job/logstash-plugin-output-gemfire-unit/badge/icon)](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Outputs/job/logstash-plugin-output-gemfire-unit/)
3
+ [![Travis Build Status](https://travis-ci.org/logstash-plugins/logstash-output-gemfire.svg)](https://travis-ci.org/logstash-plugins/logstash-output-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,100 @@
1
+ :plugin: gemfire
2
+ :type: output
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 output 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.
29
+
30
+ Note: this plugin has only been tested with GemFire 7.0.
31
+
32
+
33
+ [id="plugins-{type}s-{plugin}-options"]
34
+ ==== Gemfire Output Configuration Options
35
+
36
+ This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
37
+
38
+ [cols="<,<,<",options="header",]
39
+ |=======================================================================
40
+ |Setting |Input type|Required
41
+ | <<plugins-{type}s-{plugin}-cache_name>> |<<string,string>>|No
42
+ | <<plugins-{type}s-{plugin}-cache_xml_file>> |<<string,string>>|No
43
+ | <<plugins-{type}s-{plugin}-key_format>> |<<string,string>>|No
44
+ | <<plugins-{type}s-{plugin}-region_name>> |<<string,string>>|No
45
+ |=======================================================================
46
+
47
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
48
+ output plugins.
49
+
50
+ &nbsp;
51
+
52
+ [id="plugins-{type}s-{plugin}-cache_name"]
53
+ ===== `cache_name`
54
+
55
+ * Value type is <<string,string>>
56
+ * Default value is `"logstash"`
57
+
58
+ Your client cache name
59
+
60
+ [id="plugins-{type}s-{plugin}-cache_xml_file"]
61
+ ===== `cache_xml_file`
62
+
63
+ * Value type is <<string,string>>
64
+ * Default value is `nil`
65
+
66
+ The path to a GemFire client cache XML file.
67
+
68
+ Example:
69
+ [source,xml]
70
+ <client-cache>
71
+ <pool name="client-pool">
72
+ <locator host="localhost" port="31331"/>
73
+ </pool>
74
+ <region name="Logstash">
75
+ <region-attributes refid="CACHING_PROXY" pool-name="client-pool" >
76
+ </region-attributes>
77
+ </region>
78
+ </client-cache>
79
+
80
+
81
+ [id="plugins-{type}s-{plugin}-key_format"]
82
+ ===== `key_format`
83
+
84
+ * Value type is <<string,string>>
85
+ * Default value is `"%{host}-%{@timestamp}"`
86
+
87
+ A sprintf format to use when building keys
88
+
89
+ [id="plugins-{type}s-{plugin}-region_name"]
90
+ ===== `region_name`
91
+
92
+ * Value type is <<string,string>>
93
+ * Default value is `"Logstash"`
94
+
95
+ The region name
96
+
97
+
98
+
99
+ [id="plugins-{type}s-{plugin}-common-options"]
100
+ include::{include_path}/{type}.asciidoc[]
@@ -1,17 +1,17 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-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 = "$summary"
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-output-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,6 +64,7 @@ files:
64
64
  - LICENSE
65
65
  - NOTICE.TXT
66
66
  - README.md
67
+ - docs/index.asciidoc
67
68
  - lib/logstash/outputs/gemfire.rb
68
69
  - logstash-output-gemfire.gemspec
69
70
  - spec/outputs/gemfire_spec.rb