logstash-output-opentsdb 3.1.1 → 3.1.2

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: 0c8d2f23ba83449884974232a496a2039090fc94
4
- data.tar.gz: 4f6f5b492ed2348cfbda1ed6246f2ad59f307330
3
+ metadata.gz: ccf690fcc77578b11715ee61f0fa0e7ad9550cb8
4
+ data.tar.gz: a62136694de7da1787c3206336615d283c731e38
5
5
  SHA512:
6
- metadata.gz: 53ece1c4ca49bc460bf9f07d6e6e1cb96cec17a294cfa2af9ad6e2b73e9091d6d004f883f6fc99aed3ffaf3f8c6faf8efe4102c875082e0e2d759023cd1606ad
7
- data.tar.gz: 323a971979077bfc8393ac7979184e6afede8832e0df729de3bde872170cc79bdd1d0164121562a73825444515e3afb79879778f30727b0293f554f79d8aaf86
6
+ metadata.gz: 988c489a64f9bd95278c88e8e33080f790cd5050a13004176a68ec53e38074ce58724253f1e6366fb0e8c1a9195c1c6c414869796949d62e77feb1cb3fe729f6
7
+ data.tar.gz: 692c8f58594eb999f9ce6fdda6b6975aa8a9aa95db0dc9ca8925b677e2c71c7fc445314198d3d879382077915a7d783a394c56036e10b8be628b3b479aefc5d1
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,87 @@
1
+ :plugin: opentsdb
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
+ === Opentsdb 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
+ opentsdb. Opentsdb is an open source tool for storing and graphing metrics.
25
+
26
+
27
+ [id="plugins-{type}s-{plugin}-options"]
28
+ ==== Opentsdb Output Configuration Options
29
+
30
+ This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
31
+
32
+ [cols="<,<,<",options="header",]
33
+ |=======================================================================
34
+ |Setting |Input type|Required
35
+ | <<plugins-{type}s-{plugin}-host>> |<<string,string>>|No
36
+ | <<plugins-{type}s-{plugin}-metrics>> |<<array,array>>|Yes
37
+ | <<plugins-{type}s-{plugin}-port>> |<<number,number>>|No
38
+ |=======================================================================
39
+
40
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
41
+ output plugins.
42
+
43
+ &nbsp;
44
+
45
+ [id="plugins-{type}s-{plugin}-host"]
46
+ ===== `host`
47
+
48
+ * Value type is <<string,string>>
49
+ * Default value is `"localhost"`
50
+
51
+ The address of the opentsdb server.
52
+
53
+ [id="plugins-{type}s-{plugin}-metrics"]
54
+ ===== `metrics`
55
+
56
+ * This is a required setting.
57
+ * Value type is <<array,array>>
58
+ * There is no default value for this setting.
59
+
60
+ The metric(s) to use. This supports dynamic strings like %{source_host}
61
+ for metric names and also for values. This is an array field with key
62
+ of the metric name, value of the metric value, and multiple tag,values . Example:
63
+ [source,ruby]
64
+ [
65
+ "%{host}/uptime",
66
+ %{uptime_1m} " ,
67
+ "hostname" ,
68
+ "%{host}
69
+ "anotherhostname" ,
70
+ "%{host}
71
+ ]
72
+
73
+ The value will be coerced to a floating point value. Values which cannot be
74
+ coerced will zero (0)
75
+
76
+ [id="plugins-{type}s-{plugin}-port"]
77
+ ===== `port`
78
+
79
+ * Value type is <<number,number>>
80
+ * Default value is `4242`
81
+
82
+ The port to connect on your graphite server.
83
+
84
+
85
+
86
+ [id="plugins-{type}s-{plugin}-common-options"]
87
+ include::{include_path}/{type}.asciidoc[]
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-opentsdb'
4
- s.version = '3.1.1'
4
+ s.version = '3.1.2'
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 opentsdb"
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-opentsdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
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
@@ -56,6 +56,7 @@ files:
56
56
  - LICENSE
57
57
  - NOTICE.TXT
58
58
  - README.md
59
+ - docs/index.asciidoc
59
60
  - lib/logstash/outputs/opentsdb.rb
60
61
  - logstash-output-opentsdb.gemspec
61
62
  - spec/outputs/opentsdb_spec.rb
@@ -81,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
82
  version: '0'
82
83
  requirements: []
83
84
  rubyforge_project:
84
- rubygems_version: 2.6.3
85
+ rubygems_version: 2.4.8
85
86
  signing_key:
86
87
  specification_version: 4
87
88
  summary: This output allows you to pull metrics from your logs and ship them to opentsdb