logstash-output-ganglia 3.0.2 → 3.0.3

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: 5fb65909b0aac8c01b3097c282994d163c54365d
4
- data.tar.gz: e7fd27c11a481a30e9db870f0e7d37c7b375c040
3
+ metadata.gz: f428387273983621408f3b31fa82e6c2901120a0
4
+ data.tar.gz: c7ff6818f8cac51aa3e3f9bfcf10e2c5e08e2b7b
5
5
  SHA512:
6
- metadata.gz: 461f229165f84435d3b500f8dc020513db8f67eb67a64baf73a4c878047ea390b15a7f55a22957dc88b0b4841c8ff6e67f8d7c6f269cb32bef2aeabac0675b96
7
- data.tar.gz: 5d1888b5a271aec545c24e5533a7d4c400a1570b55ddee22b1a39f32db6be1f6a6b9e551a043c26503e9d5151a36b93a9d364c6ab91700825004fa2846d33e9e
6
+ metadata.gz: 4b0cf13946ac1ccb6845bd8c5384bef34e1a7958e4d91345f84d1f372dd0a2d98fd2438a3e5f52787c00897ea0f6f7a380c838a13d3e6484cf582ba9cfabedf6
7
+ data.tar.gz: 4fee25ea508ffe796fead336ff8f44d3b6896d6ced8d0f84fd57b55289afe2346c5fd1f28fc264cf33c52ec9e4e117d0c6039c772c7b9bc055dcd27528fd5e9e
data/Gemfile CHANGED
@@ -1,4 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in logstash-mass_effect.gemspec
4
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,139 @@
1
+ :plugin: ganglia
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
+ === Ganglia output plugin
18
+
19
+ include::{include_path}/plugin_header.asciidoc[]
20
+
21
+ ==== Description
22
+
23
+ This output allows you to pull metrics from your logs and ship them to
24
+ ganglia's gmond. This is heavily based on the graphite output.
25
+
26
+ [id="plugins-{type}s-{plugin}-options"]
27
+ ==== Ganglia Output Configuration Options
28
+
29
+ This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
30
+
31
+ [cols="<,<,<",options="header",]
32
+ |=======================================================================
33
+ |Setting |Input type|Required
34
+ | <<plugins-{type}s-{plugin}-group>> |<<string,string>>|No
35
+ | <<plugins-{type}s-{plugin}-host>> |<<string,string>>|No
36
+ | <<plugins-{type}s-{plugin}-lifetime>> |<<number,number>>|No
37
+ | <<plugins-{type}s-{plugin}-max_interval>> |<<number,number>>|No
38
+ | <<plugins-{type}s-{plugin}-metric>> |<<string,string>>|Yes
39
+ | <<plugins-{type}s-{plugin}-metric_type>> |<<string,string>>, one of `["string", "int8", "uint8", "int16", "uint16", "int32", "uint32", "float", "double"]`|No
40
+ | <<plugins-{type}s-{plugin}-port>> |<<number,number>>|No
41
+ | <<plugins-{type}s-{plugin}-slope>> |<<string,string>>, one of `["zero", "positive", "negative", "both", "unspecified"]`|No
42
+ | <<plugins-{type}s-{plugin}-units>> |<<string,string>>|No
43
+ | <<plugins-{type}s-{plugin}-value>> |<<string,string>>|Yes
44
+ |=======================================================================
45
+
46
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
47
+ output plugins.
48
+
49
+ &nbsp;
50
+
51
+ [id="plugins-{type}s-{plugin}-group"]
52
+ ===== `group`
53
+
54
+ * Value type is <<string,string>>
55
+ * Default value is `""`
56
+
57
+ Metric group
58
+
59
+ [id="plugins-{type}s-{plugin}-host"]
60
+ ===== `host`
61
+
62
+ * Value type is <<string,string>>
63
+ * Default value is `"localhost"`
64
+
65
+ The address of the ganglia server.
66
+
67
+ [id="plugins-{type}s-{plugin}-lifetime"]
68
+ ===== `lifetime`
69
+
70
+ * Value type is <<number,number>>
71
+ * Default value is `300`
72
+
73
+ Lifetime in seconds of this metric
74
+
75
+ [id="plugins-{type}s-{plugin}-max_interval"]
76
+ ===== `max_interval`
77
+
78
+ * Value type is <<number,number>>
79
+ * Default value is `60`
80
+
81
+ Maximum time in seconds between gmetric calls for this metric.
82
+
83
+ [id="plugins-{type}s-{plugin}-metric"]
84
+ ===== `metric`
85
+
86
+ * This is a required setting.
87
+ * Value type is <<string,string>>
88
+ * There is no default value for this setting.
89
+
90
+ The metric to use. This supports dynamic strings like `%{host}`
91
+
92
+ [id="plugins-{type}s-{plugin}-metric_type"]
93
+ ===== `metric_type`
94
+
95
+ * Value can be any of: `string`, `int8`, `uint8`, `int16`, `uint16`, `int32`, `uint32`, `float`, `double`
96
+ * Default value is `"uint8"`
97
+
98
+ The type of value for this metric.
99
+
100
+ [id="plugins-{type}s-{plugin}-port"]
101
+ ===== `port`
102
+
103
+ * Value type is <<number,number>>
104
+ * Default value is `8649`
105
+
106
+ The port to connect on your ganglia server.
107
+
108
+ [id="plugins-{type}s-{plugin}-slope"]
109
+ ===== `slope`
110
+
111
+ * Value can be any of: `zero`, `positive`, `negative`, `both`, `unspecified`
112
+ * Default value is `"both"`
113
+
114
+ Metric slope, represents metric behavior
115
+
116
+ [id="plugins-{type}s-{plugin}-units"]
117
+ ===== `units`
118
+
119
+ * Value type is <<string,string>>
120
+ * Default value is `""`
121
+
122
+ Gmetric units for metric, such as "kb/sec" or "ms" or whatever unit
123
+ this metric uses.
124
+
125
+ [id="plugins-{type}s-{plugin}-value"]
126
+ ===== `value`
127
+
128
+ * This is a required setting.
129
+ * Value type is <<string,string>>
130
+ * There is no default value for this setting.
131
+
132
+ The value to use. This supports dynamic strings like `%{bytes}`
133
+ It will be coerced to a floating point value. Values which cannot be
134
+ coerced will zero (0)
135
+
136
+
137
+
138
+ [id="plugins-{type}s-{plugin}-common-options"]
139
+ include::{include_path}/{type}.asciidoc[]
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-ganglia'
4
- s.version = '3.0.2'
4
+ s.version = '3.0.3'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "This output allows you to pull metrics from your logs and ship them to ganglia's gmond."
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-output-ganglia
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-14 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
@@ -84,6 +84,7 @@ files:
84
84
  - LICENSE
85
85
  - NOTICE.TXT
86
86
  - README.md
87
+ - docs/index.asciidoc
87
88
  - lib/logstash/outputs/ganglia.rb
88
89
  - logstash-output-ganglia.gemspec
89
90
  - spec/outputs/ganglia_spec.rb
@@ -110,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
111
  version: '0'
111
112
  requirements: []
112
113
  rubyforge_project:
113
- rubygems_version: 2.6.3
114
+ rubygems_version: 2.4.8
114
115
  signing_key:
115
116
  specification_version: 4
116
117
  summary: This output allows you to pull metrics from your logs and ship them to ganglia's gmond.